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 108393 - NPE in NewEarProjectWizardIteratorTest
Summary: NPE in NewEarProjectWizardIteratorTest
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2007-06-28 12:27 UTC by Tomas Mysik
Modified: 2008-03-10 02:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2007-06-28 12:27:16 UTC
testTestableInstantiate:
testTestableInstantiateWithAppClient:
testTestableInstantiateWithWebAndEJBAppClient:

      java.lang.NullPointerException
        at org.netbeans.spi.project.support.ant.EditableProperties.put(EditableProperties.java:216)
        at org.netbeans.spi.project.support.ant.EditableProperties.setProperty(EditableProperties.java:248)
        at org.netbeans.modules.j2ee.earproject.EarProjectGenerator.setupProject(EarProjectGenerator.java:492)
        at org.netbeans.modules.j2ee.earproject.EarProjectGenerator.doCreateProject(EarProjectGenerator.java:131)
        at org.netbeans.modules.j2ee.earproject.EarProjectGenerator.createProject(EarProjectGenerator.java:116)
        at 
org.netbeans.modules.j2ee.earproject.ui.wizards.NewEarProjectWizardIterator.testableInstantiate(NewEarProjectWizardIterator.java:131)
        at 
org.netbeans.modules.j2ee.earproject.ui.wizards.NewEarProjectWizardIteratorTest.testTestableInstantiate(NewEarProjectWizardIteratorTest.java:108)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Comment 1 Tomas Mysik 2007-06-28 12:33:17 UTC
The same exception applies as well as for:
- EarProjectPropertiesTest
   testPropertiesWithoutDDJ2EE
   testPropertiesWithoutDDJavaEE
   testPathInEARChangingJ2EE
   testPathInEARChangingJavaEE
   testSetACPrivateProperties
   testResolveProjectDependencies
Comment 2 Tomas Mysik 2007-07-03 12:57:57 UTC
I cannot reproduce this issue.
Comment 3 Tomas Mysik 2007-07-04 10:46:40 UTC
This issue is valid for Windows and Java 1.5.
Comment 4 Tomas Mysik 2007-10-10 16:21:35 UTC
Reassigning because David uses Windows. Thanks.
Comment 5 David Konecny 2008-03-10 02:16:03 UTC
All ear tests are passing now.