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 161140 - NullPointerException at org.netbeans.modules.j2ee.weblogic9.config.ConfigUtil.writefile
Summary: NullPointerException at org.netbeans.modules.j2ee.weblogic9.config.ConfigUtil...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 14:12 UTC by puppala
Modified: 2011-02-09 06:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 148243


Attachments
stacktrace (1.82 KB, text/plain)
2009-03-25 14:12 UTC, puppala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description puppala 2009-03-25 14:12:17 UTC
Build: NetBeans IDE 6.5.1 (Build 200903060201)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

User Comments:
puppala: I tried to open an old project for building en EJB jar. The project was created using previous version of NB (in April 2008).



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.j2ee.weblogic9.config.ConfigUtil.writefile(ConfigUtil.java:76)
        at org.netbeans.modules.j2ee.weblogic9.config.EjbDeploymentConfiguration.getWeblogicEjbJar(EjbDeploymentConfiguration.java:111)
        at org.netbeans.modules.j2ee.weblogic9.config.EjbDeploymentConfiguration.<init>(EjbDeploymentConfiguration.java:80)
        at org.netbeans.modules.j2ee.weblogic9.config.WLModuleConfigurationFactory.create(WLModuleConfigurationFactory.java:64)
        at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getModuleConfiguration(ConfigSupportImpl.java:707)
        at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.ensureConfigurationReady(ConfigSupportImpl.java:216)
Comment 1 puppala 2009-03-25 14:12:27 UTC
Created attachment 78821 [details]
stacktrace
Comment 2 puppala 2009-03-25 14:21:00 UTC
I noticed, that I had changed the drive letter referring to the files in Clear Case for this project. When I changed it
back, the problem disappeared !?

But anyway, this sort of problem in the projects environment shouldn't cause NullPointerException to be thrown ...

;-)
Comment 3 Petr Hejl 2011-02-08 14:14:07 UTC
It should not happen anymore.
web-main e9b25365ae0a
Comment 4 Quality Engineering 2011-02-09 06:07:51 UTC
Integrated into 'main-golden', will be available in build *201102090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e9b25365ae0a
User: Petr Hejl <phejl@netbeans.org>
Log: #161140 NullPointerException at org.netbeans.modules.j2ee.weblogic9.config.ConfigUtil.writefile