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 96505 - NetBeans IDE launching error
Summary: NetBeans IDE launching error
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-02-24 18:33 UTC by enyix
Modified: 2008-12-22 12:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description enyix 2007-02-24 18:33:50 UTC
Hi NetBeans team:

I get a problem when I try to launch the NetBeans IDE; the loader seems to be 
launched but around the 85% appears a message in window telling me basically 
that some problem was happened and that I need to report that issue at here. I 
get this message from a few days ago; I observed it happens since I performed 
the installation of JEdit in my machine and I treated to launch the NetBeans 
IDE while it was running. 

Other is the IDE apparently launch but doesn't show me the interface; so when 
I see the current processes in my machine I can see the java.exe process and 
the netbeans.exe process with a frame in some side above my desk, but nothing 
appears inside it. 



At next I attach the message Java shows me:

/****************************************************************

java.lang.NullPointerException
	at 
org.netbeans.core.windows.persistence.GroupParser$PropertyHandler.startElement
(GroupParser.java:502)
	at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement
(AbstractSAXParser.java:533)
	at 
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement
(XMLDTDValidator.java:798)
	at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStar
tElement(XMLDocumentFragmentScannerImpl.java:878)
	at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDispatche
r.scanRootElementHook(XMLDocumentScannerImpl.java:1157)
	at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$Fragment
ContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
	at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocu
ment(XMLDocumentFragmentScannerImpl.java:368)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:834)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse
(XML11Configuration.java:764)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse
(XMLParser.java:148)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1242)
	at 
org.netbeans.core.windows.persistence.GroupParser$PropertyHandler.readData
(GroupParser.java:473)
	at org.netbeans.core.windows.persistence.GroupParser.readProperties
(GroupParser.java:97)
	at org.netbeans.core.windows.persistence.GroupParser.load
(GroupParser.java:77)
	at org.netbeans.core.windows.persistence.WindowManagerParser.readGroups
(WindowManagerParser.java:531)
	at org.netbeans.core.windows.persistence.WindowManagerParser.load
(WindowManagerParser.java:88)
	at 
org.netbeans.core.windows.persistence.PersistenceManager.loadWindowSystem
(PersistenceManager.java:1015)
	at org.netbeans.core.windows.PersistenceHandler.load
(PersistenceHandler.java:83)
	at org.netbeans.core.windows.WindowSystemImpl.load
(WindowSystemImpl.java:45)
[catch] at org.netbeans.core.NonGui$3.run(NonGui.java:224)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

/**************************************************************************

Hope this may be useful for your team.

Thanks by all in advance.

Hugo Alberto Bedolla
Comment 1 David Simonek 2007-02-25 08:26:02 UTC
I don't have enough information to fix the bug - please provide reproductible
set of steps (starting NetBeans with clean new userdir) which lead to the
described error. I couldn't reproduce the bug and do anything with it.

Code in WindowSystemImpl and PersistenceManager was updated to be robust, so
that similar errors will mean just that one of the windows is not restored on
startup and must be opened manually, no other defects hopefully.

Please reopen with reproductible scenario, thanks.