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.

Bug 269483

Summary: NB 8.2 cannot launch newest ant versions
Product: ide Reporter: ulim <ulim>
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description ulim 2017-01-03 14:09:37 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Linux version 4.8.15-200.fc24.x86_64 running on i386
Java; VM; Vendor = 1.8.0_112
Runtime = Java HotSpot(TM) Client VM 25.112-b15

Reproducibility: Happens every time

STEPS:
  * install ant 1.9.8 or 1.10.1 and configure IDE to use it
  * prepare a standard NB project with generated build file
  * launch IDE
  * Build prepared project (or run any ant target from build file)

ACTUAL:
  * Output Window opens, but no text is displayed
  * a task starts running in the bottom task bar, but never finishes and can't be aborted
  * Note that this happens only on the first invocation of ant, subsequent invocations work as expected
  * Note that this does not happen with ant 1.9.7
  * Note the IllegalAccessException in the logfile - this is the cause of the error

EXPECTED:
  * IDE builds project and displays ant output in Output Window
Comment 1 ulim 2017-01-03 14:09:41 UTC
Created attachment 163329 [details]
IDE log
Comment 2 ulim 2017-01-03 14:13:28 UTC
Of course it's not an IllegalAccessException, but an IllegalAccessError in the log.