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 144658 - [65cat] becomes non-responsive after exception thrown during post startup scan
Summary: [65cat] becomes non-responsive after exception thrown during post startup scan
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: Other Other
: P1 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
: 116237 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-21 01:00 UTC by pbelbin
Modified: 2010-05-04 23:21 UTC (History)
1 user (show)

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 pbelbin 2008-08-21 01:00:07 UTC
[ JDK VERSION : 1.6.0_07 ]

I'm running Windows 2008.


I manually hacked around one of my projects, and, during the post
startup scan, I see the following exception being thrown:

java.lang.AssertionError: Missing file xml_binding_build.xml for
extension jaxb
	at
org.netbeans.api.project.ant.AntBuildExtender.readProjectMetadata(AntB
uildExtender.java:354)
	at
org.netbeans.api.project.ant.AntBuildExtender.getExtension(AntBuildExt
ender.java:186)
	at
org.netbeans.modules.websvc.jaxwsmodel.project.J2seJaxWsLookupProvider
$1.projectOpened(J2seJaxWsLookupProvider.java:95)
	at
org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectO
penedHook.java:81)
	at
org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl
.projectOpened(UILookupMergerSupport.java:198)
	at
org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectO
penedHook.java:81)
	at
org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProje
ctList.java:975)
	at
org.netbeans.modules.project.ui.OpenProjectList.access$800(OpenProject
List.java:124)
	at
org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.loadO
nBackground(OpenProjectList.java:348)
	at
org.netbeans.modules.project.ui.OpenProjectList$LoadOpenProjects.run(O
penProjectList.java:270)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)

[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:
997)


after the exception is thrown, the ide essentially is dead.  It's
visible, but clicking anywhere in the app simply gets no response
whatsoever.

you can try and close it, but, as they say, the lights are on, but
nobody's home.

the ide just sits there completely unresponsive.  I have to use the
windows task manager to kill the java.exe in order to close the ide.

this is a major issue.

even if there are 'problems' with the project definition, it
shouldn't make the entire ide become non responsive.

if I don't get it to display the details quickly enough, even the
exception dialog box becomes non responsive.
Comment 1 pbelbin 2008-08-21 01:01:30 UTC
this is netbeans 6.5 beta.
Comment 2 Milos Kleint 2008-08-21 10:34:52 UTC
the assert is sort of correct. I've relaxed it to be a log message only though. it was an assert to prevent "developers"
not "users" to provide correct data. However the fact that it hoses the IDE completely is not right..
http://hg.netbeans.org/main/rev/445e5c30d7f1

anyway, you can get rid of the assert by removing the -ea switch from etc/netbeans.conf However that could have other
unforseen consequences as it's not exactly the same as the new behaviour.
Comment 3 Quality Engineering 2008-08-22 06:05:45 UTC
Integrated into 'main-golden', available in build *200808220201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/445e5c30d7f1
User: Milos Kleint <mkleint@netbeans.org>
Log: #144658 avoid assert here, as the IDE becomes unresponsive otherwise
Comment 4 Jesse Glick 2010-05-04 23:21:51 UTC
*** Bug 116237 has been marked as a duplicate of this bug. ***