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.
This bug was originally marked as duplicate of bug 227069, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.1 (Build 20160828-debian-8.1) VM: OpenJDK 64-Bit Server VM, 25.111-b14, OpenJDK Runtime Environment, 1.8.0_111-8u111-b14-3-b14 OS: Linux User Comments: GUEST: Created generic app, changed class to extend javafx Application, implemented override for start function (blank body), ran build via toolbar... Failure with progress bar still spinning. Ant build via shell works fine. Stacktrace: java.lang.IllegalAccessError at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:0) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:0) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:0)
Created attachment 163397 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=227680
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=227680
Created attachment 163577 [details] stacktrace Changed Options | Java | Ant location to external Ant 1.10.0 located at /opt/ (read-only for user running NB IDE) Then run a Build action of JavaFX project.
This happens for all Ant project types when Ant 1.10.0 is used.
IDE running on top of JDK9 EA.
Ant bug https://bz.apache.org/bugzilla/show_bug.cgi?id=60582. The problem is caused by the external Apache Ant 1.10.0 or 1.9.8. Already fixed by Stefan Bodewig in https://github.com/apache/ant/commit/1348ebb91c17cbc8506d2a1e323c3bff408348c8 The fix will be available in Ant 1.10.1 and 1.9.9 which is expected to be released this week: http://mail-archives.apache.org/mod_mbox/ant-dev/201702.mbox/%3C87o9yks84s.fsf%40v45346.1blu.de%3E http://mail-archives.apache.org/mod_mbox/ant-dev/201702.mbox/%3C87k298s805.fsf%40v45346.1blu.de%3E
The bug does not affect NB bundled Ant (1.10.0alpha).