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 134039 - Problem in loading NetBeans IDE -- getting an ecxeption
Summary: Problem in loading NetBeans IDE -- getting an ecxeption
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: John Baker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-27 02:38 UTC by nobody4nb
Modified: 2008-10-08 10:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file of the exception occurs in my nb ide 6.0 while loading (47.43 KB, text/plain)
2008-04-27 02:42 UTC, nobody4nb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobody4nb 2008-04-27 02:38:55 UTC
While loading the netbeans IDE, before I can access the IDE, an exception will occur, the below is the detail:

java.lang.IllegalArgumentException: Parameter file was not normalized. Was E:\DOCUME~1\Fanoos\.netbeans-derby instead 
of E:\Documents and Settings\Fanoos\.netbeans-derby
	at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:513)
	at org.netbeans.modules.derby.api.DerbyDatabases.extractSampleDatabase(DerbyDatabases.java:299)
	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:539)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 nobody4nb 2008-04-27 02:42:12 UTC
Created attachment 60723 [details]
Log file of the exception occurs in my nb ide 6.0 while loading
Comment 2 David Vancouvering 2008-05-14 00:48:57 UTC
Looks like NB is getting confused with a file name with spaces in it.

As a workaround, can you change the setting for where the Java DB database is stored in the following way:

Under the Services tab on the left, open the Databases folder, and right-click on Java DB, and choose Properties...

Then set the "Database Location" to be a directory somewhere where there are no spaces.

Hopefully this should fix things.

If you have databases you are using already, you can copy their directories from Fanoos\.netbeans-derby to their new
location, they'll work just fine in the new location.
Comment 3 John Baker 2008-08-08 23:12:25 UTC
reporter, did you happen to upgrade to Windows Vista?

There was an issue concerning a Windows upgrade that apparently just got fixed:
http://www.netbeans.org/issues/show_bug.cgi?id=135547

I don't know if the fix will be in 6.5 beta but may be in the nightly builds after Aug 6
Comment 4 John Baker 2008-08-20 01:46:56 UTC
reporter if this is no longer occurring, I will close the issue, thank you
Comment 5 David Vancouvering 2008-10-07 18:36:54 UTC
Have not heard from the reporter since August, closing
Comment 6 Roman Mostyka 2008-10-08 10:43:40 UTC
v