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 108114 - Malformed error message in error dialog
Summary: Malformed error message in error dialog
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: JBI Manager (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-26 09:52 UTC by Jun Qian
Modified: 2007-06-26 18:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error dialog after step 5 (150.89 KB, application/octet-stream)
2007-06-26 09:54 UTC, Jun Qian
Details
Fixed error message (113.51 KB, application/octet-stream)
2007-06-26 18:28 UTC, Jun Qian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Qian 2007-06-26 09:52:35 UTC
Steps to reproduce:

1. Deploy the attached project in #92092; 
2. Go to Services tab;
3. Select the testapp service assembly;
4. Stop the service assembly;
5. Start the service assembly => See the attached snapshot.

The following error message after step 1 is documented in 92092:

run-jbi-deploy:
[deploy-service-assembly]
    Deploying a service assembly...
        host=localhost
        port=4848
        file=C:\Documents and Settings\jqian\Desktop\92092\testapp/dist/testapp.zip
[start-service-assembly]
    Starting a service assembly...
        host=localhost
        port=4848
        name=testapp
Successful execution of Start
WARNING: (JBIMA0405) Start of service assembly testapp succeeded partially; some service units failed to start.
    * Component: sun-bpel-engine
      ERROR: (BPELSE) Service unit testapp-test1 failed to load deployment
C:\openesb\glassfish-v2-b50\domains\domain1\jbi\service-assemblies\testapp\testapp-test1\sun-bpel-engine
:C:\openesb\glassfish-v2-b50\domains\domain1\jbi\service-assemblies\testapp\testapp-test1\sun-bpel-engine\trigger.wsdl:2:
error: sch-props-correct.2: Duplicate global type: codesArray@http://siliconllama.com (Original global type found in
file: newWSDL.wsdl)
Detailed Message :
        1: SEVERE :Duplicate global type: codesArray@http://siliconllama.com (Original global type found in file:
newWSDL.wsdl)
        2: SEVERE :Duplicate global type: ccodeArray@http://siliconllama.com (Original global type found in file:
newWSDL.wsdl)
    * Component: sun-http-binding
      INFO: (JBIMA0500) Lifecycle operation start succeeded for Service Unit testapp-sun-http-binding.
Comment 1 Jun Qian 2007-06-26 09:54:40 UTC
Created attachment 44393 [details]
Error dialog after step 5
Comment 2 Jun Qian 2007-06-26 09:56:55 UTC
The following is the error message from the server:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><jbi-task
xmlns="http://java.sun.com/xml/ns/jbi/management-message" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/jbi/management-message
./managementMessage.xsd"><jbi-task-result><frmwk-task-result><frmwk-task-result-details><task-result-details><task-id>start</task-id><task-result>SUCCESS</task-result><message-type>WARNING</message-type><task-status-msg><msg-loc-info><loc-token>JBIMA0405</loc-token><loc-message>Start
of service assembly testapp succeeded partially; some service units failed to
start.</loc-message></msg-loc-info></task-status-msg></task-result-details><locale>en_US</locale></frmwk-task-result-details></frmwk-task-result><component-task-result>
  <component-name>sun-bpel-engine</component-name>
  <component-task-result-details>
    <task-result-details>
      <task-id>Init</task-id>
      <task-result>FAILED</task-result>
      <message-type>ERROR</message-type>
      <exception-info>
        <nesting-level>1</nesting-level>
        <msg-loc-info>
          <loc-token>BPELSE</loc-token>
          <loc-message>Service unit testapp-test1 failed to load deployment
C:\openesb\glassfish-v2-b50\domains\domain1\jbi\service-assemblies\testapp\testapp-test1\sun-bpel-engine
:C:\openesb\glassfish-v2-b50\domains\domain1\jbi\service-assemblies\testapp\testapp-test1\sun-bpel-engine\trigger.wsdl:2:
error: sch-props-correct.2: Duplicate global type: codesArray@http://siliconllama.com (Original global type found in
file: newWSDL.wsdl)
Detailed Message :
    1: SEVERE :Duplicate global type: codesArray@http://siliconllama.com (Original global type found in file: newWSDL.wsdl)
    2: SEVERE :Duplicate global type: ccodeArray@http://siliconllama.com (Original global type found in file: newWSDL.wsdl)
</loc-message>
        </msg-loc-info>
        <stack-trace>com.sun.jbi.engine.bpel.impl.BPELSEException:
C:\openesb\glassfish-v2-b50\domains\domain1\jbi\service-assemblies\testapp\testapp-test1\sun-bpel-engine\trigger.wsdl:2:
error: sch-props-correct.2: Duplicate global type: codesArray@http://siliconllama.com (Original global type found in
file: newWSDL.wsdl)
Detailed Message :
    1: SEVERE :Duplicate global type: codesArray@http://siliconllama.com (Original global type found in file: newWSDL.wsdl)
    2: SEVERE :Duplicate global type: ccodeArray@http://siliconllama.com (Original global type found in file: newWSDL.wsdl)
</stack-trace>
      </exception-info>
    </task-result-details>
  </component-task-result-details>
</component-task-result><component-task-result><component-name>sun-http-binding</component-name><component-task-result-details><task-result-details><task-id>start</task-id><task-result>SUCCESS</task-result><message-type>INFO</message-type><task-status-msg><msg-loc-info><loc-token>JBIMA0500</loc-token><loc-message>Lifecycle
operation start succeeded for Service Unit
testapp-sun-http-binding.</loc-message><loc-param>start</loc-param><loc-param>testapp-sun-http-binding</loc-param></msg-loc-info></task-status-msg></task-result-details></component-task-result-details></component-task-result></jbi-task-result></jbi-task>

It looks like the newline characters inside loc-message are confusing the html renderer.
Comment 3 Jun Qian 2007-06-26 18:28:06 UTC
Fixed.
Comment 4 Jun Qian 2007-06-26 18:28:38 UTC
Created attachment 44422 [details]
Fixed error message