ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26254] New: - hitting CTRL+C throws an exception
Date Mon, 19 Jan 2004 16:50:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26254>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26254

hitting CTRL+C throws an exception

           Summary: hitting CTRL+C throws an exception
           Product: Ant
           Version: 1.6.0
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: Maarten.Coene@qmedit.com


Hi,

If I hit Ctrl + C while ant is busy with a task (e.g. compiling or generating
javadocs), an exception is thrown. This wasn't the case with ant 1.5

I'm using windows XP and this is the ant version I'm using:
C:\>ant -version
Apache Ant version 1.6.0 compiled on December 18 2003


here is the stacktrace:

    [javac] java.lang.reflect.InvocationTargetException
    [javac]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [javac]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [javac]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
    [javac]     at java.lang.reflect.Method.invoke(Method.java:489)
    [javac]     at
org.apache.tools.ant.taskdefs.ProcessDestroyer.removeShutdownHook(ProcessDestroye
r.java:153)
    [javac]     at
org.apache.tools.ant.taskdefs.ProcessDestroyer.remove(ProcessDestroyer.java:223)
    [javac]     at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:526)
    [javac]     at
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCom
pile(DefaultCompilerAdapter.java:486)
    [javac]     at
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:
81)
    [javac]     at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:976)
    [javac]     at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799)
    [javac]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
    [javac]     at org.apache.tools.ant.Task.perform(Task.java:401)
    [javac]     at org.apache.tools.ant.Target.execute(Target.java:338)
    [javac]     at org.apache.tools.ant.Target.performTasks(Target.java:365)
    [javac]     at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
    [javac]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:420)
    [javac]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
    [javac]     at org.apache.tools.ant.Task.perform(Task.java:401)
    [javac]     at org.apache.tools.ant.Target.execute(Target.java:338)
    [javac]     at org.apache.tools.ant.Target.performTasks(Target.java:365)
    [javac]     at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
    [javac]     at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
    [javac]     at org.apache.tools.ant.Main.runBuild(Main.java:669)
    [javac]     at org.apache.tools.ant.Main.startAnt(Main.java:220)
    [javac]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
    [javac]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
    [javac] Caused by: java.lang.IllegalStateException: Shutdown in progress
    [javac]     at java.lang.Shutdown.remove(Shutdown.java:104)
    [javac]     at java.lang.Runtime.removeShutdownHook(Runtime.java:218)
    [javac]     ... 27 more

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message