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 66599 - Info/warnings/errors dialogs should be used instead of throwing exceptions
Summary: Info/warnings/errors dialogs should be used instead of throwing exceptions
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-12 12:58 UTC by Lukas Jungmann
Modified: 2005-11-02 00:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (29.69 KB, text/plain)
2005-10-12 12:59 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2005-10-12 12:58:28 UTC
[build 200510111800]

-create ejbmodule
-create wsdl from template - leave it as it is
-create new websvc from wsdl created in previous step

=>java.lang.AssertionError
        at org.netbeans.modules.websvc.dev.wizard.WebServiceGenerator.parseWSDL(
WebServiceGenerator.java:162)
        at org.netbeans.modules.websvc.dev.wizard.WebServiceWizard.generateWebSe
rvice(WebServiceWizard.java:232)
...

and parsing wsdl never ends (it's frozen at 30%)
Comment 1 Lukas Jungmann 2005-10-12 12:59:11 UTC
Created attachment 25861 [details]
IDE log
Comment 2 Martin Grebac 2005-10-19 09:55:20 UTC
Correct, we should fix this - the scenario should work.
Comment 3 Milan Kuchtiak 2005-10-19 14:22:10 UTC
This comes from JMI API.
Comment 4 Martin Grebac 2005-10-31 10:33:20 UTC
Fixed in trunk:
cvs server: scheduling file `NoWSPortDefinedException.java' for addition
cvs server: use 'cvs commit' to add this file permanently
Checking in
websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/WSGenerationUtil.java;
/cvs/websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/WSGenerationUtil.java,v
 <--  WSGenerationUtil.java
new revision: 1.11; previous revision: 1.10
done
Checking in websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/Bundle.properties;
/cvs/websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/Bundle.properties,v 
<--  Bundle.properties
new revision: 1.22; previous revision: 1.21
done
RCS file:
/cvs/websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/NoWSPortDefinedException.java,v
done
Checking in
websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/NoWSPortDefinedException.java;
/cvs/websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/NoWSPortDefinedException.java,v
 <--  NoWSPortDefinedException.java
initial revision: 1.1
done
Checking in
websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/WebServiceGenerator.java;
/cvs/websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/WebServiceGenerator.java,v
 <--  WebServiceGenerator.java
new revision: 1.31; previous revision: 1.30
done
Checking in
websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/WebServiceWizard.java;
/cvs/websvc/dev/src/org/netbeans/modules/websvc/dev/wizard/WebServiceWizard.java,v
 <--  WebServiceWizard.java
new revision: 1.33; previous revision: 1.32
done
Checking in j2ee/utilities/src/org/netbeans/modules/j2ee/common/JMIUtils.java;
/cvs/j2ee/utilities/src/org/netbeans/modules/j2ee/common/JMIUtils.java,v  <-- 
JMIUtils.java
new revision: 1.19; previous revision: 1.18
done
IDE: [31/10/05 12:09] Committing Files finished
IDE: [31/10/05 12:09] Diffing Files finished
Comment 5 Lukas Jungmann 2005-11-02 00:20:03 UTC
v. in 200511011936