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 168558 - IllegalArgumentException: Called DataObject.find on null
Summary: IllegalArgumentException: Called DataObject.find on null
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL: http://statistics.netbeans.org/except...
Keywords:
: 168883 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-14 15:47 UTC by Oleg Khokhlov
Modified: 2012-03-02 15:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 153330


Attachments
stacktrace (623 bytes, text/plain)
2009-07-14 15:47 UTC, Oleg Khokhlov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Khokhlov 2009-07-14 15:47:31 UTC
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/>
Comment 1 Oleg Khokhlov 2009-07-14 15:47:36 UTC
Created attachment 84726 [details]
stacktrace
Comment 2 Jaroslav Tulach 2009-07-23 16:53:54 UTC
ergonomics#61b231826f3c
Comment 3 Jaroslav Tulach 2009-07-23 16:55:26 UTC
*** Issue 168883 has been marked as a duplicate of this issue. ***
Comment 4 Quality Engineering 2009-07-25 06:21:55 UTC
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
Comment 5 Jesse Glick 2012-02-21 16:47:46 UTC
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.
Comment 6 Jaroslav Tulach 2012-03-02 15:04:42 UTC
entry-points.xsl is still executed during build, so yes, the attribute may still be needed.