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 83838 - Need meaningful error messages
Summary: Need meaningful error messages
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sreenivasan Genipudi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 20:21 UTC by Ritesh Adval
Modified: 2006-09-25 03:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project with build problem (10.78 KB, application/octet-stream)
2006-08-30 20:22 UTC, Ritesh Adval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ritesh Adval 2006-08-30 20:21:38 UTC
This is from a user we got this project. Attached project.

The problem is that build fails without giving a meaningful error messages.
Comment 1 Ritesh Adval 2006-08-30 20:22:27 UTC
Created attachment 33430 [details]
project with build problem
Comment 2 Sreenivasan Genipudi 2006-08-30 20:43:52 UTC
Assertion error is thrown by WSDL Validator 

Error is - 

java.lang.AssertionError: the text content under schema couldnt be found in the
wsdl document
        at
org.netbeans.modules.xml.wsdl.validator.WSDLInlineSchemaValidator.validate(WSDLInlineSchemaValidator.java:97)
        at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:78)
        at
org.netbeans.modules.bpel.model.validation.imports.BPELImportsVisitor.visit(BPELImportsVisitor.java:69)
        at
org.netbeans.modules.bpel.model.impl.ImportImpl.accept(ImportImpl.java:94)
        at
org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:205)
        at
org.netbeans.modules.bpel.model.impl.BpelEntityImpl.acceptChildren(BpelEntityImpl.java:339)
        at
org.netbeans.modules.bpel.model.impl.BpelEntityImpl.accept(BpelEntityImpl.java:206)
        at
org.netbeans.modules.bpel.model.validation.imports.BPELImportsValidator.validate(BPELImportsValidator.java:78)
        at org.netbeans.modules.xml.xam.spi.Validation.validate(Validation.java:78)
        at
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.validateBPEL(ValidateBPELProject.java:341)
        at
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.loadAndValidateExistingBusinessProcess(ValidateBPELProject.java:408)
        at
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processBpelFile(ValidateBPELProject.java:311)
        at
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processBpelFiles(ValidateBPELProject.java:302)
        at
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processFolder(ValidateBPELProject.java:280)
        at
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processFileObject(ValidateBPELProject.java:272)
        at
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processSourceDir(ValidateBPELProject.java:267)
        at
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.processSourceDirs(ValidateBPELProject.java:261)
        at
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject.execute(ValidateBPELProject.java:225)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProjectTask.execute(ValidateBPELProjectTask.java:189)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:240)
        at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:293)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
Aug 30, 2006 12:39:43 PM
org.netbeans.modules.bpel.project.anttasks.ValidateBPELProject
loadAndValidateExistingBusinessProcess 

Bpel Validation task ( bpel project) when it calls the validator it  expects the
errors in Validation result collection and doesnt expect the validator to throw
Error... 
Comment 3 Sreenivasan Genipudi 2006-08-30 21:03:03 UTC
Bpel project when it calls validate it expects the errors to be set in the
Validation resultset collection. Instead the WSDL validation is throwing
Assertion  Error..  This is a bug in WSDL validation. 

I will add code in bpel project to catch the java.lang.Throwable and display it
to the user... 

Comment 4 Sreenivasan Genipudi 2006-08-30 21:21:58 UTC
For the assertion error problem there is already another issue filed 

http://www.netbeans.org/issues/show_bug.cgi?id=83659


Comment 5 Sreenivasan Genipudi 2006-09-07 22:51:43 UTC
Error messages problem is fixed. 
Comment 6 gc140975 2006-09-25 03:29:28 UTC
Verified in the build 060923 and found that bug is fixed