Netbeans 7.01 not open after loading modules in ubuntu 12.04

Bug #936129 reported by Javier Lago Iñiguez
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
netbeans (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Log:
-------------------------------------------------------------------------------
>Log Session: Sunday, February 19, 2012 12:39:04 PM CET
>System Info:
  Product Version = NetBeans IDE 7.0.1 (Build 20111205-unknown-revn)
  Operating System = Linux version 3.2.5 running on amd64
  Java; VM; Vendor = 1.6.0_24; OpenJDK 64-Bit Server VM 20.0-b12; Sun Microsystems Inc.
  Runtime = OpenJDK Runtime Environment 1.6.0_24-b24
  Java Home = /usr/lib/jvm/java-6-openjdk-amd64/jre
  System Locale; Encoding = es_ES (nb); UTF-8
  Home Directory = /home/javier
  Current Directory = /home/javier
  User Directory = /home/javier/.netbeans/7.0
  Installation = /usr/share/netbeans/7.0.1/nb
                            /usr/share/netbeans/7.0.1/ide
                            /usr/share/netbeans/7.0.1/java
                            /usr/share/netbeans/7.0.1/apisupport
                            /usr/share/netbeans/7.0.1/harness
                            /usr/share/netbeans/7.0.1/platform
  Boot & Ext. Classpath = /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/netx.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/plugin.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/classes:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext/pulse-java.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext/java-atk-wrapper.jar
  Application Classpath = /usr/share/netbeans/7.0.1/platform/lib/boot.jar:/usr/share/netbeans/7.0.1/platform/lib/org-openide-modules.jar:/usr/share/netbeans/7.0.1/platform/lib/org-openide-util.jar:/usr/share/netbeans/7.0.1/platform/lib/org-openide-util-lookup.jar:/usr/lib/jvm/java-6-openjdk-amd64/lib/dt.jar:/usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
  Startup Classpath = /usr/share/netbeans/7.0.1/platform/core/core.jar:/usr/share/netbeans/7.0.1/platform/core/org-openide-filesystems.jar:/usr/share/netbeans/7.0.1/nb/core/org-netbeans-upgrader.jar:/usr/share/netbeans/7.0.1/nb/core/locale/core_nb.jar
-------------------------------------------------------------------------------
WARNING [org.netbeans.core.startup.NbEvents]: The extension /usr/share/netbeans/7.0.1/ide/modules/ext/svnClientAdapter-main-1.6.13.jar may be multiply loaded by modules: [/usr/share/netbeans/7.0.1/ide/modules/org-netbeans-libs-svnClientAdapter-javahl.jar, /usr/share/netbeans/7.0.1/ide/modules/org-netbeans-libs-svnClientAdapter.jar]; see: http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#class-path
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.beans, org.netbeans.modules.debugger.jpda, org.netbeans.modules.debugger.jpda.ui, org.netbeans.modules.diff, org.netbeans.modules.editor.bracesmatching, org.netbeans.modules.editor.codetemplates, org.netbeans.modules.editor.indent.project, org.netbeans.modules.editor.macros, org.netbeans.modules.form, org.netbeans.modules.form.j2ee, org.netbeans.modules.i18n, org.netbeans.modules.i18n.form, org.netbeans.modules.j2ee.persistence, org.netbeans.modules.java.examples, org.netbeans.modules.java.navigation, org.netbeans.modules.javadoc, org.netbeans.modules.javawebstart, org.netbeans.modules.jumpto, org.netbeans.modules.localhistory, org.netbeans.modules.mercurial, org.netbeans.modules.options.editor, org.netbeans.modules.properties, org.netbeans.modules.refactoring.api, org.netbeans.modules.subversion, org.netbeans.modules.swingapp, org.netbeans.modules.terminal, org.netbeans.modules.versioning, org.netbeans.modules.versioning.system.cvss, org.netbeans.modules.versioning.util, org.netbeans.modules.xml, org.netbeans.modules.xml.tools.java] use org.jdesktop.layout which is deprecated: Use javax.swing.GroupLayout instead. (In form editor: select Form ... in Inspector; change Layout Generation Style to Standard Java 6 code.)
WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.db.sql.editor, org.netbeans.modules.editor.structure, org.netbeans.modules.java.editor, org.netbeans.modules.java.editor.lib, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.

summary: - Netbeans 7.01 not open after loading modules
+ Netbeans 7.01 not open after loading modules in ubuntu 12.04
Revision history for this message
zenned (azenned) wrote :

