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 244035 - AssertionError: Non empty module path must start with '/'; was BUFAppEngine-1.1-SNAPSHOT
Summary: AssertionError: Non empty module path must start with '/'; was BUFAppEngine-1...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-23 16:09 UTC by Martin Fousek
Modified: 2014-07-21 08:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209261


Attachments
stacktrace (1.24 KB, text/plain)
2014-04-23 16:09 UTC, Martin Fousek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2014-04-23 16:09:04 UTC
Build: NetBeans IDE Dev (Build 20140418-25cc02869bde)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Linux

User Comments:
marfous: It's my issue within the context.xml file I made in the editor:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true"
         path="AppEngine-1.1-SNAPSHOT" ....




Stacktrace: 
java.lang.AssertionError: Non empty module path must start with '/'; was BUFAppEngine-1.1-SNAPSHOT
   at org.netbeans.modules.tomcat5.deploy.TomcatModule.<init>(TomcatModule.java:67)
   at org.netbeans.modules.tomcat5.deploy.TomcatManagerImpl.initialDeploy(TomcatManagerImpl.java:218)
   at org.netbeans.modules.tomcat5.optional.TomcatIncrementalDeployment.initialDeploy(TomcatIncrementalDeployment.java:148)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:672)
   at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:246)
   at org.netbeans.modules.maven.j2ee.execution.DeploymentHelper.perform(DeploymentHelper.java:266)
Comment 1 Martin Fousek 2014-04-23 16:09:06 UTC
Created attachment 146915 [details]
stacktrace
Comment 2 Petr Hejl 2014-07-15 10:59:27 UTC
According to spec the path should start with / as described. If you feel assertion too obtrusive I can replace it with a log.
Comment 3 Petr Hejl 2014-07-15 14:00:42 UTC
Fixed in web-main dc343b07b5e4.
Comment 4 Quality Engineering 2014-07-16 01:45:32 UTC
Integrated into 'main-silver', will be available in build *201407160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/dc343b07b5e4
User: Petr Hejl <phejl@netbeans.org>
Log: #244035 - AssertionError: Non empty module path must start with '/'; was BUFAppEngine-1.1-SNAPSHOT
Comment 5 Martin Fousek 2014-07-21 08:06:35 UTC
Yeah, I think that logger is much better. Thanks a lot.