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 102569 - Project build output is not useful
Summary: Project build output is not useful
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@soa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 04:10 UTC by Murali Pottlapelli
Modified: 2008-02-29 12:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (43.42 KB, application/octet-stream)
2007-04-26 04:11 UTC, Murali Pottlapelli
Details
project to reproduce the issue (92.63 KB, application/octet-stream)
2007-10-29 08:05 UTC, Murali Pottlapelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Murali Pottlapelli 2007-04-26 04:10:36 UTC
When I build the project attached it prints following output to console. This
error does not help at all. Clicking on the link takes to build script.
pre-init:
netbeans.home: C:\alaska\netbeans\platform7
netbeans.user: C:\Documents and Settings\mpottlapelli\.netbeans\dev
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init-taskdefs:
init:
pre-dist:
C:\alaska\projects\Test\testWSDL\CreateTroubleTicket\nbproject\build-impl.xml:155:
Found validation errors.
BUILD FAILED (total time: 0 seconds)
Comment 1 Murali Pottlapelli 2007-04-26 04:11:00 UTC
Created attachment 41691 [details]
project
Comment 2 Vladimir Yaroslavskiy 2007-04-26 09:38:51 UTC
The problem is in validation framework (xml module).
Comment 3 Murali Pottlapelli 2007-06-11 23:10:28 UTC
Yaroslavskiy:
Please assign it to right person.
Comment 4 Sergey Lunegov 2007-06-14 15:41:56 UTC
Sam, please provide some explanation why it's bpel project related issue.
Comment 5 Samaresh Panda 2007-06-14 19:59:15 UTC
I could ask the same question as well.

I assigned to bpel because the attached project is a BPEL project and the problem appears when you build the project. If
it is a generic xml issue, it is incomplete. When you right click a xml and validate and if it doesn't spit out proper
error message to the console, then it is indeed a problem with xml validation framework.
Comment 6 Vladimir Yaroslavskiy 2007-06-15 09:07:42 UTC
Investigation shows that validation ant task in bpel project has all details but doesn't show only one simple message.
So, it is task for project. I will fix it.
Comment 7 Vladimir Yaroslavskiy 2007-07-12 14:52:21 UTC
Fixed.
Comment 8 Andrei Chistiakov 2007-09-04 16:14:45 UTC
Verified in build 200709031200.
Comment 9 Murali Pottlapelli 2007-10-26 18:12:50 UTC
Same issue exists for the project attached (new one, did not test with the old one).

Here is the message printed in output window.

Two issues 
1. Actual error lines are hyper linked
2. Not sure why build-impl.xml:123 line needs to be hyperlinked.


[deleted few lines here for readability]
Created dir: C:\openEsb\open-jbi-components\driver-tests\bpelse\blueprints\bp4\BluePrint4\build
C:\openEsb\open-jbi-components\driver-tests\bpelse\blueprints\bp4\BluePrint4Application\nbproject\build-impl.xml:123:
The following error occurred while executing this line:
C:\openEsb\open-jbi-components\driver-tests\bpelse\blueprints\bp4\BluePrint4\nbproject\build-impl.xml:156: 
Found validation errors:
Error: The value of the name attribute on <soap:fault> element MUST match the value of the name attribute on its parent
<wsdl:fault> element. 
Error: To: Can not find the element "price" at the namespace "null". Expression: "$purchaseOrderRequest.purchaseOrder/price"
BUILD FAILED (total time: 1 second)
 
Comment 10 Murali Pottlapelli 2007-10-29 08:02:16 UTC
There is typo. I meant

Two issues 
1. Actual error lines are not hyper linked
2. Not sure why build-impl.xml:123 line needs to be hyperlinked.

Comment 11 Murali Pottlapelli 2007-10-29 08:05:49 UTC
Created attachment 51865 [details]
project to reproduce the issue
Comment 12 Sergey Lunegov 2007-10-29 11:56:33 UTC
For Sierra.
Comment 13 Vladimir Yaroslavskiy 2007-11-01 13:35:22 UTC
I opened BPEL project BluePrint4, invoked Clean and Build, output is:
...
pre-dist:
Created dir: C:\Documents and Settings\v1v\My Documents\NetBeansProjects\bp4\BluePrint4\build
Found validation errors:
Error: The value of the name attribute on <soap:fault> element MUST match the value of the name attribute on its parent
<wsdl:fault> element. 
BUILD FAILED (total time: 1 second)

There are no hyper-linked (or any) lines from build-impl.xml.

When I opened composite application project BluePrint4Application, invoked Clean and Build, output is:
pre-dist:
Created dir: C:\Documents and Settings\v1v\My Documents\NetBeansProjects\bp4\BluePrint4\build
C:\Documents and Settings\v1v\My Documents\NetBeansProjects\bp4\BluePrint4Application\nbproject\build-impl.xml:123: The
following error occurred while executing this line:
C:\Documents and Settings\v1v\My Documents\NetBeansProjects\bp4\BluePrint4\nbproject\build-impl.xml:156: 
Found validation errors:
Error: The value of the name attribute on <soap:fault> element MUST match the value of the name attribute on its parent
<wsdl:fault> element. 
BUILD FAILED (total time: 1 second)

Composite application project shouldn't show line 123 as hyperlinked.
So, reassinging to CompApp project.
Comment 14 Vladimir Yaroslavskiy 2008-02-29 12:20:19 UTC
P2 -> P3: all information about validation errors/warnings are shown, nothing is missing, cosmetic changes are required
only.