Bernard created NETBEANS-4408:
---------------------------------

             Summary: JUnit single method test execution fails with eception
                 Key: NETBEANS-4408
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4408
             Project: NetBeans
          Issue Type: Bug
          Components: java - JUnit
    Affects Versions: 11.3
         Environment: Windows 7
            Reporter: Bernard


java.lang.UnsupportedOperationException: command: clean, JavaRunner impls: 
[org.netbeans.modules.java.source.ant.ProjectRunnerImpl@bf847d8]
 at org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:303)
 at 
org.netbeans.modules.maven.cos.CosChecker.cleanGeneratedClassfiles(CosChecker.java:293)
 at org.netbeans.modules.maven.cos.CosChecker.touchProject(CosChecker.java:480)
 at 
org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:135)
 at 
org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:215)
[catch] at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)

The project and method under test are both trivial.


Happens frequently when I right click on the method
testGetTalkStreamUrlWork3(){
}

and then "Run focused test method"

In the output window, I see Run() is still running - a new instance is addedd 
every time I repeat this and a new error is generated.

Permanently fails. Does not happen all the time, only sometimes so it is 
perhaps difficult to reproduce.

Have to re-start the IDE to fix it.

"TestProject.zip5 kB
 
 Jira could not attach the file as there was a missing token. Please try 
attaching the file again."
 
"messages.log113 kB
  Jira could not attach the file as there was a missing token. Please try 
attaching the file again."
Will try later to attach log files and project.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to