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 206866 - IllegalStateException: may not call Project.getLookup().lookup(...) inside org.netbeans.modules.profiler.nbimpl.providers.MarkerProcessor registered under @ProjectServiceProvider
Summary: IllegalStateException: may not call Project.getLookup().lookup(...) inside or...
Status: RESOLVED DUPLICATE of bug 205837
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-03 10:55 UTC by fvogler
Modified: 2012-01-04 08:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 184121


Attachments
stacktrace (4.22 KB, text/plain)
2012-01-03 10:55 UTC, fvogler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fvogler 2012-01-03 10:55:25 UTC
This bug was originally marked as duplicate of bug 205837, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-8475-on-20120102)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: Windows 7

Stacktrace: 
java.lang.IllegalStateException: may not call Project.getLookup().lookup(...) inside org.netbeans.modules.profiler.nbimpl.providers.MarkerProcessor registered under @ProjectServiceProvider
   at org.netbeans.modules.projectapi.LazyLookupProviders$1$1.safeToLoad(LazyLookupProviders.java:127)
   at org.netbeans.modules.projectapi.LazyLookupProviders$1$1.beforeLookup(LazyLookupProviders.java:89)
   at org.openide.util.lookup.ProxyLookup$R.myBeforeLookup(ProxyLookup.java:672)
   at org.openide.util.lookup.ProxyLookup$R.beforeLookup(ProxyLookup.java:691)
   at org.openide.util.lookup.ProxyLookup$R.myBeforeLookup(ProxyLookup.java:680)
   at org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:526)
Comment 1 fvogler 2012-01-03 10:55:28 UTC
Created attachment 114575 [details]
stacktrace
Comment 2 J Bachorik 2012-01-04 08:46:57 UTC
It is duplicate and it has been fixed. The fix hasn't propagated to the trunk build (was pushed to profiler-main clone) - once the fix is integrated into the trunk a comment will be added to the issue stating that fact.

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