DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40726>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40726 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://java.sun.com/products | |/cdctoolkit/download-1_0- | |beta.html Status|NEEDINFO |NEW ------- Additional Comments From [EMAIL PROTECTED] 2006-10-12 04:44 ------- Hi again As I said, the executable is the CDC Toolkit Beta. It can be downloaded from the url above (http://java.sun.com/products/cdctoolkit/download-1_0-beta.html). The scenario I used to reproduce the bug is chosing one of the sample projects (HelloAGUI in my example) and running several instances of it (opens several emulators). The toolbar used runs the emulators using ant (in my case, it was ant 1.6.5). When closing all the emulators one after the other, I get the IllegalArgumentException. The build file used exists inside the toolkit's folder structure: /apps/HelloAGUI/nbproject/build-impl.xml I couldn't reproduce this bug with 1.7 beta 2. Here is the stack trace I got now: ------------------------------------- Adding reference: ant.PropertyHelper Detected Java version: 1.5 in: C:\PROGRA~1\Java\JDK15~1.0\jre Detected OS: Windows XP Adding reference: ant.ComponentHelper Setting ro project property: ant.file -> C:\CDCTK10_Out\apps\HelloAGUI\build.xml Setting ro project property: ant.version -> Apache Ant version 1.6.5 compiled on June 2 2005 Setting ro project property: ant.home -> C:\CDCTK10_Out\toolbar\ide6\ant Setting ro project property: build.compiler.emacs -> true Adding reference: ant.projectHelper Adding reference: ant.parsing.context Adding reference: ant.targets parsing buildfile C:\CDCTK10_Out\apps\HelloAGUI\build.xml with URI = file:///C:/CDCTK10_Out/apps/HelloAGUI/build.xml Setting ro project property: ant.project.name -> HelloAGUI Adding reference: HelloAGUI Setting ro project property: ant.file.HelloAGUI -> C:\CDCTK10_Out\apps\HelloAGUI\build.xml Project base dir set to: C:\CDCTK10_Out\apps\HelloAGUI +Target: Importing file nbproject/build-impl.xml from C:\CDCTK10_Out\apps\HelloAGUI\build.xml parsing buildfile C:\CDCTK10_Out\apps\HelloAGUI\nbproject\build-impl.xml with URI = file:///C:/CDCTK10_Out/apps/HelloAGUI/nbproject/build-impl.xml Setting ro project property: ant.file.HelloAGUI-impl -> C:\CDCTK10_Out\apps\HelloAGUI\nbproject\build-impl.xml +Target: default +Target: -pre-init +Target: -init-private +Target: -init-user +Target: -init-project +Target: -do-init Adding reference: platform.home.temp Adding reference: platform.bootclasspath.temp +Target: -post-init +Target: -init-check +Target: -init-macrodef-property +Target: -init-macrodef-javac +Target: -init-macrodef-junit +Target: -init-macrodef-nbjpda +Target: -init-macrodef-debug +Target: -init-macrodef-java +Target: -init-presetdef-jar +Target: init +Target: deps-jar +Target: -pre-pre-compile +Target: -pre-compile +Target: -do-compile +Target: -post-compile +Target: compile +Target: -pre-compile-single +Target: -do-compile-single +Target: -post-compile-single +Target: compile-single +Target: -pre-pre-jar +Target: -pre-jar +Target: -do-jar-without-manifest +Target: -do-jar-with-manifest +Target: -do-jar-with-mainclass +Target: -post-jar +Target: run +Target: run-application +Target: run-xlet +Target: run-single +Target: -debug-start-debugger +Target: -debug-start-debuggee +Target: debug +Target: -debug-start-debugger-stepinto +Target: debug-stepinto +Target: -debug-start-debuggee-single +Target: debug-single +Target: -pre-debug-fix +Target: -do-debug-fix +Target: debug-fix +Target: -javadoc-build +Target: -javadoc-browse +Target: javadoc +Target: -pre-pre-compile-test +Target: -pre-compile-test +Target: -do-compile-test +Target: -post-compile-test +Target: compile-test +Target: -pre-compile-test-single +Target: -do-compile-test-single +Target: -post-compile-test-single +Target: compile-test-single +Target: -pre-test-run +Target: -do-test-run +Target: -post-test-run +Target: test-report +Target: -test-browse +Target: test +Target: -pre-test-run-single +Target: -do-test-run-single +Target: -post-test-run-single +Target: test-single +Target: -debug-start-debuggee-test +Target: -debug-start-debugger-test +Target: debug-test +Target: -do-debug-fix-test +Target: debug-fix-test +Target: deps-clean +Target: -do-clean +Target: -post-clean +Target: clean Importing file build-target.xml from C:\CDCTK10_Out\apps\HelloAGUI\nbproject\build-impl.xml parsing buildfile C:\CDCTK10_Out\apps\HelloAGUI\nbproject\build-target.xml with URI = file:///C:/CDCTK10_Out/apps/HelloAGUI/nbproject/build-target.xml Setting ro project property: ant.file.HelloAGUI-target-xml -> C:\CDCTK10_Out\apps\HelloAGUI\nbproject\build-target.xml +Target: jar Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor Adding reference: ant.executor Build sequence for target(s) `run' is [-pre-init, -init-private, -init-user, -init-project, -init-macrodef-property, -do-init, -post-init, -init-check, -init-macrodef-javac, -init-macrodef-junit, -init-macrodef-nbjpda, -init-macrodef-debug, -init-macrodef-java, -init-presetdef-jar, init, deps-jar, -pre-pre-compile, -pre-compile, -do-compile, -post-compile, compile, -pre-jar, -pre-pre-jar, -do-jar-with-manifest, -do-jar-without-manifest, -do-jar-with-mainclass, -post-jar, jar, run-xlet, run] Complete build sequence is [-pre-init, -init-private, -init-user, -init-project, -init-macrodef-property, -do-init, -post-init, -init-check, -init-macrodef-javac, -init-macrodef-junit, -init-macrodef-nbjpda, -init-macrodef-debug, -init-macrodef-java, -init-presetdef-jar, init, deps-jar, -pre-pre-compile, -pre-compile, -do-compile, -post-compile, compile, -pre-jar, -pre-pre-jar, -do-jar-with-manifest, -do-jar-without-manifest, -do-jar-with-mainclass, -post-jar, jar, run-xlet, run, -post-compile-test-single, -pre-test-run, -pre-compile-single, -do-compile-single, -post-compile-single, compile-single, run-single, -pre-pre-compile-test, -pre-compile-test, -do-compile-test, -post-compile-test, compile-test, -debug-start-debugger, -debug-start-debuggee, debug, -debug-start-debugger-test, -debug-start-debuggee-test, debug-test, -do-test-run, -debug-start-debuggee-single, debug-single, test-report, -javadoc-build, -pre-test-run-single, -post-test-run, -test-browse, test, -javadoc-browse, javadoc, default, -pre-compile-test-single, -do-compile-test-single, compile-test-single, -do-test-run-single, -debug-start-debugger-stepinto, -post-test-run-single, deps-clean, -do-clean, -post-clean, clean, -pre-debug-fix, -do-debug-fix, debug-fix, debug-stepinto, -do-debug-fix-test, run-application, debug-fix-test, test-single, ] -pre-init: -init-private: Loading C:\CDCTK10_Out\apps\HelloAGUI\nbproject\private\private.properties Setting project property: platforms.Sun_Java_Toolkit_1.0_for_Connected_Device_Configuration__Beta.home -> C:\CDCTK10_Out -init-user: Property ${user.properties.file} has not been set Loading C:\CDCTK10_Out\apps\HelloAGUI\${user.properties.file} Unable to find property file: C:\CDCTK10_Out\apps\HelloAGUI\${user.properties.file} Setting project property: default.javac.source -> 1.4 Setting project property: default.javac.target -> 1.4 -init-project: Loading C:\CDCTK10_Out\apps\HelloAGUI\nbproject\project.properties Setting project property: platform.profile -> AGUI-1.0 Setting project property: javac.deprecation -> false Setting project property: project.name -> HelloAGUI Setting project property: build.test.results.dir -> build/test/results Property ${platform.home} has not been set Setting project property: emulator.bin.dir -> ${platform.home}/bin Setting project property: run.classpath -> :build/classes Setting project property: javadoc.nonavbar -> false Property ${libs.junit.classpath} has not been set Setting project property: run.test.classpath -> :build/classes:${libs.junit.classpath}:build/test/classes Setting project property: main.class.xlet -> true Setting project property: javac.target -> 1.4 Setting project property: javadoc.noindex -> false Setting project property: main.class.applet -> false Setting project property: javadoc.additionalparam -> Setting project property: build.classes.dir -> build/classes Setting project property: javadoc.author -> false Setting project property: build.dir -> build Property ${platform.home} has not been set Property ${platform.home} has not been set Property ${platform.home} has not been set Property ${platform.home} has not been set Property ${platform.home} has not been set Setting project property: platform.bootclasspath -> ${platform.home}\lib\rt.jar;${platform.home}\lib\jce.jar;${platform.home}\lib\agui-1.0.jar;${platform.home}\lib\jsse-cdc.jar;${platform.home}\lib\jaas.jar Property ${platform.home} has not been set Setting project property: emulator.bin -> ${platform.home}/bin/emulator Setting project property: build.test.classes.dir -> build/test/classes Setting project property: platform.active -> Sun_Java_Toolkit_1.0_for_Connected_Device_Configuration__Beta Setting project property: javac.compilerargs -> Setting project property: main.class -> HelloAGUI Setting project property: platform.device -> DefaultColorPhone Setting project property: dist.jar -> dist/HelloAGUI.jar Setting project property: javadoc.use -> true Setting project property: build.sysclasspath -> ignore Property ${libs.junit.classpath} has not been set Setting project property: debug.test.classpath -> :build/classes:${libs.junit.classpath}:build/test/classes Setting project property: dist.dir -> dist Setting project property: build.classes.excludes -> **/*.java,**/*.form Setting project property: javadoc.encoding -> Setting project property: javadoc.splitindex -> true Setting project property: javac.source -> 1.4 Setting project property: debug.classpath -> :build/classes Setting project property: run.jvmargs -> Setting project property: jar.compress -> false Property ${libs.junit.classpath} has not been set Setting project property: javac.test.classpath -> :build/classes:${libs.junit.classpath} Setting project property: javadoc.private -> false Setting project property: manifest.file -> manifest.mf Setting project property: dist.javadoc.dir -> dist/javadoc Setting project property: src.dir -> src Setting project property: javac.classpath -> Setting project property: application.args -> Setting project property: javadoc.version -> false Setting project property: javadoc.windowtitle -> Setting project property: javadoc.notree -> false Loading C:\CDCTK10_Out\toolbar\bin\java.properties Setting project property: JRE.only -> false Condition false; not setting JRE.only.istrue -init-macrodef-property: +Datatype http://www.netbeans.org/ns/cdc-project/1:property org.apache.tools.ant.taskdefs.MacroInstance -do-init: Setting project property: platform.home -> C:\CDCTK10_Out Property ${platforms.Sun_Java_Toolkit_1.0_for_Connected_Device_Configuration__Beta.compile} has not been set Setting project property: platform.compiler -> ${platforms.Sun_Java_Toolkit_1.0_for_Connected_Device_Configuration__Beta.compile} Property ${platforms.Sun_Java_Toolkit_1.0_for_Connected_Device_Configuration__Beta.javac} has not been set Setting project property: platform.javac.tmp -> ${platforms.Sun_Java_Toolkit_1.0_for_Connected_Device_Configuration__Beta.javac} Condition true; setting platform.javac to C:\CDCTK10_Out/bin/javac Setting project property: platform.javac -> C:\CDCTK10_Out/bin/javac Override ignored for property platform.javac Property ${platforms.Sun_Java_Toolkit_1.0_for_Connected_Device_Configuration__Beta.java} has not been set Setting project property: platform.java.tmp -> ${platforms.Sun_Java_Toolkit_1.0_for_Connected_Device_Configuration__Beta.java} Condition true; setting platform.java to C:\CDCTK10_Out/bin/java Setting project property: platform.java -> C:\CDCTK10_Out/bin/java Override ignored for property platform.java Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp Adding reference: platform.home.temp Set property platform.home.reg = C:/CDCTK10_Out Setting project property: platform.home.reg -> C:/CDCTK10_Out Condition false; not setting platform.invalid Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp Adding reference: platform.bootclasspath.temp Set property platform.bootcp = C:/CDCTK10_Out\lib\rt.jar;C:/CDCTK10_Out\lib\jce.jar;C:/CDCTK10_Out\lib\agui-1.0.jar;C:/CDCTK10_Out\lib\jsse-cdc.jar;C:/CDCTK10_Out\lib\jaas.jar Setting project property: platform.bootcp -> C:/CDCTK10_Out\lib\rt.jar;C:/CDCTK10_Out\lib\jce.jar;C:/CDCTK10_Out\lib\agui-1.0.jar;C:/CDCTK10_Out\lib\jsse-cdc.jar;C:/CDCTK10_Out\lib\jaas.jar Found: manifest.mf Setting project property: manifest.available -> true Condition true; setting manifest.available+main.class to true Setting project property: manifest.available+main.class -> true Condition false; not setting have.tests Condition false; not setting netbeans.home+have.tests Property ${javadoc.preview} has not been set Condition true; setting no.javadoc.preview to true Setting project property: no.javadoc.preview -> true Override ignored for property run.jvmargs Override ignored for property javac.compilerargs Setting project property: work.dir -> C:\CDCTK10_Out\apps\HelloAGUI Property ${no.dependencies} has not been set Condition false; not setting no.deps -post-init: -init-check: -init-macrodef-javac: Property ${javac.debug} has not been set +Datatype http://www.netbeans.org/ns/cdc-project/1:javac org.apache.tools.ant.taskdefs.MacroInstance -init-macrodef-junit: +Datatype http://www.netbeans.org/ns/cdc-project/1:junit org.apache.tools.ant.taskdefs.MacroInstance -init-macrodef-nbjpda: +Datatype http://www.netbeans.org/ns/cdc-project/1:nbjpdastart org.apache.tools.ant.taskdefs.MacroInstance +Datatype http://www.netbeans.org/ns/cdc-project/1:nbjpdareload org.apache.tools.ant.taskdefs.MacroInstance -init-macrodef-debug: +Datatype http://www.netbeans.org/ns/cdc-project/1:debug org.apache.tools.ant.taskdefs.MacroInstance -init-macrodef-java: +Datatype http://www.netbeans.org/ns/cdc-project/1:java org.apache.tools.ant.taskdefs.MacroInstance -init-presetdef-jar: +Datatype http://www.netbeans.org/ns/cdc-project/1:jar org.apache.tools.ant.taskdefs.Jar init: deps-jar: -pre-pre-compile: -pre-compile: Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend Could not load a dependent class (junit/framework/Test) for type junit fileset: Setup scanner in dir C:\CDCTK10_Out\apps\HelloAGUI\build\classes with patternSet{ includes: [**/*.class] excludes: [] } C:\CDCTK10_Out\apps\HelloAGUI\build\classes\HelloAGUI$1.class is oldest target file fileset: Setup scanner in dir C:\CDCTK10_Out\apps\HelloAGUI\nbproject with patternSet{ includes: [project.properties] excludes: [] } -do-compile: Property ${javac.debug} has not been set fileset: Setup scanner in dir C:\CDCTK10_Out\apps\HelloAGUI\src with patternSet{ includes: [] excludes: [] } HelloAGUI.java omitted as HelloAGUI.class is up to date. fileset: Setup scanner in dir C:\CDCTK10_Out\apps\HelloAGUI\src with patternSet{ includes: [] excludes: [**/*.java, **/*.form] } omitted as is up to date. -post-compile: compile: -pre-jar: -pre-pre-jar: Setting project property: dist.jar.dir -> C:\CDCTK10_Out\apps\HelloAGUI\dist -do-jar-with-manifest: Skipped because property 'manifest.available+main.class' set. -do-jar-without-manifest: Skipped because property 'manifest.available' set. -do-jar-with-mainclass: fileset: Setup scanner in dir C:\CDCTK10_Out\apps\HelloAGUI\build\classes with patternSet{ includes: [] excludes: [] } HelloAGUI$1.class omitted as HelloAGUI$1.class is up to date. HelloAGUI.class omitted as HelloAGUI.class is up to date. -post-jar: jar: run-xlet: Current OS is Windows XP Executing 'C:\CDCTK10_Out\bin\emulator' with arguments: '-Xbootclasspath:C:/CDCTK10_Out\lib\rt.jar;C:/CDCTK10_Out\lib\jce.jar;C:/CDCTK10_Out\lib\agui-1.0.jar;C:/CDCTK10_Out\lib\jsse-cdc.jar;C:/CDCTK10_Out\lib\jaas.jar' '-Xdevice:DefaultColorPhone' '-Xxlet' '-name' 'HelloAGUI' '-path' 'C:\CDCTK10_Out\apps\HelloAGUI/dist/HelloAGUI.jar' The ' characters around the executable and arguments are not part of the command. Execute:Java13CommandLauncher: Executing 'C:\CDCTK10_Out\bin\emulator' with arguments: '-Xbootclasspath:C:/CDCTK10_Out\lib\rt.jar;C:/CDCTK10_Out\lib\jce.jar;C:/CDCTK10_Out\lib\agui-1.0.jar;C:/CDCTK10_Out\lib\jsse-cdc.jar;C:/CDCTK10_Out\lib\jaas.jar' '-Xdevice:DefaultColorPhone' '-Xxlet' '-name' 'HelloAGUI' '-path' 'C:\CDCTK10_Out\apps\HelloAGUI/dist/HelloAGUI.jar' The ' characters around the executable and arguments are not part of the command. @@XletRunner starting Xlet HelloAGUI CVM halt with status 0 C:\CDCTK10_Out\apps\HelloAGUI\nbproject\build-impl.xml:338: java.lang.IllegalThreadStateException at org.apache.tools.ant.Task.perform(Task.java:373) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:287) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125) Caused by: java.lang.IllegalThreadStateException at java.lang.ThreadGroup.add(ThreadGroup.java:856) at java.lang.Thread.start(Thread.java:573) at org.apache.tools.ant.taskdefs.ProcessDestroyer.removeShutdownHook(ProcessDestroyer.java:145) at org.apache.tools.ant.taskdefs.ProcessDestroyer.remove(ProcessDestroyer.java:198) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:490) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) ... 9 more --- Nested Exception --- java.lang.IllegalThreadStateException at java.lang.ThreadGroup.add(ThreadGroup.java:856) at java.lang.Thread.start(Thread.java:573) at org.apache.tools.ant.taskdefs.ProcessDestroyer.removeShutdownHook(ProcessDestroyer.java:145) at org.apache.tools.ant.taskdefs.ProcessDestroyer.remove(ProcessDestroyer.java:198) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:490) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:287) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125) BUILD FAILED (total time: 34 seconds) Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream) for type image Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend Could not load a dependent class (junit/framework/Test) for type junit -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]