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 232650 - IllegalStateException: Trying to use content for org.openide.util.lookup.AbstractLookup@2ffe10ef but it is already used for AbstractLookup[]
Summary: IllegalStateException: Trying to use content for org.openide.util.lookup.Abst...
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-13 10:39 UTC by MackSix
Modified: 2013-07-18 02:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 202115


Attachments
stacktrace (3.69 KB, text/plain)
2013-07-13 10:39 UTC, MackSix
Details
stacktrace (3.75 KB, text/plain)
2013-07-13 11:00 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-07-13 10:39:39 UTC
Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
MackSix: Started NetBeans 7.4 Beta (Build 201307092200) and this happened.




Stacktrace: 
java.lang.IllegalStateException: Trying to use content for org.openide.util.lookup.AbstractLookup@2ffe10ef but it is already used for AbstractLookup[]
   at org.openide.util.lookup.AbstractLookup$Content.attach(AbstractLookup.java:1252)
   at org.openide.util.lookup.AbstractLookup.<init>(AbstractLookup.java:102)
   at org.netbeans.modules.versioning.ui.history.HistoryComponent.getLookup(HistoryComponent.java:493)
   at org.netbeans.core.multiview.MultiViewPeer.assignLookup(MultiViewPeer.java:242)
   at org.netbeans.core.multiview.MultiViewPeer.assignLookup(MultiViewPeer.java:256)
   at org.netbeans.core.multiview.MultiViewCloneableTopComponent.getLookup(MultiViewCloneableTopComponent.java:118)
Comment 1 MackSix 2013-07-13 10:39:41 UTC
Created attachment 137066 [details]
stacktrace
Comment 2 MackSix 2013-07-13 11:00:27 UTC
Created attachment 137067 [details]
stacktrace

Started NetBeans with some Java files already opened in Editor showing History. I think the History window being open on startup is causing this. This is the 7.4 Dev 201307122300.
Comment 3 Tomas Stupka 2013-07-15 16:18:39 UTC
fixed in core-main #68924f727363
Comment 4 Quality Engineering 2013-07-18 02:38:06 UTC
Integrated into 'main-silver', will be available in build *201307172300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/68924f727363
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #232650 - IllegalStateException: Trying to use content for org.openide.util.lookup.AbstractLookup@2ffe10ef but it is already used for AbstractLookup[]