Build: NetBeans IDE 6.0 RC1 (Build 200711131200)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Linux, 2.6.22-2-k7, i386
User Comments:
second startup. it seems to be systematic
Build: NetBeans IDE 6.0 RC2 (Build 200711201000)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86
User Comments:
This happens all the time I start the IDE.
Most likely cause is the .netbeans-derby folder had not been created.
(.netbeans-derby folder is created in the Home directory at IDE startup by the db module and this folder is the default
folder used to store Derby databases created by the IDE.)
To change this folder, from the main menu, choose Tools->Java DB database->Settings and change the Database location.
There may be another bug since .netbeans-derby should always get created.
Partial fix is to throw a FileNotFoundException if .netbeans-derby does not exist.
Note, FileUtil.toFileObject(systemHomeFile); will return null if systemHomeFile does not exist.
/**
* Converts a disk file to a matching file object.
* This is the inverse operation of {@link #toFile}.
* <p class="nonnormative">
* If you are running with the MasterFS module enabled, that will guarantee
* that this method never returns null for a file which exists on disk.
* </p>
* @param file a disk file (may or may not exist). This file
* must be {@link #normalizeFile normalized}.
* @return a corresponding file object, or null if the file does not exist
* or there is no {@link URLMapper} available to convert it
* @since 4.29
*/
Fixed in visualweb.
Completely fix once 119883 is fixed
Checking in visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/utils/Bundle.properties;
/cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/utils/Bundle.properties,v <--
Bundle.properties
new revision: 1.4; previous revision: 1.3
done
Checking in visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/utils/SampleDatabaseCreator.java;
/cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/utils/SampleDatabaseCreator.java,v
<-- SampleDatabaseCreator.jav
a
new revision: 1.5; previous revision: 1.4
done
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-121
OS: Mac OS X, 10.4.11, i386
User Comments:
After installing patch1, I get this exception on every startup!
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Windows XP, 5.1, x86
User Comments:
Just start the IDE and the error welcomes me !
The fix has been ported into the release601_fixes branch
(As mentioned, this is the fix on visualweb)
Checking in Bundle.properties;
/cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/utils/Attic/Bundle.properties,v <--
Bundle.properties
new revision: 1.3.8.1; previous revision: 1.3
done
Checking in SampleDatabaseCreator.java;
/cvs/visualweb/dataconnectivity/src/org/netbeans/modules/visualweb/dataconnectivity/utils/Attic/SampleDatabaseCreator.java,v
<-- SampleDatabaseCreator.java
new revision: 1.4.8.1; previous revision: 1.4
done
Verified on Windows XP, Solaris x86/SPARC, Mac OS X. I don't see NullPointerException, so I mark the issue as VERIFIED.
If somebody else will be able to reproduce it, please reopen this issue.