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 93954 - NullPointerException at startup netbeans Ide
Summary: NullPointerException at startup netbeans Ide
Status: RESOLVED DUPLICATE of bug 119883
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-02 08:26 UTC by steled
Modified: 2007-10-25 14:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description steled 2007-02-02 08:26:48 UTC
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)
Comment 1 Andrei Badea 2007-02-15 17:03:37 UTC
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.
Comment 2 steled 2007-02-19 07:26:21 UTC
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]? 
Comment 3 steled 2007-02-19 08:38:21 UTC
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 ???
Comment 4 Andrei Badea 2007-10-25 14:22:07 UTC

*** This issue has been marked as a duplicate of 119883 ***