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 200907130200) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: ovk: started new ergo IDE File->Import Eclipse Project-> j2se activation -> exception GUEST: tried to import an eclipse project directly after installing netbeans ide. Stacktrace: java.lang.IllegalArgumentException: Called DataObject.find on null<br/> at org.openide.loaders.DataObject.find(DataObject.java:481)<br/> at org.netbeans.modules.ide.ergonomics.ImportProjectAction.performRegular(ImportProjectAction.java:90)<br/> at org.netbeans.modules.ide.ergonomics.ImportProjectAction.access$000(ImportProjectAction.java:62)<br/> at org.netbeans.modules.ide.ergonomics.ImportProjectAction$1.run(ImportProjectAction.java:78)<br/> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)<br/> at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)<br/>
Created attachment 84726 [details] stacktrace
ergonomics#61b231826f3c
*** Issue 168883 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200907250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/61b231826f3c User: Jaroslav Tulach <jtulach@netbeans.org> Log: #168558: Using static analysis to correctly point to Import Eclipse Project action
ImportProjectAction continues to be registered in layer.xml rather than using @ActionRegistration, since @ActionReference cannot recreate the <attr name="ergonomics" boolvalue="true"/>. Is this attribute still needed? The code interpreting it looks to have been moved to ide.ergonomics/src-ant/org/netbeans/modules/ide/ergonomics/ant/entry-points.xsl since then.
entry-points.xsl is still executed during build, so yes, the attribute may still be needed.