you can run : "/usr/local/netbeans/bin/netbeans --laf javax.swing.plaf.metal.MetalLookAndFeel" , its a gtk related problem

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in netbeans (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael Culver (michaelrculver) wrote :

Netbeans 7.1 and 7.1.1 will not even try to load modules for me, they just won't load at all.

Revision history for this message
Alex Marin (alex-ukf) wrote :

Same here, #1 does not fix it

Revision history for this message
Alex Marin (alex-ukf) wrote :

I should also mention that I updated from 11.10 to 12.04, and it worked at the beginning. Then I purged and installed php again, and I also did the linux-headers updates, and after restarting ubuntu, netbeans won't start anymore.

Revision history for this message
Alex Marin (alex-ukf) wrote :
Download full text (6.2 KiB)

Any kind of workaround ideas? I'd really like my netbeans back :) I was working on lots of projects in there :(

This is my ~/.netbeans/7.0/var/log/messages.log
-------------------------------------------------------------------------------
>Log Session: Saturday, April 28, 2012 12:44:12 PM EEST
>System Info:
  Product Version = NetBeans IDE 7.0.1 (Build 201107282000) (#a693229ccdbb)
  Operating System = Linux version 3.2.0-24-generic running on i386
  Java; VM; Vendor = 1.6.0_26; Java HotSpot(TM) Client VM 20.1-b02; Sun Microsystems Inc.
  Runtime = Java(TM) SE Runtime Environment 1.6.0_26-b03
  Java Home = /usr/local/jdk1.6.0_26/jre
  System Locale; Encoding = en_US (nb); UTF-8
  Home Directory = /home/alex
  Current Directory = /home/alex
  User Directory = /home/alex/.netbeans/7.0
  Installation = /usr/local/netbeans-7.0/nb
                            /usr/local/netbeans-7.0/ide
                            /usr/local/netbeans-7.0/java
                            /usr/local/netbeans-7.0/apisupport
                            /usr/local/netbeans-7.0/websvccommon
                            /usr/local/netbeans-7.0/profiler
                            /usr/local/netbeans-7.0/ruby
                            /usr/local/netbeans-7.0/harness
                            /usr/local/netbeans-7.0/platform
  Boot & Ext. Classpath = /usr/local/jdk1.6.0_26/jre/lib/resources.jar:/usr/local/jdk1.6.0_26/jre/lib/rt.jar:/usr/local/jdk1.6.0_26/jre/lib/sunrsasign.jar:/usr/local/jdk1.6.0_26/jre/lib/jsse.jar:/usr/local/jdk1.6.0_26/jre/lib/jce.jar:/usr/local/jdk1.6.0_26/jre/lib/charsets.jar:/usr/local/jdk1.6.0_26/jre/lib/modules/jdk.boot.jar:/usr/local/jdk1.6.0_26/jre/classes:/usr/local/jdk1.6.0_26/jre/lib/ext/sunpkcs11.jar:/usr/local/jdk1.6.0_26/jre/lib/ext/sunjce_provider.jar:/usr/local/jdk1.6.0_26/jre/lib/ext/localedata.jar:/usr/local/jdk1.6.0_26/jre/lib/ext/dnsns.jar
  Application Classpath = /home/alex/.netbeans/7.0/lib/boot.jar:/home/alex/.netbeans/7.0/lib/jfluid-server-15.jar:/home/alex/.netbeans/7.0/lib/jfluid-server-cvm.jar:/home/alex/.netbeans/7.0/lib/jfluid-server.jar:/home/alex/.netbeans/7.0/lib/org-openide-modules.jar:/home/alex/.netbeans/7.0/lib/org-openide-util.jar:/home/alex/.netbeans/7.0/lib/org-openide-util-lookup.jar:/home/alex/.netbeans/7.0/lib/locale/boot_ja.jar:/home/alex/.netbeans/7.0/lib/locale/boot_pt_BR.jar:/home/alex/.netbeans/7.0/lib/locale/boot_ru.jar:/home/alex/.netbeans/7.0/lib/locale/boot_zh_CN.jar:/home/alex/.netbeans/7.0/lib/locale/jfluid-server_ja.jar:/home/alex/.netbeans/7.0/lib/locale/jfluid-server_pt_BR.jar:/home/alex/.netbeans/7.0/lib/locale/jfluid-server_ru.jar:/home/alex/.netbeans/7.0/lib/locale/jfluid-server_zh_CN.jar:/home/alex/.netbeans/7.0/lib/locale/org-openide-modules_ja.jar:/home/alex/.netbeans/7.0/lib/locale/org-openide-modules_pt_BR.jar:/home/alex/.netbeans/7.0/lib/locale/org-openide-modules_ru.jar:/home/alex/.netbeans/7.0/lib/locale/org-openide-modules_zh_CN.jar:/home/alex/.netbeans/7.0/lib/locale/org-openide-util_ja.jar:/home/alex/.netbeans/7.0/lib/locale/org-openide-util-lookup_ja.jar:/home/alex/.netbeans/7.0/lib/locale...

Read more...

Revision history for this message
Alex Marin (alex-ukf) wrote :

Ok, I've found a solution for my problem. The cause was the 32 bit version, so I installed the 64 bit jdk and changed the default location for the jdk in netbeans to the new jdk. There are also no more warnings about the modules.

More details:
- download the desired jdk from [0].
- extract to the desired location ( for example in my case: /usr/local/jdk1.6.0_26 )
- set netbeans default location of JDK with --jdkhome /usr/local/jdk1.6.0_26 or manually modify the file indicated by "locate netbeans.conf".

[0] http://www.oracle.com/technetwork/java/javase/downloads/index.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.