This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229377 - Netbeans 7.3 doesn't start after ubuntu upgrade
Summary: Netbeans 7.3 doesn't start after ubuntu upgrade
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-05 23:14 UTC by kinta
Modified: 2013-05-06 08:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Netbeans log (6.69 KB, text/x-log)
2013-05-05 23:14 UTC, kinta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kinta 2013-05-05 23:14:28 UTC
Created attachment 134120 [details]
Netbeans log

-------------------------------------------------------------------------------
>Log Session: Sunday, May 5, 2013 11:50:26 PM WAT
>System Info: 
  Product Version         = NetBeans IDE 7.3 (Build 201302132200) (#93e87decaddf)
  Operating System        = Linux version 3.2.0-41-generic-pae running on i386
  Java; VM; Vendor        = 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b28; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.8.0-ea-b87
  Java Home               = /usr/lib/jvm/java-8-oracle/jre
  System Locale; Encoding = en_US (nb); UTF-8
  Home Directory          = /home/achille
  Current Directory       = /home/achille
  User Directory          = /home/achille/.netbeans/7.3
  Cache Directory         = /home/achille/.cache/netbeans/7.3
  Installation            = /usr/local/netbeans-7.3/nb
                            /usr/local/netbeans-7.3/ergonomics
                            /usr/local/netbeans-7.3/ide
                            /usr/local/netbeans-7.3/java
                            /usr/local/netbeans-7.3/apisupport
                            /usr/local/netbeans-7.3/webcommon
                            /usr/local/netbeans-7.3/websvccommon
                            /usr/local/netbeans-7.3/enterprise
                            /usr/local/netbeans-7.3/mobility
                            /usr/local/netbeans-7.3/profiler
                            /usr/local/netbeans-7.3/php
                            /usr/local/netbeans-7.3/harness
                            /usr/local/netbeans-7.3/javafx
                            /usr/local/netbeans-7.3/platform
  Boot & Ext. Classpath   = /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/classes:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar
  Application Classpath   = /usr/local/netbeans-7.3/platform/lib/boot.jar:/usr/local/netbeans-7.3/platform/lib/org-openide-modules.jar:/usr/local/netbeans-7.3/platform/lib/org-openide-util.jar:/usr/local/netbeans-7.3/platform/lib/org-openide-util-lookup.jar:/usr/local/netbeans-7.3/platform/lib/locale/boot_ja.jar:/usr/local/netbeans-7.3/platform/lib/locale/boot_pt_BR.jar:/usr/local/netbeans-7.3/platform/lib/locale/boot_ru.jar:/usr/local/netbeans-7.3/platform/lib/locale/boot_zh_CN.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-modules_ja.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-modules_pt_BR.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-modules_ru.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-modules_zh_CN.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-util_ja.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-util-lookup_ja.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-util-lookup_ru.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-util_pt_BR.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-util_ru.jar:/usr/local/netbeans-7.3/platform/lib/locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/java-8-oracle/lib/dt.jar:/usr/lib/jvm/java-8-oracle/lib/tools.jar
  Startup Classpath       = /usr/local/netbeans-7.3/platform/core/org-openide-filesystems.jar:/usr/local/netbeans-7.3/platform/core/core.jar:/usr/local/netbeans-7.3/platform/core/locale/org-openide-filesystems_pt_BR.jar:/usr/local/netbeans-7.3/platform/core/locale/core_ru.jar:/usr/local/netbeans-7.3/platform/core/locale/org-openide-filesystems_ja.jar:/usr/local/netbeans-7.3/platform/core/locale/org-openide-filesystems_zh_CN.jar:/usr/local/netbeans-7.3/platform/core/locale/core_pt_BR.jar:/usr/local/netbeans-7.3/platform/core/locale/core_ja.jar:/usr/local/netbeans-7.3/platform/core/locale/org-openide-filesystems_ru.jar:/usr/local/netbeans-7.3/platform/core/locale/core_zh_CN.jar:/usr/local/netbeans-7.3/nb/core/org-netbeans-upgrader.jar:/usr/local/netbeans-7.3/nb/core/locale/org-netbeans-upgrader_ru.jar:/usr/local/netbeans-7.3/nb/core/locale/org-netbeans-upgrader_pt_BR.jar:/usr/local/netbeans-7.3/nb/core/locale/org-netbeans-upgrader_zh_CN.jar:/usr/local/netbeans-7.3/nb/core/locale/org-netbeans-upgrader_ja.jar:/usr/local/netbeans-7.3/nb/core/locale/core_nb.jar
-------------------------------------------------------------------------------
java.lang.IllegalStateException: java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"
	at org.openide.util.WeakListenerImpl$ProxyListener.<init>(WeakListenerImpl.java:423)
	at org.openide.util.WeakListenerImpl.create(WeakListenerImpl.java:164)
	at org.openide.util.WeakListeners.create(WeakListeners.java:271)
	at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:132)
	at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:149)
	at org.openide.filesystems.MultiFileSystem.getMultiRoot(MultiFileSystem.java:278)
	at org.openide.filesystems.MultiFileSystem.findResource(MultiFileSystem.java:366)
	at org.openide.filesystems.FileUtil.getConfigFile(FileUtil.java:2091)
	at org.openide.filesystems.FileUtil.getConfigRoot(FileUtil.java:2121)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:170)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
	at org.netbeans.core.startup.Main.start(Main.java:307)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:93)
	at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:295)
	at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:287)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:404)
	at org.openide.util.WeakListenerImpl$ProxyListener.<init>(WeakListenerImpl.java:413)
	... 13 more
Comment 1 Stanislav Aubrecht 2013-05-06 08:23:32 UTC
You're running NetBeans with a preview version of JDK 1.8
Switch to JDK 1.7 and the problem should go away.
Comment 2 kinta 2013-05-06 08:28:53 UTC
J'ai trouvé la solution peu après. 

Merci pour votre réactivité