This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE Dev (Build 091014) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) 1/ Get the sample projects attached to Issue 164368 2/ Open project mavenproject6, select AppTest.java in Test Packages 3/ Invoke Test File from popup menu The test invokes and finishes without problems, everything seems to work fine. However, there's a CCE in logfile: INFO [org.netbeans.modules.maven.execute.MavenJavaExecutor]: Error removing shutdown hook originated from Maven build. [Ljava.lang.Runnable; cannot be cast to java.util.Collection java.lang.ClassCastException: [Ljava.lang.Runnable; cannot be cast to java.util.Collection at org.netbeans.modules.maven.execute.MavenJavaExecutor.doRemoveAllShutdownHooks(MavenJavaExecutor.java:450) at org.netbeans.modules.maven.execute.MavenJavaExecutor.run(MavenJavaExecutor.java:380) [catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Created attachment 89514 [details] IDE logfile
Reassigning to default owner.
21bb0d0defeb apparently fixed this. Anyway in-IDE execution is no longer supported.