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 194296

Summary: IllegalStateException: AntSession/AntEvent/TaskStructure method called after completion of Ant process
Product: projects Reporter: Martin Entlicher <mentlicher>
Component: AntAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal Keywords: RANDOM, THREAD
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 165130
Attachments: stacktrace

Description Martin Entlicher 2011-01-13 10:16:56 UTC
Build: NetBeans IDE Dev (Build 101112-828401e30f74)
VM: Java HotSpot(TM) Client VM, 19.0-b05, Java(TM) SE Runtime Environment, 1.7.0-ea-b106
OS: Linux

Stacktrace: 
java.lang.IllegalStateException: AntSession/AntEvent/TaskStructure method called after completion of Ant process
   at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.verifyRunning(NbBuildLogger.java:224)
   at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.println(NbBuildLogger.java:656)
   at org.apache.tools.ant.module.spi.AntSession.println(AntSession.java:127)
   at org.apache.tools.ant.module.run.StandardLogger$PartiallyLinkedLine.println(StandardLogger.java:461)
   at org.apache.tools.ant.module.bridge.impl.ForkedJavaOverride$Copier.run(ForkedJavaOverride.java:310)
   at java.lang.Thread.run(Thread.java:717)
Comment 1 Martin Entlicher 2011-01-13 10:16:59 UTC
Created attachment 104950 [details]
stacktrace
Comment 2 Jesse Glick 2011-03-03 18:30:03 UTC
core-main #35f3926c8c56
Comment 3 Quality Engineering 2011-03-04 05:42:13 UTC
Integrated into 'main-golden', will be available in build *201103040000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/35f3926c8c56
User: Jesse Glick <jglick@netbeans.org>
Log: #194296: IllegalStateException: AntSession/AntEvent/TaskStructure method called after completion of Ant process
ThreadDeath is generally just caught and ignored when the thread exits.