Log in

View Full Version : Error: Need to start() me before you can write


ellisk
15-01-2010, 19:35
When I downloading code in Netbeans, I get the following error:

java.lang.IllegalStateException: Need to start() me before you can write
at com.sun.spot.sdk.tool.frc.AbstractNetConsole.write (AbstractNetConsole.java:188)
at com.sun.spot.sdk.tool.frc.AbstractNetConsole.write ln(AbstractNetConsole.java:213)
at com.sun.spot.sdk.tool.frc.RunTaskNetConsole.syncWi thPrompt(RunTaskNetConsole.java:70)
at com.sun.spot.sdk.tool.frc.RunTask.executeWithNetCo nsole(RunTask.java:118)
at com.sun.spot.sdk.tool.frc.RunTask.execute(RunTask. java:42)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:288)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:35 7)
at org.apache.tools.ant.Target.performTasks(Target.ja va:385)
at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project .java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1189)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl .run(BridgeImpl.java:278)
at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:497)
at org.netbeans.core.execution.RunClassThread.run(Run ClassThread.java:151)
BUILD FAILED (total time: 13 minutes 47 seconds)

Anyone ever seen this?

Thanks.

TPNigl
18-01-2010, 12:28
I'm going to bump this because I also get the same error and am unsure why.

ericarseneau
18-01-2010, 22:28
Which platform is this on?

This looks like a bug in my starting a thread at wrong time.

Does it happen all the time or just sometimes?

ericarseneau
19-01-2010, 18:06
I MAY have found the race condition, hope the problem goes away with this next release.