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 75571 - AVK plugin does not show result of verification
Summary: AVK plugin does not show result of verification
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-26 16:51 UTC by Mikhail Vaysman
Modified: 2006-06-07 22:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Vaysman 2006-04-26 16:51:36 UTC
Build 200604240200
Step to reproduce:
1. Install AVK plugin using Update Center
2. Create EJB Module project (don't create any bean in this project)
3. Right-click on project node. Chose Verify Project.
4. Chose Static Verification. Click Ok.
5. Verifier Window shown. But results never shown.
Output window shown error:
init:
deps-jar:
compile:
library-inclusion-in-archive:
dist:
verify:
running /opt/SUNWappserver9/bin/verifier -ra -d /tmp/EJBModule3/dist
/tmp/EJBModule3/dist/EJBModule3.jar 
 SEVERE: "DPL8015: Invalid Deployment Descriptors in Deployment descriptor file
META-INF/ejb-jar.xml in archive [EJBModule3]. 
Line 5 Column 28 -- cvc-complex-type.2.4.b: The content of element
'enterprise-beans' is not complete. One of '{"http://java.sun.
com/xml/ns/j2ee":session, "http://java.sun.com/xml/ns/j2ee":entity,
"http://java.sun.com/xml/ns/j2ee":message-driven}' is expected."
 SEVERE: "DPL8005: Deployment Descriptor parsing failure :
cvc-complex-type.2.4.b: The content of element 'enterprise-beans
' is not complete. One of '{"http://java.sun.com/xml/ns/j2ee":session,
"http://java.sun.com/xml/ns/j2ee":entity,
"http://java.sun.com/xml/ns/j2ee":message-driven}' is expected."
 INFO: 
# of Failures : 0
# of Warnings : 0
# of Errors   : 2
 INFO: Look in file "/tmp/EJBModule3/dist/EJBModule3.jar.txt" for detailed results.
java.lang.RuntimeException: DOM graph creation failed:
org.netbeans.modules.schema2beans.Schema2BeansRuntimeException: Property
"error-name" already bound to a DOM node.
        at
org.netbeans.modules.j2ee.sun.dd.impl.verifier.StaticVerification.createGraph(StaticVerification.java:438)
        at
org.netbeans.modules.j2ee.sun.dd.impl.verifier.StaticVerification.createGraph(StaticVerification.java:429)
        at
org.netbeans.modules.j2ee.sun.ide.j2ee.VerifierSupport.launchVerifier(VerifierSupport.java:176)
        at
org.netbeans.modules.j2ee.sun.ide.j2ee.VerifierImpl.verify(VerifierImpl.java:57)
        at
org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider.verify(J2eeModuleProvider.java:471)
        at org.netbeans.modules.j2ee.ant.Verify.execute(Verify.java:53)
        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:234)
        at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:287)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
BUILD SUCCESSFUL (total time: 5 seconds)
Comment 1 Nitya Doraisamy 2006-05-11 19:20:33 UTC
This has nothing to do with AVK plugin. Static verification is done by the
verifier launche via the appserver plugin
Comment 2 Vince Kraemer 2006-05-25 15:59:42 UTC
I will take a look at this...
Comment 3 Vince Kraemer 2006-06-01 03:47:42 UTC
this appears to be fixed in 5.0 when targeting 8.2
Comment 4 Vince Kraemer 2006-06-01 03:52:29 UTC
this appears to be broken in 5.5/glassfish.. Oh, joy.
Comment 6 Vince Kraemer 2006-06-07 22:42:03 UTC
forgot the TM