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.
Summary: | project verification in the background netbeans never ends | ||
---|---|---|---|
Product: | javaee | Reporter: | franciscocpg |
Component: | JSF Editor | Assignee: | Martin Fousek <marfous> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | chinhui, mallick, mircea273, mmirilovic, mopsyd, otherrealm, pjiricka, ralphbenjamin, salviof, tzezula, ugho, uklcpsgr, vishusahu |
Priority: | P2 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Log do IDE
Arquivo .npss anexado do NetBeans |
Description
franciscocpg
2013-05-23 17:50:10 UTC
Created attachment 134828 [details]
Log do IDE
I forgot to say. I have to close and open the IDE to solve the error. The scan of the AcessaTIWEBDirhectEntities/src takes approximately 10 seconds, but whenever it's done it's restarted again by the FaceletsLibrarySupport, again and again.
>INFO [FaceletsLibrarySupport]: Invalidating facelets libraries due to a library descriptor change.
I think that FaceletsLibrarySupport is a part of JSF, please reassign to correct j2ee submodule if not. I added logging message at another invalidation but that will be unrelated, I think (web-main #c730d01dffe7). The logic is such that: - FLS counts hash from indexes for composite library names and library descriptors - if it differs it sets the new hash and forces the refresh - checks the hash again -> here must be problem that the hash from the index must be always different than the previous counted one - it can be maybe issue in the EL index Reporter please could you do snapshot from one cycle of the background scan? When you will have IDE in such state as was the reported one, start the IDE profiling (ALT + SHIFT + Y) and stop it after one round showing in the bottom status. Then please attach the snapshot to this issue. BTW. Ideal would be if you could also share your project with me (privately - marfous[at]netbeans[dot]org) but I understand that it's not always possible. Thanks a lot. Sorry, of course - not in EL but in JSF Editor. I'm gonna try to reproduce the problem and follow the directions you gave me. Unfortunately i cannot share the project. Thank you (In reply to comment #5) > I added logging message at another invalidation but that will be unrelated, I > think (web-main #c730d01dffe7). > > The logic is such that: > - FLS counts hash from indexes for composite library names and library > descriptors > - if it differs it sets the new hash and forces the refresh > - checks the hash again > -> here must be problem that the hash from the index must be always different > than the previous counted one - it can be maybe issue in the EL index > > Reporter please could you do snapshot from one cycle of the background scan? > When you will have IDE in such state as was the reported one, start the IDE > profiling (ALT + SHIFT + Y) and stop it after one round showing in the bottom > status. Then please attach the snapshot to this issue. > > BTW. Ideal would be if you could also share your project with me (privately - > marfous[at]netbeans[dot]org) but I understand that it's not always possible. > > Thanks a lot. Created attachment 134974 [details]
Arquivo .npss anexado do NetBeans
arquivo .npss
The problem occurred again today. I have attached the IDE profiling at the comment 8. Thanks for attaching the snapshot. I figured out at least cause of these troubles which is fix for issue #226968. I'm going to remove "IndexingManager.getDefault().refreshAllIndices()" call with some comment addition and reopen the original bug since it requires different solution. BTW, this code is not part of the Nb731, I'm including not-a-stopper status. Fixed in web-main #808c18d16386. Franciscocpg if you will download new development build in about 2 days, your troubles with the background scanning should be gone. Integrated into 'main-golden', will be available in build *201305282301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/808c18d16386 User: Martin Fousek <marfous@netbeans.org> Log: #230198 - project verification in the background netbeans never ends *** Bug 230676 has been marked as a duplicate of this bug. *** Background scanning of project never ends. It is stuck on Collecting project dependencies See report id #857395. |