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 259153 - Annotation Processors fail when compiling with IntelliJ Idea
Summary: Annotation Processors fail when compiling with IntelliJ Idea
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: pgebauer
Depends on:
Reported: 2016-05-06 16:43 UTC by j.boesl
Modified: 2016-05-06 16:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description j.boesl 2016-05-06 16:43:52 UTC
LayerGeneratingProcessors like ServiceTabProcessor are failing when compiling with IntelliJ Idea.
On console it says: 'Error:(81, 28) java: Cannot find resource org/netbeans/modules/db/explorer/node/'. By debugging the processor I found out that the real exception is: 'Attempt to reopen a file for path /home/a/j.boesl/p/0.0/ao/modules/nb-ide/org-netbeans-modules-db/target/classes/org/netbeans/modules/db/explorer/node/'. It seems the processor tries to open the file for writing while it is still in use.

At the issue was encountered, too. Jesse Glick noted that the processor might need to queue its work till 'processingOver' is 'true' (