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 187381 - IllegalStateException: AntSession/AntEvent/TaskStructure method called after completion of Ant process
Summary: IllegalStateException: AntSession/AntEvent/TaskStructure method called after ...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
: 191154 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-09 14:09 UTC by Jaroslav Tulach
Modified: 2012-03-29 13:53 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 170562


Attachments
stacktrace (1.68 KB, text/plain)
2010-06-09 14:09 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2010-06-09 14:09:21 UTC
Build: NetBeans IDE Dev (Build 201006050001)
VM: OpenJDK Client VM, 14.0-b16, OpenJDK Runtime Environment, 1.6.0_18-b18
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.access$200(NbBuildLogger.java:105)
   at org.apache.tools.ant.module.bridge.impl.NbBuildLogger$Event.getMessage(NbBuildLogger.java:1134)
   at org.apache.tools.ant.module.spi.AntEvent.getMessage(AntEvent.java:187)
   at org.netbeans.modules.junit.output.JUnitOutputReader.messageLogged(JUnitOutputReader.java:286)
   at org.netbeans.modules.junit.output.JUnitAntLogger.messageLogged(JUnitAntLogger.java:286)
Comment 1 Jaroslav Tulach 2010-06-09 14:09:25 UTC
Created attachment 99937 [details]
stacktrace
Comment 2 Marian Mirilovic 2011-02-17 09:58:26 UTC
*** Bug 191154 has been marked as a duplicate of this bug. ***
Comment 3 Marian Mirilovic 2011-12-13 11:13:19 UTC
80 reports ... at least P2, but none of them reported after 7.0 Beta 2, so it might be already fixed
Comment 4 Theofanis Oikonomou 2012-03-29 13:53:32 UTC
The solution from bug 194296 seems to fix it: http://hg.netbeans.org/core-main/rev/35f3926c8c56