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 241607 - AssertionError at org.netbeans.modules.maven.ProjectOpenedHookImpl.<init>
Summary: AssertionError at org.netbeans.modules.maven.ProjectOpenedHookImpl.<init>
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
: 241796 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-09 19:34 UTC by markiewb
Modified: 2014-02-13 08:09 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207437


Attachments
stacktrace (3.35 KB, text/plain)
2014-02-09 19:34 UTC, markiewb
Details
patch? (3.88 KB, application/octet-stream)
2014-02-10 13:21 UTC, Milos Kleint
Details
stacktrace (4.87 KB, text/plain)
2014-02-11 19:34 UTC, everflux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2014-02-09 19:34:38 UTC
This bug was originally marked as duplicate of bug 224137, 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 201402090001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b127
OS: Windows 7

User Comments:
markiewb: Tried to open context menu of maven based web app, while NetBeans hasn't finished loading all the projects




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.maven.ProjectOpenedHookImpl.<init>(ProjectOpenedHookImpl.java:150)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
   at org.netbeans.modules.projectapi.LazyLookupProviders.loadPSPInstance(LazyLookupProviders.java:177)
Comment 1 markiewb 2014-02-09 19:34:40 UTC
Created attachment 144963 [details]
stacktrace
Comment 2 Milos Kleint 2014-02-10 13:21:47 UTC
Created attachment 144985 [details]
patch?
Comment 3 Tomas Zezula 2014-02-11 13:37:51 UTC
Seems OK to me.
Comment 4 everflux 2014-02-11 19:34:26 UTC
Created attachment 145055 [details]
stacktrace

started netbeans
Comment 5 Milos Kleint 2014-02-12 08:36:18 UTC
one open gate closed:
http://hg.netbeans.org/core-main/rev/e88173a29461

but I suspect there can be other as well. marking as fixed for now and await new stacktraces.
Comment 6 Quality Engineering 2014-02-13 02:43:48 UTC
Integrated into 'main-silver', will be available in build *201402130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e88173a29461
User: Milos Kleint <mkleint@netbeans.org>
Log: #241607 attempt to prevent multiple instances for one service being created and prevent multiple calls to setLookups()
Comment 7 Milos Kleint 2014-02-13 08:09:05 UTC
*** Bug 241796 has been marked as a duplicate of this bug. ***