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 54544 - 40 project - resolving server throws NPE
Summary: 40 project - resolving server throws NPE
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
: 54547 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-04 13:12 UTC by zikmund
Modified: 2006-03-24 12:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.NullPointerException - at org.netbeans.modules.web.project.WebProject.registerJ2eePlatformListener(WebProject.java:467) (2.92 KB, text/plain)
2005-02-04 13:12 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-02-04 13:12:17 UTC
Build 20050204-0817

1) Run IDE with clean userdir
2) Open 4.0 Web project
3) Context menu | Resolve Server reference problem
4) Choose server, press OK
5) Change Project Properties dialog appears
6) Press Upgrade project
7) ERROR:
NPE -- see attachment
Comment 1 zikmund 2005-02-04 13:12:50 UTC
Created attachment 20194 [details]
java.lang.NullPointerException - at org.netbeans.modules.web.project.WebProject.registerJ2eePlatformListener(WebProject.java:467)
Comment 2 zikmund 2005-02-04 13:16:27 UTC
Workaround: Change server in project's Properties | Run tab.
Comment 3 zikmund 2005-02-04 13:28:36 UTC
*** Issue 54547 has been marked as a duplicate of this issue. ***
Comment 4 Andrei Badea 2005-02-04 14:09:07 UTC
Fixed.

Checking in WebActionProvider.java;
/cvs/web/project/src/org/netbeans/modules/web/project/WebActionProvider.java,v
 <--  WebActionProvider.java
new revision: 1.56; previous revision: 1.55
done
Processing log script arguments...
More commits to come...
Checking in ui/BrokenServerSupport.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/BrokenServerSupport.java,v
 <--  BrokenServerSupport.java
new revision: 1.2; previous revision: 1.1
done
Processing log script arguments...
More commits to come...
Checking in ui/customizer/J2eePlatformUiSupport.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/J2eePlatformUiSupport.java,v
 <--  J2eePlatformUiSupport.java
new revision: 1.2; previous revision: 1.1
done
Checking in ui/customizer/WebProjectProperties.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/WebProjectProperties.java,v
 <--  WebProjectProperties.java
new revision: 1.64; previous revision: 1.63
done
Comment 5 zikmund 2005-02-04 15:32:59 UTC
Marking as fixed.
Comment 6 zikmund 2005-02-04 15:33:36 UTC
Verified.
Comment 7 Radko Najman 2005-02-07 10:11:54 UTC
Fixed in QBE200502012121 branch.