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 120576

Summary: NB crashes on launch
Product: ide Reporter: ringsoft13 <ringsoft13>
Component: CodeAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WONTFIX    
Severity: blocker CC: dsimonek, jglick, pnejedly
Priority: P3 Keywords: RANDOM
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: log mentioned by crash dialog

Description ringsoft13 2007-10-31 05:05:35 UTC
Says to upload log file C:\Documents and Settings\Dave Boydston\.netbeans\5.5.1\var\log
but don't see attach file option here.
here is end...

*********** Exception occurred ************ at 8:45 PM on Oct 30, 2007
java.lang.NoClassDefFoundError: Could not initialize class java.awt.dnd.DragSource
	at org.openide.awt.Toolbar$DnDSupport.<init>(Toolbar.java:322)
	at org.openide.awt.Toolbar.<init>(Toolbar.java:320)
	at org.openide.awt.ToolbarPool$Folder.acceptFolder(ToolbarPool.java:485)
	at org.openide.loaders.FolderInstance.acceptDataObject(FolderInstance.java:390)
	at org.openide.loaders.FolderInstance.defaultProcessObjects(FolderInstance.java:656)
	at org.openide.loaders.FolderInstance.access$000(FolderInstance.java:74)
	at org.openide.loaders.FolderInstance$2.run(FolderInstance.java:628)
	at org.openide.util.Task.run(Task.java:222)
	at org.openide.awt.AWTTask.run(AWTTask.java:35)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 ringsoft13 2007-10-31 05:06:59 UTC
Created attachment 52084 [details]
log mentioned by crash dialog
Comment 2 David Simonek 2007-10-31 08:39:21 UTC
I don't know what may cause such error, perhaps some problems with class loaders or module system? Passing to people
that may know more about it, please evaluate, thank you.

Reporter, is this error reproducible? Does it happen now always, during each start? What usually helps is to backup and
clean user directory, C:\Documents and Settings\Dave Boydston\.netbeans\5.5.1\ in your case - note that you'll loose
your nb configuration though. Then, does the error appear with clean userdir?
Comment 3 Jaroslav Tulach 2007-11-01 09:38:35 UTC
The source of the exception is bellow. It is either mistake in configuration of your JDK or it is a JDK bug. If it is 
the later, feel free to report it directly to JDK.

IOException:java.io.FileNotFoundException: C:\Program Files\Java\jdk1.6.0_02\jre\lib\flavormap.properties (The system 
cannot find the file specified) while loading default flavormap.properties file:C:\Program 
Files\Java\jdk1.6.0_02\jre\lib\flavormap.properties
java.lang.RuntimeException: cannot load system cursor: CopyDrop.32x32
	at sun.awt.windows.WToolkit.lazilyLoadDesktopProperty(WToolkit.java:830)
	at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1748)
	at java.awt.dnd.DragSource.load(DragSource.java:119)
	at java.awt.dnd.DragSource.<clinit>(DragSource.java:135)
Comment 4 dlipin 2008-11-13 19:41:51 UTC
*** Issue 153105 has been marked as a duplicate of this issue. ***