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
URL:
Keywords:
Depends on:
Blocks:
 
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:


Attachments

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/Bundle.properties'. 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/Bundle.properties'. It seems the processor tries to open the file for writing while it is still in use.

At https://issues.jenkins-ci.org/browse/JENKINS-11739 the issue was encountered, too. Jesse Glick noted that the processor might need to queue its work till 'processingOver' is 'true' (https://issues.jenkins-ci.org/browse/JENKINS-11739?focusedCommentId=166119&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-166119).