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 130242 - ThreadDeath at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.checkForStop
Summary: ThreadDeath at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.checkFor...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-16 15:18 UTC by minashokry
Modified: 2008-07-21 14:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 1787


Attachments
stacktrace (1.32 KB, text/plain)
2008-03-16 15:18 UTC, minashokry
Details
stacktrace (1.44 KB, text/plain)
2008-04-10 07:39 UTC, akbani
Details
stacktrace (1.44 KB, text/plain)
2008-04-21 02:31 UTC, free49498445
Details

Note You need to log in before you can comment on or make changes to this bug.
Description minashokry 2008-03-16 15:18:41 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_03-b05
OS: Linux, 2.6.22-14-generic, amd64

User Comments:
Comment 1 minashokry 2008-03-16 15:18:45 UTC
Created attachment 58448 [details]
stacktrace
Comment 2 Jesse Glick 2008-03-17 22:12:12 UTC
ThreadDeath is thrown to an Ant task which tries to log something after Build > Stop has been invoked. This is normal
for stopping Ant builds, and the Ant integration automatically catches and ignores it.

This case is different because Ant logging calls are being made outside of the dynamic scope of an Ant process, which is
generally a poor idea. If it is really necessary to do this, you will need to catch ThreadDeath yourself and either
ignore it, or (better) use that information to halt whatever you are doing.
Comment 3 akbani 2008-04-10 07:38:57 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105
OS: Windows XP, 5.1, x86

User Comments: 
Comment 4 akbani 2008-04-10 07:39:00 UTC
Created attachment 59948 [details]
stacktrace
Comment 5 free49498445 2008-04-21 02:31:30 UTC
Build: NetBeans IDE 6.1 RC1 (Build 200804100130)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06, Java(TM) SE Runtime Environment, 1.6.0_02-b06
OS: Windows XP, 5.1, x86

User Comments: 
Comment 6 free49498445 2008-04-21 02:31:35 UTC
Created attachment 60472 [details]
stacktrace
Comment 7 giorgio42 2008-07-18 10:01:55 UTC
42 stack traces already. This should be fixed in 6.5, IMHO.
Comment 8 Jesse Glick 2008-07-18 19:43:52 UTC
Agreed, please reevaluate given the frequency of this problem. Fix should be easy anyway.
Comment 9 Petr Hejl 2008-07-21 14:30:02 UTC
Fixed in main 899c492742cb.