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

Summary: Faulty annotation processor increases scanning time
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: SourceAssignee: Tomas Zezula <tzezula>
Status: RESOLVED WORKSFORME    
Severity: normal CC: sdedic
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 192545
Attachments: stacktrace

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.