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 208866 - NullPointerException at org.netbeans.modules.j2ee.jetty.ide.JetPluginProperties.getClasses
Summary: NullPointerException at org.netbeans.modules.j2ee.jetty.ide.JetPluginProperti...
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Jetty (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-26 22:09 UTC by asmotrich
Modified: 2012-11-30 01:11 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146529


Attachments
stacktrace (5.23 KB, text/plain)
2012-02-26 22:09 UTC, asmotrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description asmotrich 2012-02-26 22:09:15 UTC
Build: NetBeans IDE 7.1 (Build nbms-and-javadoc-8540-on-20120115)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

User Comments:
GUEST: while executing maven project

GUEST: I was trying to create a new Web project

danapsimer: I was attempting to open a project generated using the "Java Project with existing sources" template.  There is nothing unusual about this project, it has a single source folder and no test folders.

danapsimer: I selected "properties" on the right-click menu for a maven webapp project created by spring roo.
I clicked the "Run" selection in the navigation control on the left.
Then the exception occurred and the properties form on the right remained on the page I started at ( "General" )

GUEST: Installed Jetty plugin yesterday, and now I can't open any web project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.jetty.ide.JetPluginProperties.getClasses(JetPluginProperties.java:125)
   at org.netbeans.modules.j2ee.jetty.ide.JetJ2eePlatformImpl.initLibraries(JetJ2eePlatformImpl.java:93)
   at org.netbeans.modules.j2ee.jetty.ide.JetJ2eePlatformImpl.<init>(JetJ2eePlatformImpl.java:79)
   at org.netbeans.modules.j2ee.jetty.ide.JetJ2eePlatformFactory.getJ2eePlatformImpl(JetJ2eePlatformFactory.java:66)
   at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getJ2eePlatformImpl(ServerInstance.java:341)
   at org.netbeans.modules.j2ee.deployment.impl.query.J2eePlatformSourceForBinaryQuery.findSourceRoots2(J2eePlatformSourceForBinaryQuery.java:101)
Comment 1 asmotrich 2012-02-26 22:09:19 UTC
Created attachment 116113 [details]
stacktrace