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 253959

Summary: NullPointerException: The lib parameter cannot be null
Product: javaee Reporter: lehel
Component: EARAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal CC: exceptions_reporter, vriha
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217341
Attachments: stacktrace

Description lehel 2015-07-29 17:30:09 UTC
Build: NetBeans IDE 8.1 Beta (Build 201507231027)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 8

User Comments:
lehel: 1. Open wizard for creating Enterprise application project
2. Check Use Dedicated Folder for Storing Libraries and finish the wizard

GUEST: Creating a EEAplication Project




Stacktrace: 
java.lang.NullPointerException: The lib parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.spi.project.support.ant.ReferenceHelper.copyLibrary(ReferenceHelper.java:1555)
   at org.netbeans.modules.j2ee.earproject.EarProjectGenerator.copyRequiredLibraries(EarProjectGenerator.java:238)
   at org.netbeans.modules.j2ee.earproject.EarProjectGenerator.access$400(EarProjectGenerator.java:113)
   at org.netbeans.modules.j2ee.earproject.EarProjectGenerator$3.run(EarProjectGenerator.java:209)
   at org.netbeans.modules.j2ee.earproject.EarProjectGenerator$3.run(EarProjectGenerator.java:201)
Comment 1 lehel 2015-07-29 17:30:11 UTC
Created attachment 155020 [details]
stacktrace
Comment 2 Petr Hejl 2015-07-30 06:53:17 UTC
*** Bug 252732 has been marked as a duplicate of this bug. ***
Comment 3 Petr Hejl 2015-08-03 10:19:59 UTC
Fixed in web-main 8ba0b2bd9db2. Please verify.
Comment 4 Vladimir Riha 2015-08-03 10:27:02 UTC
Will do, thank you. I'm removing the beta stopper SW, the default wizard works and I would rather not delay Beta due to this issue.
Comment 5 Quality Engineering 2015-08-04 01:15:06 UTC
Integrated into 'main-silver', will be available in build *201508040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8ba0b2bd9db2
User: Petr Hejl <phejl@netbeans.org>
Log: #253959 - NullPointerException: The lib parameter cannot be null