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 218575 - Faulty annotation processor increases scanning time
Summary: Faulty annotation processor increases scanning time
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-18 18:53 UTC by Exceptions Reporter
Modified: 2015-02-04 03:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192545


Attachments
stacktrace (2.30 KB, text/plain)
2012-09-18 18:53 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-09-18 18:53:47 UTC
This issue was reported manually by sdedic.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build nbms-and-javadoc-8785-on-20120225)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Windows 7

Stacktrace: 
java.lang.Exception: Scan canceled.
   at java.lang.Thread.getStackTrace(Thread.java:1567)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:80)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:73)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.fileChangedImpl(RepositoryUpdater.java:746)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$5700(RepositoryUpdater.java:138)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FCL.fileDataCreated(RepositoryUpdater.java:5581)
Comment 1 Exceptions Reporter 2012-09-18 18:53:52 UTC
Created attachment 124536 [details]
stacktrace
Comment 2 Svata Dedic 2012-09-18 18:55:29 UTC
There's an error in annotation processor (org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor), which seems to abort javac and the whole (?) java indexer.

The annotation processor should be removed from the processing, if it raises errors during scanning, probably with a note to the user.
Comment 3 Quality Engineering 2015-02-04 03:29:23 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.