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 130885 - NullPointerException at java.util.Arrays$ArrayList.<init>
Summary: NullPointerException at java.util.Arrays$ArrayList.<init>
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Shivanand Kini
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-23 23:47 UTC by kal9999
Modified: 2008-04-07 23:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 34716


Attachments
stacktrace (1.07 KB, text/plain)
2008-03-23 23:47 UTC, kal9999
Details
stacktrace (1.07 KB, text/plain)
2008-03-29 00:59 UTC, smeehan
Details
stacktrace (1.07 KB, text/plain)
2008-03-29 04:37 UTC, fabiomartinsbr
Details
stacktrace (9.49 KB, text/plain)
2008-04-01 17:51 UTC, westberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kal9999 2008-03-23 23:47:47 UTC
Build: NetBeans IDE Dev (Build 200803100002)
VM: Java HotSpot(TM) Client VM, 1.5.0_15-b04
OS: Windows 2003, 5.2, x86

User Comments: 
I'm trying to get a message type using the option 'ByFile' under my CA, but the file I've specified doesn't appear there...
Comment 1 kal9999 2008-03-23 23:47:51 UTC
Created attachment 58903 [details]
stacktrace
Comment 2 Shivanand Kini 2008-03-25 22:37:01 UTC
Can you attach a sample project please?
Comment 3 smeehan 2008-03-29 00:59:39 UTC
Build: NetBeans IDE Dev (Build 200803250006)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows XP, 5.1, x86

User Comments: 
Comment 4 smeehan 2008-03-29 00:59:42 UTC
Created attachment 59331 [details]
stacktrace
Comment 5 fabiomartinsbr 2008-03-29 04:37:11 UTC
Build: NetBeans IDE Dev (Build 200803250006)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
Comment 6 fabiomartinsbr 2008-03-29 04:37:14 UTC
Created attachment 59333 [details]
stacktrace
Comment 7 westberg 2008-04-01 17:50:59 UTC
Build: NetBeans IDE Dev (Build 200803100002)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86

User Comments: 
I was creating a WSDL based on an XML Schema - I was on the Abstract Configuration page and I selected the elipses on the input and it gave me this error.
Comment 8 westberg 2008-04-01 17:51:03 UTC
Created attachment 59500 [details]
stacktrace
Comment 9 Shivanand Kini 2008-04-01 23:02:27 UTC
Thanks to everyone who reported this problem. Added all the reporters to the cc list.

I tried hard to reproduce this issue, but could not.
My current steps are as follows:
1. Install netbeans 6.1 dev build (http://bits.netbeans.org/6.1/nightly/latest/) (I also tried the open-esb.org version)
2. Create new SOA > BPEL module or Enterprise > EJB Module
3. Go to source folder
4. Right click New > Other > XML > WSDL Document
5. Click Next.
6. Click on the ellipsis for the part.
Observation: No NullPointerException as suggested by stack trace.

If you can refine the steps, it would be great. 
Comment 10 Shivanand Kini 2008-04-02 00:07:42 UTC
Received the following reply:
This occurred when I was doing the tutorial located at the following URL  (Note I was following it exactly):

https://open-esb.dev.java.net/kb/preview3/ep-file-bc-tutorial.html

I had completed this on a brand new installation of OpenESB 2.0 - downloaded from the OpenESB site.

I am using JDK 6 Update 5.
Les
Comment 11 Shivanand Kini 2008-04-03 00:29:47 UTC
Thanks to Les for proper direction.
Steps to reproduce:
1. Create a SOA > Composite Application
2. Right click > New WSDL Document
3. In abstract configuration page of new wsdl wizard. Click on ellipsis to select element or type for the part.

Notice the NPE thrown.

Since these steps are part of different tutorials online. Many end users are hitting this. And the fix is simple and not
risky.
Upgrading this to P1 to fix in release 6.1.
Comment 12 Shivanand Kini 2008-04-03 03:27:04 UTC
fixed in trunk.

http://hg.netbeans.org/main/rev/a2a26e704bf9
Comment 13 Shivanand Kini 2008-04-03 03:33:57 UTC
Jen, can you verify this in the next build?
Comment 14 jlautz 2008-04-07 21:47:13 UTC
Verified that I cannot reproduce the scenario with:

Product Version: NetBeans IDE Dev (Build 200804040802) - Java CAPS Enabled
Java: 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
System: SunOS version 5.10 running on x86; ISO646-US; en (nb)
Userdir: /Users/lautz/sierrabuilds/JavaCAPS20080406/.netbeans/caps
Comment 15 jlautz 2008-04-07 21:54:35 UTC
*** Issue 131814 has been marked as a duplicate of this issue. ***
Comment 16 Shivanand Kini 2008-04-07 23:30:58 UTC
Committed in release61:
Changeset:
http://hg.netbeans.org/release61/rev/3355ca663cf7