Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315850

Summary: JAXB Class Gen Wizard: Need error dialog if wizard fails
Product: [WebTools] Dali JPA Tools Reporter: Andrew Fernandez <ripsi_1>
Component: JAXBAssignee: Tran Le <tranle1>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: neil.hauge
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Andrew Fernandez CLA 2010-06-04 18:19:57 EDT
Build Identifier: 

If I run the JAXB Class Generation wizard there should be an error dialog that pops showing the error.

A user could have standard out or standard error disabled run Preferences > Run/Debug > Console and there would be no console output to see.

A lot of the 

Reproducible: Always

Steps to Reproduce:
1. Create a web service project using WLS using OEPE Helios with new JAXB wizard
2. Create a malformed XSD
3. Update console preferences so std output and std error are not checked.
4. Launch the JAXB wizard from right-click > Generate > JAXB Classes
5. Click Finish

Expected:

Error informing user of issue

Actual:

No error
Comment 1 Andrew Fernandez CLA 2010-06-09 13:07:46 EDT
Wrote the bug too quickly the other day. Here's an amended bug description...

*******

If I run the JAXB Class Generation wizard there should be an error dialog that
pops displaying the error when the wizard fails to complete sucessfully.

A user could have standard out or standard error disabled under 
Window > Preferences > Run/Debug > Console settings and there would be no console output to see.

Reproducible: Always

Steps to Reproduce:
1. Create a web service project using the latest WLS runtime with OEPE Helios.
2. Create a malformed XSD in a package under src.
3. Update console preferences so standard output and standard error are not checked.
4. Launch the JAXB wizard from right-clicking on the malformed XSD and choosing Generate > JAXB Classes
5. Click the Finish button

Expected:

Error dialog popping informing user of issue

Actual:

No error that pops informing user of issue. 

As a comparison, other OEPE web service wizards pop a dialog if there are errors after clicking Finish on the wizard.
Comment 2 Neil Hauge CLA 2010-06-18 15:17:53 EDT
This may be a bit tricky to implement given that we are executing an external process.  We may not be getting back reliable information on the success or failure of the generation.

That said, it would of course be nice if we could have a proper error dialog for this.  Will need to investigate what is possible here.
Comment 3 Tran Le CLA 2012-07-16 14:37:00 EDT
Fixed in 3.3 M1