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 148131 - IllegalArgumentException: Called DataObject.find on null
Summary: IllegalArgumentException: Called DataObject.find on null
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Axis2 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Denis Anisimov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 00:54 UTC by _ gtzabari
Modified: 2010-09-27 07:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 49045


Attachments
Patch (1.10 KB, text/plain)
2008-10-12 19:56 UTC, lukaszlenart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2008-09-24 00:54:19 UTC
Build: NetBeans IDE Dev (Build 200804230004)
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: 
STACKTRACE: (first 10 lines)
java.lang.IllegalArgumentException: Called DataObject.find on null
        at org.openide.loaders.DataObject.find(DataObject.java:474)
        at org.netbeans.modules.websvc.axis2.wizards.WsFromJavaWizardIterator.instantiate(WsFromJavaWizardIterator.java:100)
        at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:595)
        at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:416)
        at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:248)
        at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:161)
        at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1387)
        at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1341)
        at org.openide.WizardDescriptor.access$1600(WizardDescriptor.java:119)
        at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1908)


This bug only occurs if "generate sample method" is deselected.
Comment 1 lukaszlenart 2008-09-24 14:25:41 UTC
How to clone only Axis2 plugin from Netbeans repo?
Comment 2 Lukas Jungmann 2008-09-24 14:37:53 UTC
see http://wiki.netbeans.org/DevFaqOrphanedNetBeansOrgModules but I'm not sure if that can be somehow applied to
main/contrib (where sources of axis plugin do live)
Comment 3 lukaszlenart 2008-09-24 14:48:08 UTC
You have to have Netbeans 6.5 but not Beta (do I miss something??? 8-)
Any way, I've been trying to download zipped sources, but such URL http://bits.netbeans.org/zip/ is wrong. Do I have any
other possibilities?
Comment 4 Lukas Jungmann 2008-09-29 15:26:15 UTC
thanks for pointing out incorrect link, it should become fixed in a while. If not then this is correct link:
http://bits.netbeans.org/download/trunk/nightly/latest/zip/
Comment 5 lukaszlenart 2008-09-29 15:38:07 UTC
Thanks, but at last I was able to checkout the source from main trunk and right now I will be investigate it, maybe I
can solve that problem.
Comment 6 Lukas Jungmann 2008-09-29 15:46:17 UTC
Thanks for your effort!
Comment 7 lukaszlenart 2008-10-05 22:05:26 UTC
I'm getting the following error when I'm trying to build the project with command 
ant -f nbbuild/build.xml clean

BUILD FAILED
c:\java-projects\netbeans\nbbuild\build.xml:108: File
c:\java-projects\netbeans\db.drivers\external\postgresql-8.3-603.jdbc3.jar requested by
c:\java-projects\netbeans\db.drivers\external\binaries-list to have hash 33D531C3C53055DDCBEA3D88BFA093466FFEF924
actually had hash 0A4A9C61C286F947C6DB0FE25A4FFEC5E76A49E7

Any idea?
Comment 8 lukaszlenart 2008-10-12 19:56:02 UTC
Problem solved, please attached patch
Comment 9 lukaszlenart 2008-10-12 19:56:15 UTC
Problem solved, please see attached patch
Comment 10 lukaszlenart 2008-10-12 19:56:54 UTC
Created attachment 71622 [details]
Patch
Comment 11 Denis Anisimov 2010-09-27 07:07:28 UTC
changeset:   178143:8415dc16ecb2
user:        Denis Anisimov <ads@netbeans.org>
date:        Mon Sep 27 11:00:33 2010 +0400
summary:     Fix for BZ#148131 -  IllegalArgumentException: Called DataObject.find on null