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 184006 - [69cat] java.io.IOException: Could not create the derby.system.home directory /home/ulthar/.netbeans-derby
Summary: [69cat] java.io.IOException: Could not create the derby.system.home directory...
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-13 12:37 UTC by gholmer
Modified: 2012-04-24 11:41 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167962


Attachments
stacktrace (3.92 KB, text/plain)
2010-04-13 12:37 UTC, gholmer
Details
stacktrace (8.10 KB, text/plain)
2010-04-19 13:01 UTC, gholmer
Details
stacktrace (3.94 KB, text/plain)
2010-05-07 22:28 UTC, Exceptions Reporter
Details
stacktrace (1.29 KB, text/plain)
2010-12-30 10:34 UTC, simpatico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2010-04-13 12:37:32 UTC
Build: NetBeans IDE Dev (Build 201004120251)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Linux

User Comments:
gholmer: First start of this build after installing. Settings imported from 6.8.




Stacktrace: 
java.io.IOException: Could not create the derby.system.home directory /home/ulthar/.netbeans-derby
   at org.netbeans.modules.derby.DerbyDatabasesImpl.ensureSystemHome(DerbyDatabasesImpl.java:441)
   at org.netbeans.modules.derby.DerbyDatabasesImpl.extractSampleDatabase(DerbyDatabasesImpl.java:416)
   at org.netbeans.modules.derby.DerbyDatabasesImpl.createSampleDatabase(DerbyDatabasesImpl.java:298)
   at org.netbeans.modules.derby.api.DerbyDatabases.createSampleDatabase(DerbyDatabases.java:167)
   at org.netbeans.modules.derby.DerbyActivator.registerSampleDatabase(DerbyActivator.java:102)
   at org.netbeans.modules.derby.DerbyActivator.doActivate(DerbyActivator.java:84)
Comment 1 gholmer 2010-04-13 12:37:36 UTC
Created attachment 97181 [details]
stacktrace
Comment 2 gholmer 2010-04-19 13:01:57 UTC
Created attachment 97617 [details]
stacktrace

First start ob 201004190200 after install. Username is not "ulthar" but "shadowm".
Comment 3 Exceptions Reporter 2010-05-07 11:11:35 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=167962
Comment 4 Exceptions Reporter 2010-05-07 22:28:08 UTC
Created attachment 98662 [details]
stacktrace
Comment 5 simpatico 2010-12-30 10:34:02 UTC
Created attachment 104625 [details]
stacktrace
Comment 6 Jaroslav Havlin 2012-04-23 08:39:45 UTC
I'm sorry, I cannot reproduce.
Any idea why incorrect home directory is used? Is "ulthar" another user in your system?
Can you please check file <netbeansUserDir>/config/preferences/org/netbeans/modules/derby.properties? Is property systemHome specified correctly?
Is the same value used in the previous NetBeans installation (the one from which settings were imported)?
Thank you.
Comment 7 Jaroslav Havlin 2012-04-24 11:41:25 UTC
Closing. Please reopen if you can provide us with some additional information.