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

Summary: termination of ide after some time period doesn't work
Product: obsolete Reporter: pzajac <pzajac>
Component: xtestAssignee: issues@obsolete <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: part of log with thread dump

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