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 207566 - Code completion for annotations in java file is stuck on "Please wait.."
Summary: Code completion for annotations in java file is stuck on "Please wait.."
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 12:17 UTC by Vladimir Riha
Modified: 2012-02-13 12:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snapshot (11.15 KB, application/octet-stream)
2012-01-20 12:17 UTC, Vladimir Riha
Details
sample file (593 bytes, text/x-java)
2012-01-20 12:18 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-01-20 12:17:43 UTC
Created attachment 115113 [details]
snapshot

For some annotations, code completion is "freezes" with "Please wait..." message. To reproduce:
- create new Java Web project (Java EE 5, GlassFish 3.1)
- create new package and paste attached sample java file to it
- invoke CC after "unique="

It is not happening with just this one annotation. Snapshot attached.


Product Version: NetBeans IDE Dev (Build 201201190601)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-14-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2012-01-20 12:18:42 UTC
Created attachment 115114 [details]
sample file
Comment 2 Sergey Petrov 2012-01-20 14:29:33 UTC
looks like persistence related
Comment 3 Sergey Petrov 2012-01-20 15:29:49 UTC
http://hg.netbeans.org/web-main/rev/59ecd640f262
infinite loop fixed.

in my opinion it's good candidate to fix in some minor release/patch before 7.2
Comment 4 Vladimir Riha 2012-01-23 16:44:40 UTC
Agree, it could be part of some 7.1 patch


Verified


Product Version: NetBeans IDE Dev (Build web-main-6771-on-20120123)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-14-generic-pae running on i386; UTF-8; en_US (nb)
Comment 5 Quality Engineering 2012-01-25 16:38:14 UTC
Integrated into 'main-golden', will be available in build *201201250600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/59ecd640f262
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: fix  #207566: infinite look fixed
Comment 6 Sergey Petrov 2012-01-30 13:15:58 UTC
http://hg.netbeans.org/releases/rev/9a036536288e
http://hg.netbeans.org/releases/rev/97d407fc3f4e
http://hg.netbeans.org/releases/rev/42f84b1dc19a

integrated into release71_fixes

should I reopen the issue?
Comment 7 Vladimir Riha 2012-01-30 13:42:03 UTC
No need, I'll verify it in release71_fixes build. Just please change SW from 71patch1-candidate to "71patch1-fixed", thanks
Comment 8 Vladimir Riha 2012-02-13 12:24:05 UTC
verified 7.1.1

Product Version: NetBeans IDE 7.1.1 (Build 201202122200)