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.
Build: NetBeans IDE 7.2 Beta (Build 201204260929) VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01-415, Java(TM) SE Runtime Environment, 1.6.0_31-b04-415-11M3635 OS: Mac OS X User Comments: dstrupl: Second start with some projects opened ... Stacktrace: java.lang.ClassNotFoundException: org.eclipse.core.internal.net.Activator at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
Created attachment 118825 [details] stacktrace
Created attachment 118826 [details] stacktrace another start ...
There is also possibly related bug 211744.
Stopper for Beta
I have not seen the bug myself at all. Are you sure it happens on all platforms?
Similar to issue 209643 .. ok so let's say : so far, it has been reproduce on Mac only
In such case, don't expect my help anytime soon. I don't have Mac.
(In reply to comment #7) > In such case, don't expect my help anytime soon. I don't have Mac. I am sure David will provide you an access into his one.
Product Version = NetBeans IDE 7.2 Beta (Build 201204260929) (#35dd63b26ba2) Operating System = Mac OS X version 10.6.8 running on x86_64 from os independent zip tried with empty userdir as well a with some projects opened. could not reproduce ...
still no luck reproducing on my mac... Davide, according to message logs you are using javase distro, right? Did you try also with full? Product Version: NetBeans IDE 7.2 Beta (Build 201204260929) Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01-415 System: Mac OS X version 10.7.3 running on x86_64; MacRoman; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/7.2beta Cache directory: /Users/tomas/Library/Caches/NetBeans/7.2beta
ok, i can confirm that i can reproduce something similar with javase bundle! after installing and running javase i got http://statistics.netbeans.org/analytics/exception.do?id=576375 ------------------------------------------------------------------------------- >Log Session: Friday, April 27, 2012 4:50:30 PM CEST >System Info: Product Version = NetBeans IDE 7.2 Beta (Build 201204260929) (#35dd63b26ba2) Operating System = Mac OS X version 10.7.3 running on x86_64 Java; VM; Vendor = 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01-415; Apple Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_31-b04-415-11M3635 Java Home = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home System Locale; Encoding = en_US (nb); MacRoman Home Directory = /Users/tomas Current Directory = / User Directory = /Users/tomas/Library/Application Support/NetBeans/7.2beta Cache Directory = /Users/tomas/Library/Caches/NetBeans/7.2beta Installation = /Applications/NetBeans/NetBeans 7.2 Beta.app/Contents/Resources/NetBeans/nb /Applications/NetBeans/NetBeans 7.2 Beta.app/Contents/Resources/NetBeans/ide /Applications/NetBeans/NetBeans 7.2 Beta.app/Contents/Resources/NetBeans/java /Applications/NetBeans/NetBeans 7.2 Beta.app/Contents/Resources/NetBeans/apisupport /Applications/NetBeans/NetBeans 7.2 Beta.app/Contents/Resources/NetBeans/websvccommon /Applications/NetBeans/NetBeans 7.2 Beta.app/Contents/Resources/NetBeans/profiler /Applications/NetBeans/NetBeans 7.2 Beta.app/Contents/Resources/NetBeans/harness /Applications/NetBeans/NetBeans 7.2 Beta.app/Contents/Resources/NetBeans/javafx /Applications/NetBeans/NetBeans 7.2 Beta.app/Contents/Resources/NetBeans/platform
ok, I think I've found steps (at least they work on my mac): -delete any previous installation of beta 7.2 - delete userdir and cache - install 7.2 beta javase - start it --> you will get stacktrace where rootcause is CNFE (http://statistics.netbeans.org/analytics/detail.do?id=187435 in my case now, but differs)
*** Bug 211866 has been marked as a duplicate of this bug. ***
Probably duplicate of bug 211744
The problem is in non-exisiting cluster and their interpretation or relative path. There is a symlink in /Application/NetBeans/NetBeans 7.2 Beta/MacOSX/netbeans which points to ../Resource/NetBeans/bin/netbeans and depending whether the first symlink is used with full path or just relative path the "osgi.install.area" gets computed differently. Thus the installer (calling directly the Resource/NetBeans/bin/netbeans) and the Mac OS X icon disagree on the location of caches.
Integrated as ergonomics#7e8f5e9a6786, somebody please verify.
Fix works in custom installer from nbinstaller machine (javase bundle), no exception is thrown during startup, bugzilla functionality works as well. Please proceed with integration to beta. Product Version: NetBeans IDE Dev (Build Trunk-Build-106-on-20120503) Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01-415 System: Mac OS X version 10.7.3 running on x86_64; MacRoman; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/dev Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
$ hg transplant -s ../ergonomics 7e8f5e9a6786 searching for changes applying 7e8f5e9a6786 7e8f5e9a6786 transplanted to 3c0c2d2b84a4 # Branch release72_beta # Node ID 3c0c2d2b84a40fc22f8220edfd01277931802df2 # Parent 73677f1acd1f83e69c1723888b18f2a7b7201fa3 #211806: Ignore non-existing clusters
Integrated into 'releases', will be available in build *201205031832* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/3c0c2d2b84a4 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #211806: Ignore non-existing clusters
verified in beta: Product Version: NetBeans IDE 7.2 Beta (Build 201205031832) Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01-415 System: Mac OS X version 10.7.3 running on x86_64; MacRoman; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/7.2beta Cache directory: /Users/tomas/Library/Caches/NetBeans/7.2beta
Integrated into 'main-golden', will be available in build *201205050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7e8f5e9a6786 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #211806: Ignore non-existing clusters
*** Bug 211838 has been marked as a duplicate of this bug. ***
Integrated into 'releases', will be available in build *201210100002* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/3c0c2d2b84a4 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #211806: Ignore non-existing clusters