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 233184 - IllegalArgumentException: Called DataObject.find on null
Summary: IllegalArgumentException: Called DataObject.find on null
Status: RESOLVED DUPLICATE of bug 232200
Alias: None
Product: ide
Classification: Unclassified
Component: Import Settings (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-22 13:42 UTC by mohnid
Modified: 2013-07-24 06:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 191248


Attachments
stacktrace (7.32 KB, text/plain)
2013-07-22 13:43 UTC, mohnid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mohnid 2013-07-22 13:42:59 UTC
Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
GUEST: trying add a new java platform

mohnid: Try to add Java Plattform after import of 7.3.1 options export

GUEST: I just install the latest version netbeans v7.3.1, and run a random old class with its main method, and found that there's an exception.

GUEST: I am trying to manage my Java Platforms - nothing shows up in the platforms list and when I click on add I get this exception.




Stacktrace: 
java.lang.IllegalArgumentException: Called DataObject.find on null
   at org.openide.loaders.DataObject.find(DataObject.java:551)
   at org.openide.loaders.DataFolder.findFolder(DataFolder.java:540)
   at org.netbeans.modules.java.platform.ui.PlatformsCustomizer.addNewPlatform(PlatformsCustomizer.java:355)
   at org.netbeans.modules.java.platform.ui.PlatformsCustomizer.access$000(PlatformsCustomizer.java:102)
   at org.netbeans.modules.java.platform.ui.PlatformsCustomizer$1.actionPerformed(PlatformsCustomizer.java:216)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
Comment 1 mohnid 2013-07-22 13:43:00 UTC
Created attachment 137563 [details]
stacktrace
Comment 2 Tomas Zezula 2013-07-23 15:31:38 UTC
The FileUtil.getConfigFile("Services/Platforms/org-netbeans-api-java-Platform") returned null.
However the Services/Platforms/org-netbeans-api-java-Platform is defined in the layer file of the same module.
Feel free to reassign to module system, may be related to settings import:
>Try to add Java Plattform after import of 7.3.1 options export
Comment 3 Jaroslav Havlin 2013-07-24 06:54:36 UTC
Probably duplicate of bug 232200.

*** This bug has been marked as a duplicate of bug 232200 ***