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 Dev (Build NB-Core-Build-3952-on-100202) VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025 OS: Mac OS X User Comments: musilt2: started platform app - only platform cluster + 2 empty modules Stacktrace: java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.isModuleFrom(FoDUpdateUnitProvider.java:209) at org.netbeans.modules.ide.ergonomics.fod.FoDUpdateUnitProvider.isPlatformCluster(FoDUpdateUnitProvider.java:197)
Created attachment 93801 [details] stacktrace
at least p2 - 100% reproducible.
How can you have "only" platform app and have include ergonomics module? That is really strange. How did you get into this state?
suite was not set in "platform app" mode (see issue #180216).
ergonomics#9a038bdeaaf2
Integrated into 'main-golden', will be available in build *201002110200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9a038bdeaaf2 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #180214: Rather than using reflection to call Module.getJarFile() it is cleaner to get friend dependency (we anyway have one on startup) and call the method directly