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 230054 - IllegalStateException: may not call Project.getLookup().lookup(...) inside org.netbeans.modules.maven.j2ee.web.ClientSideDevelopmentSupport registered under @ProjectServiceProvider
Summary: IllegalStateException: may not call Project.getLookup().lookup(...) inside or...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-21 14:38 UTC by Martin Janicek
Modified: 2013-05-30 01:36 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200800


Attachments
stacktrace (3.56 KB, text/plain)
2013-05-21 14:38 UTC, Martin Janicek
Details
stacktrace (3.56 KB, text/plain)
2013-05-22 12:02 UTC, Jiri Skrivanek
Details
stacktrace (3.56 KB, text/plain)
2013-05-29 14:04 UTC, mago_ebon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Janicek 2013-05-21 14:38:23 UTC
This issue was reported manually by mjanicek.
It already has 10 duplicates 


Build: NetBeans IDE Dev (Build 20130516-a616d4360655)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Linux

User Comments:
GUEST: just run the project "Maven Scrum Toys"

mjanicek: Deploying Maven Web project.

GUEST: Ran maven project

tnleeuw: Exception in deploy

tnleeuw: Deploying to Tomcat through maven; also project scanning in background

tnleeuw: This happened during deploy to Tomcat

KhArtNJava: <Please provide a description of the problem or the steps to reproduce>

KhArtNJava: <Please provide a description of the problem or the steps to reproduce>?

tnleeuw: Trying to deploy

GUEST: Running a base maven jsp 'Hello world' webApp with jboss 7.1.1 Final




Stacktrace: 
java.lang.IllegalStateException: may not call Project.getLookup().lookup(...) inside org.netbeans.modules.maven.j2ee.web.ClientSideDevelopmentSupport registered under @ProjectServiceProvider
   at org.netbeans.modules.projectapi.LazyLookupProviders$1$1.safeToLoad(LazyLookupProviders.java:135)
   at org.netbeans.modules.projectapi.LazyLookupProviders$1$1.beforeLookup(LazyLookupProviders.java:91)
   at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:215)
   at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:223)
   at org.openide.util.lookup.ExcludingLookup.lookup(ExcludingLookup.java:142)
   at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:223)
Comment 1 Martin Janicek 2013-05-21 14:38:25 UTC
Created attachment 134690 [details]
stacktrace
Comment 2 Jiri Skrivanek 2013-05-22 12:02:13 UTC
Created attachment 134736 [details]
stacktrace

I run Maven Java EE 7 project.
Comment 3 Martin Janicek 2013-05-27 13:59:37 UTC
Introduced by the fix for the issue 228122.
Comment 4 mago_ebon 2013-05-29 14:04:20 UTC
Created attachment 135074 [details]
stacktrace

Starting up a new Maven based Java web project
Comment 5 Martin Janicek 2013-05-29 14:39:43 UTC
Fixed in: web-main #fa71f42ad8eb
Comment 6 Quality Engineering 2013-05-30 01:36:11 UTC
Integrated into 'main-golden', will be available in build *201305292301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fa71f42ad8eb
User: Martin Janicek <mjanicek@netbeans.org>
Log: #230054 - IllegalStateException: may not call Project.getLookup().lookup(...) inside org.netbeans.modules.maven.j2ee.web.ClientSideDevelopmentSupport registered under @ProjectServiceProvider