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.
[ BUILD # : 201301160001 ] [ JDK VERSION : 1.6.0_38 ] Reproduction * create "new java web app" using "new project..." wizard * create "restful java client" using "new file..." wizard * choose IDE registered webservice "Amazon/EC2 Service" and let the client be generated * accept the confirmation dialog -> code gets generated and the output window is shown ACTUAL: there is an exception in the output window - see below EXPECTED: there is NO exception in the output window FYI: This is a follow up issue from http://netbeans.org/bugzilla/show_bug.cgi?id=224876 ---- ant -f D:\\ws_netbeans\\WebApplication5 saas.xjc.amazon.ec2service saas-init-xjc: saas.xjc.amazon.ec2service: Consider using <depends>/<produces> so that XJC won't do unnecessary compilation Compiling file:/D:/ws_netbeans/WebApplication5/src/java/META-INF/AmazonEC2.xsd Writing output to D:\ws_netbeans\WebApplication5\src\java D:\ws_netbeans\WebApplication5\build.xml:80: java.lang.SecurityException: Dangerous reflection access to sun.misc.ClassLoaderUtil by class com.sun.istack.tools.ProtectedTask detected! at org.netbeans.TopSecurityManager.checkMemberAccess(TopSecurityManager.java:428) at java.lang.Class.checkMemberAccess(Class.java:2157) at java.lang.Class.getDeclaredMethod(Class.java:1934) at com.sun.istack.tools.ProtectedTask.execute(ProtectedTask.java:138) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:392) at org.apache.tools.ant.Target.performTasks(Target.java:413) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:283) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:541) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) BUILD FAILED (total time: 0 seconds)
Caused by http://hg.netbeans.org/main-golden/rev/599d8df6ad83
Have a look at 224108. The same stacktrace there. Is this issue a duplicate?
Sounds like a P1, no?
(In reply to comment #2) > Have a look at 224108. The same stacktrace there. Is this issue a duplicate? That's true. This is exactly duplicate. *** This bug has been marked as a duplicate of bug 224108 ***