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 255277 - Scanning does not stop
Summary: Scanning does not stop
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-14 14:52 UTC by Jiri Prox
Modified: 2015-09-16 01:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (24.08 KB, application/octet-string)
2015-09-14 14:52 UTC, Jiri Prox
Details
log (44.90 KB, application/octet-stream)
2015-09-14 14:52 UTC, Jiri Prox
Details
.npss file attached from NetBeans (1.58 MB, application/x-npss)
2015-09-14 15:09 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2015-09-14 14:52:17 UTC
Created attachment 156156 [details]
project

Background scanning does not stop when opening attached  project.
The progress bar stops at 95%, scanning d:\projects\PlainEditor\src

It was reproducible several times, even with the deleted cache.

I've tried to remove the performanceBig.java from the project and it started to work.




Product Version: NetBeans IDE Dev (Build 201509140002)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Comment 1 Jiri Prox 2015-09-14 14:52:49 UTC
Created attachment 156157 [details]
log
Comment 2 Jiri Prox 2015-09-14 14:58:39 UTC
Correction, the scanning finishes successfully, but it took more than 2 minutes on this simple project
Comment 3 Jiri Prox 2015-09-14 15:09:24 UTC
Created attachment 156160 [details]
.npss file attached from NetBeans

.npss file
Comment 4 Tomas Zezula 2015-09-15 08:11:23 UTC
Thanks Jirko, I will evaluate.
Comment 5 Tomas Zezula 2015-09-15 10:08:01 UTC
It's valid P2 even the project contains non valid java files.
But the O(n^3) complexity causes hang for 15 mins on my computer.
Comment 6 Tomas Zezula 2015-09-15 10:10:07 UTC
nb-javac 0b9e57f9db90
Comment 7 Tomas Zezula 2015-09-15 10:31:30 UTC
Fixed jet-main 688d584e6892
Comment 8 Quality Engineering 2015-09-16 01:26:42 UTC
Integrated into 'main-silver', will be available in build *201509160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/688d584e6892
User: Tomas Zezula <tzezula@netbeans.org>
Log: #255277:Scanning does not stop