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 241159 - Cannot open a file in editor: get "Calculating declaration position" or "Loading"
Summary: Cannot open a file in editor: get "Calculating declaration position" or "Load...
Status: RESOLVED DUPLICATE of bug 242541
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-30 11:02 UTC by jherkel
Modified: 2014-07-25 08:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE snapshot (1.24 MB, application/octet-stream)
2014-01-30 11:02 UTC, jherkel
Details
IDE log (77.55 KB, application/octet-stream)
2014-01-30 11:03 UTC, jherkel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jherkel 2014-01-30 11:02:45 UTC
Created attachment 144571 [details]
IDE snapshot

I could see this behavior when I opened some JSF xhtml files (with lot of namespaces,templates). After it I have tried to open some Java file via Ctrl+O and dialog "Calculating declaration position" was displayed. After some time I canceled it and saved the ide snapshot and closed the netbeans. I could see via TaskManager that netbeans exe was still running on background for a long time.

Environment: Win7 64bit,JDK 1.7.0u45 64bit
Comment 1 jherkel 2014-01-30 11:03:08 UTC
Created attachment 144573 [details]
IDE log
Comment 2 Tomas Hurka 2014-02-10 10:34:08 UTC
You cannot open java file because background scanning is running. Reassigning to java/source for further investigation.
Comment 3 Svata Dedic 2014-07-02 13:28:43 UTC
The said background scan remains in facelets support tasks most of the time. Reassigning to the jee support; please investigate.
Comment 4 Martin Fousek 2014-07-11 12:07:05 UTC
Reporter, please is the project anywhere available?

Every composite component check goes directly into the index. I'm going to cache CompositeComponentLibrary components and invalidate them on index changes.
Comment 5 Martin Fousek 2014-07-25 08:12:33 UTC
Duplicate of issue #242541. Reporter this slowness should be fixed in the next week's daily build or in the next release. Thanks a lot for reporting.

*** This bug has been marked as a duplicate of bug 242541 ***