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 81526 - NPE from WebLocationsPanel.<init>
Summary: NPE from WebLocationsPanel.<init>
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Freeform (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on: 61895
Blocks:
  Show dependency tree
 
Reported: 2006-07-31 19:31 UTC by Jesse Glick
Modified: 2007-10-31 14:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (4.16 KB, text/plain)
2006-07-31 19:32 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2006-07-31 19:31:33 UTC
Dev build. When you have just

            <web-module>
                <doc-root>resources</doc-root>
            </web-module>

(valid acc. to schema), opening proj props and selecting Web Sources panel
throws NPE.
Comment 1 Jesse Glick 2006-07-31 19:32:08 UTC
Created attachment 32372 [details]
Stack trace
Comment 2 Radko Najman 2006-08-01 14:07:32 UTC
Thrown because J2EE spec version wasn't found in project.xml. This happens only
if user manually edit project.xml file.
Comment 3 Radko Najman 2007-02-16 16:27:09 UTC
Should be fixed together with issue #61895, it will probably require a schema
change.
Comment 4 David Konecny 2007-10-31 14:34:25 UTC
Default J2EE spec to 5 if none set.

Checking in src/org/netbeans/modules/web/freeform/ui/WebLocationsPanel.java
new revision: 1.14; previous revision: 1.13