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 127181 - Empty layers should not be used
Summary: Empty layers should not be used
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Manager (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2008-02-12 11:12 UTC by Lukas Jungmann
Modified: 2008-02-17 05:03 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 Lukas Jungmann 2008-02-12 11:12:47 UTC
junit.framework.AssertionFailedError: No errors or warnings during layer parsing: [Inefficient to include an empty layer
in a module:
nbjcl:file:/hudson/workdir/jobs/trunk/workspace/nbbuild/netbeans/enterprise5/modules/org-netbeans-modules-websvc-saas-api.jar!/org/netbeans/modules/websvc/saas/resources/layer.xml]
expected:<0> but was:<1>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:280)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:198)
	at
org.netbeans.core.projects.ValidateLayerConsistencyTest.testNoWarningsFromLayerParsing(ValidateLayerConsistencyTest.java:488)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Comment 1 Nam Nguyen 2008-02-12 23:48:24 UTC
Fixed:
http://hg.netbeans.org/main/rev/e130467a7ea2
Comment 2 Lukas Jungmann 2008-02-17 05:03:06 UTC
v.