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 42019 - termination of ide after some time period doesn't work
Summary: termination of ide after some time period doesn't work
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 13:21 UTC by pzajac
Modified: 2006-03-24 10:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
part of log with thread dump (15.88 KB, text/plain)
2004-04-15 13:22 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2004-04-15 13:21:04 UTC
This feature can be reproduced  on openide/unit tests.

XTest: Hard timeout occured - trying to kill IDE
XTest: Exception thrown when capturing IDE
screenshot: org/netbeans/xtest/util/PNGEncoder
requesting thread dump on process with PID=6611
    [xtest] java.lang.NoClassDefFoundError:
org/netbeans/xtest/util/NativeKill
    [xtest]     at
org.netbeans.xtest.plugin.ide.IdeExecWatchdog.killIde(IdeExecWatchdog.java:218)
    [xtest]     at
org.netbeans.xtest.plugin.ide.IdeExecWatchdog.timeoutOccured(IdeExecWatchdog.java:85)
    [xtest]     at
org.apache.tools.ant.util.Watchdog.fireTimeoutOccured(Watchdog.java:58)
    [xtest]     at
org.apache.tools.ant.util.Watchdog.run(Watchdog.java:84)
    [xtest]     at
java.lang.Thread.run(Thread.java:534)
Comment 1 pzajac 2004-04-15 13:22:38 UTC
Created attachment 14412 [details]
part of log with thread dump
Comment 2 Jiri Skrivanek 2004-04-26 19:12:51 UTC
Fixed in xtest/plugins_src/ide/lib/ide_plugin_targets.xml version
1.15. xtest.jar has to be on classpath for IdeTestRunnerTask to enable
kill facility.
Comment 3 pzajac 2004-04-27 13:46:33 UTC
It still doesn't work correcetly. No NoClassDefFoundError exception
hasn't thrown. 
Comment 4 pzajac 2004-04-28 10:12:24 UTC
The test is terminated.
Comment 5 pzajac 2004-05-05 10:47:14 UTC
v