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.
java.lang.NullPointerException at org.netbeans.modules.derby.api.DerbyDatabases.extractSampleDatabase(DerbyDatabases.java:300) at org.netbeans.modules.derby.api.DerbyDatabases.createSampleDatabase(DerbyDatabases.java:257) at org.netbeans.modules.j2ee.sun.ide.j2ee.db.RegisterPointbase$ConfigureJavaDBSamples.run(RegisterPointbase.java:289) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
What is the value in Tools - Options - Advanced Options - Server and External Tool Settings - Java DB Database - Database Location? Does that folder exist on disk? If yes, can you reproduce the issue by removing the folder and restarting NetBeans with a clean userdir? If no, do you reproduce the issue each time you start the NetBeans? Thanks.
Deleting the Database Location folder and restarting netbeans, solved this problem. Can the problem have its roots in the fact that in our company our profiles are located on a remote server [\\new_dumbo\user$\ledents\desktop\.netbeans-derby]?
Problem reappears on consecutive runs. Moving the directory somewhere else seams to avoid the problem [C:\temp\netbeans-derby]. Windows Explorer didn't want to create the folder [.netbeans-derby] !!! Could this be also one of the reasons of the problems ???
*** This issue has been marked as a duplicate of 119883 ***