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 183110 - NullPointerException at org.openide.filesystems.FileUtil.toFile
Summary: NullPointerException at org.openide.filesystems.FileUtil.toFile
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 17:09 UTC by sunbiz
Modified: 2010-04-28 05:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167277


Attachments
stacktrace (2.60 KB, text/plain)
2010-03-29 17:09 UTC, sunbiz
Details
stacktrace (1.94 KB, text/plain)
2010-04-14 12:40 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2010-03-29 17:09:42 UTC
Build: NetBeans IDE Dev (Build 100329-6c9dc7e53361)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows Server 2008

User Comments:
sunbiz: Right clicked a Java DB database and press delete... got this exception




Stacktrace: 
java.lang.NullPointerException
   at org.openide.filesystems.FileUtil.toFile(FileUtil.java:949)
   at org.netbeans.modules.derby.DerbyDatabasesImpl.checkDatabase(DerbyDatabasesImpl.java:357)
   at org.netbeans.modules.derby.DerbyDatabasesImpl.getDatabases(DerbyDatabasesImpl.java:346)
   at org.netbeans.modules.derby.DerbyServerNode$ChildFactory.createKeys(DerbyServerNode.java:148)
   at org.openide.nodes.AsynchChildren.run(AsynchChildren.java:186)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1369)
Comment 1 sunbiz 2010-03-29 17:09:46 UTC
Created attachment 96259 [details]
stacktrace
Comment 2 Lukas Hasik 2010-04-14 12:40:44 UTC
Created attachment 97319 [details]
stacktrace

-provided a wrong path to DB in Add JavaDB dialog
Comment 3 Jiri Rechtacek 2010-04-27 14:18:22 UTC
core-main/rev/91679c24c87a
Comment 4 Quality Engineering 2010-04-28 05:08:45 UTC
Integrated into 'main-golden', will be available in build *201004280200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log: