You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Bernard (Jira)" <ji...@apache.org> on 2020/07/08 15:24:00 UTC

[jira] [Updated] (NETBEANS-4408) JUnit single method test execution fails with exception

     [ https://issues.apache.org/jira/browse/NETBEANS-4408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernard updated NETBEANS-4408:
------------------------------
    Summary: JUnit single method test execution fails with exception  (was: JUnit single method test execution fails with eception)

> JUnit single method test execution fails with exception
> -------------------------------------------------------
>
>                 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
>            Priority: Critical
>         Attachments: TestProject.zip, messages.log
>
>
> 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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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