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.
Summary: | [65cat] IllegalStateException: AntSession/AntEvent/TaskStructure method called after completion of Ant process | ||
---|---|---|---|
Product: | projects | Reporter: | karmagfa <karmagfa> |
Component: | Ant | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | andycaramba, dsittler, emononen, greggwon, minashokry, nleck, senneko, szumowski, ymajoros |
Priority: | P3 | Keywords: | THREAD |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=9800 | ||
Issue Type: | DEFECT | Exception Reporter: | 9800 |
Attachments: |
stacktrace
stacktrace stacktrace |
Description
karmagfa
2008-08-31 17:40:51 UTC
Created attachment 68731 [details]
stacktrace
cdc3f20b645f Integrated into 'main-golden', will be available in build *200809200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/cdc3f20b645f User: Tomas Holy <t_h@netbeans.org> Log: #145722: IllegalStateException: AntSession/AntEvent/TaskStructure method called after completion of Ant process Reopening - reproduced in NetBeans IDE 6.5 (Build 200811100001) http://statistics.netbeans.org/exceptions/detail.do?id=9800 This issue already has 54 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=9800 Many duplicates, please reevaluate. The 6.7 cases are coming from a third-party module which is to blame (de.enough.polish.emulator.Emulator$DebuggerThread.run) but the 6.5 cases look legitimate. Build: NetBeans IDE 6.7 (Build 200906241340) VM: Java HotSpot(TM) 64-Bit Server VM, 16.0-b08, Java(TM) SE Runtime Environment, 1.7.0-ea-b71 OS: Linux, 2.6.27-14-generic, amd64 User Comments: Started debugging an nb module and then cancelled the process immediately afterwards. 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:219) at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.access$200(NbBuildLogger.java:100) at org.apache.tools.ant.module.bridge.impl.NbBuildLogger$Event.getScriptLocation(NbBuildLogger.java:1010) at org.apache.tools.ant.module.spi.AntEvent.getScriptLocation(AntEvent.java:138) at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.getInterestedLoggersByEvent(NbBuildLogger.java:259) at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.messageLogged(NbBuildLogger.java:605) Created attachment 88333 [details]
stacktrace
Created attachment 92690 [details]
stacktrace
Mostly seem to boil down to something running asynchronously and calling Task.log just after the process has shut down. Should just ignore such calls, I guess. core-main #f59b7c5e5c56 Integrated into 'main-golden', will be available in build *201004090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f59b7c5e5c56 User: Jesse Glick <jglick@netbeans.org> Log: #145722: [65cat] IllegalStateException: AntSession/AntEvent/TaskStructure method called after completion of Ant process |