Build: NetBeans IDE Dev (Build 071031) VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04 OS: Linux, 2.6.20-16-generic, i386 User Comments:
Created attachment 52529 [details] stacktrace
Created attachment 52531 [details] stacktrace
Same as 121169 *** This issue has been marked as a duplicate of 121169 ***
my mistake, not a duplicate
There is some problem determining the system home. Please attach messages.log what is the system home set to ?
need more info from the user
Build: NetBeans IDE 6.0 RC1 (Build 200711131200) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Linux, 2.6.22-14-generic, i386 User Comments: Exception thrown at start-up
Created attachment 53044 [details] stacktrace
Where is the NetBeans installation directory? UNC path ?
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: first startup of RC1 importing setting from 5.5
Created attachment 53258 [details] stacktrace
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
Created attachment 53260 [details] stacktrace
Please attach messages.log what is the system home set to ?
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.
Created attachment 53419 [details] stacktrace
Please attach messages.log
Build: NetBeans IDE 6.0 RC2 (Build 200711201000) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Linux, 2.6.22-14-generic, i386 User Comments: Red error icon shows up after start-up
Created attachment 53432 [details] stacktrace
Build: NetBeans IDE 6.0 RC2 (Build 200711201000) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Windows 2000, 5.0, x86 User Comments:
Created attachment 53481 [details] stacktrace
Created attachment 53482 [details] stacktrace
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
Fixed on the visualweb side
*** Issue 122010 has been marked as a duplicate of this issue. ***
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: Started NB
Created attachment 53756 [details] stacktrace
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:
Created attachment 53878 [details] stacktrace
Created attachment 54323 [details] stacktrace
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!
Created attachment 54457 [details] stacktrace
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 !
Created attachment 54459 [details] stacktrace
Build: NetBeans IDE 6.0 (Build 200711261600) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Linux, 2.6.18.1-slh-up-2, i386 User Comments: Deleted sample java db directory.
Created attachment 54524 [details] stacktrace
Should be fixed now
THIS ISSUE HAS ALREADY 100 DUPLICATES
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.