You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "John Meyer (Created) (JIRA)" <ji...@apache.org> on 2012/04/04 21:22:22 UTC

[jira] [Created] (MTOMCAT-134) Empty additionalClasspathDir causes NPE in RunMojo.java

Empty additionalClasspathDir causes NPE in RunMojo.java
-------------------------------------------------------

                 Key: MTOMCAT-134
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-134
             Project: Apache Tomcat Maven Plugin
          Issue Type: Bug
          Components: tomcat6, tomcat7
    Affects Versions: 2.0-beta-1
         Environment: 			<plugin>
				<groupId>org.apache.tomcat.maven</groupId>
				<artifactId>tomcat7-maven-plugin</artifactId>
				<version>2.0-SNAPSHOT</version>
				<configuration>
					<port>9090</port>
					<path>/myapp-1.0</path>
					<!--contextFile></contextFile-->
					<systemProperties></systemProperties>
					<useTestClasspath>false</useTestClasspath>
					<additionalClasspathDirs>
						<additionalClasspathDir></additionalClasspathDir>
					</additionalClasspathDirs>
				</configuration>
				<executions>
					<execution>
						<id>tomcat-run</id>
						<goals>
							<goal>exec-war-only</goal>
						</goals>
						<phase>package</phase>
						<configuration>
							<path>/myapp-1.0</path>
						</configuration>
					</execution>
				</executions>
			</plugin>
            Reporter: John Meyer
            Assignee: Olivier Lamy (*$^¨%`£)
            Priority: Minor


Hit an issue where specifying an empty additionalClasspathDir caused a mysterious NPE and no explaination of what was wrong

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[jira] [Updated] (MTOMCAT-134) Empty additionalClasspathDir causes NPE in RunMojo.java

Posted by "John Meyer (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Meyer updated MTOMCAT-134:
-------------------------------

    Attachment: MTOMCAT-134.diff

Proposed fix
                
> Empty additionalClasspathDir causes NPE in RunMojo.java
> -------------------------------------------------------
>
>                 Key: MTOMCAT-134
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-134
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat6, tomcat7
>    Affects Versions: 2.0-beta-1
>         Environment: 			<plugin>
> 				<groupId>org.apache.tomcat.maven</groupId>
> 				<artifactId>tomcat7-maven-plugin</artifactId>
> 				<version>2.0-SNAPSHOT</version>
> 				<configuration>
> 					<port>9090</port>
> 					<path>/myapp-1.0</path>
> 					<!--contextFile></contextFile-->
> 					<systemProperties></systemProperties>
> 					<useTestClasspath>false</useTestClasspath>
> 					<additionalClasspathDirs>
> 						<additionalClasspathDir></additionalClasspathDir>
> 					</additionalClasspathDirs>
> 				</configuration>
> 				<executions>
> 					<execution>
> 						<id>tomcat-run</id>
> 						<goals>
> 							<goal>exec-war-only</goal>
> 						</goals>
> 						<phase>package</phase>
> 						<configuration>
> 							<path>/myapp-1.0</path>
> 						</configuration>
> 					</execution>
> 				</executions>
> 			</plugin>
>            Reporter: John Meyer
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>         Attachments: MTOMCAT-134.diff
>
>
> Hit an issue where specifying an empty additionalClasspathDir caused a mysterious NPE and no explaination of what was wrong

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[jira] [Updated] (MTOMCAT-134) Empty additionalClasspathDir causes NPE in RunMojo.java

Posted by "Olivier Lamy (*$^¨%`£ Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy (*$^¨%`£) updated MTOMCAT-134:
-------------------------------------------

    Fix Version/s: 2.0
    
> Empty additionalClasspathDir causes NPE in RunMojo.java
> -------------------------------------------------------
>
>                 Key: MTOMCAT-134
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-134
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat6, tomcat7
>    Affects Versions: 2.0-beta-1
>         Environment: 			<plugin>
> 				<groupId>org.apache.tomcat.maven</groupId>
> 				<artifactId>tomcat7-maven-plugin</artifactId>
> 				<version>2.0-SNAPSHOT</version>
> 				<configuration>
> 					<port>9090</port>
> 					<path>/myapp-1.0</path>
> 					<!--contextFile></contextFile-->
> 					<systemProperties></systemProperties>
> 					<useTestClasspath>false</useTestClasspath>
> 					<additionalClasspathDirs>
> 						<additionalClasspathDir></additionalClasspathDir>
> 					</additionalClasspathDirs>
> 				</configuration>
> 				<executions>
> 					<execution>
> 						<id>tomcat-run</id>
> 						<goals>
> 							<goal>exec-war-only</goal>
> 						</goals>
> 						<phase>package</phase>
> 						<configuration>
> 							<path>/myapp-1.0</path>
> 						</configuration>
> 					</execution>
> 				</executions>
> 			</plugin>
>            Reporter: John Meyer
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: MTOMCAT-134.diff
>
>
> Hit an issue where specifying an empty additionalClasspathDir caused a mysterious NPE and no explaination of what was wrong

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[jira] [Commented] (MTOMCAT-134) Empty additionalClasspathDir causes NPE in RunMojo.java

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MTOMCAT-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246647#comment-13246647 ] 

Hudson commented on MTOMCAT-134:
--------------------------------

Integrated in TomcatMavenPlugin-mvn3.x #120 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/120/])
    [MTOMCAT-134] Empty additionalClasspathDir causes NPE in RunMojo.java
Submitted by John Meyer. (Revision 1309560)

     Result = FAILURE
olamy : http://svn.apache.org/viewvc/?view=rev&rev=1309560
Files : 
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/RunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/RunMojo.java

                
> Empty additionalClasspathDir causes NPE in RunMojo.java
> -------------------------------------------------------
>
>                 Key: MTOMCAT-134
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-134
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat6, tomcat7
>    Affects Versions: 2.0-beta-1
>         Environment: 			<plugin>
> 				<groupId>org.apache.tomcat.maven</groupId>
> 				<artifactId>tomcat7-maven-plugin</artifactId>
> 				<version>2.0-SNAPSHOT</version>
> 				<configuration>
> 					<port>9090</port>
> 					<path>/myapp-1.0</path>
> 					<!--contextFile></contextFile-->
> 					<systemProperties></systemProperties>
> 					<useTestClasspath>false</useTestClasspath>
> 					<additionalClasspathDirs>
> 						<additionalClasspathDir></additionalClasspathDir>
> 					</additionalClasspathDirs>
> 				</configuration>
> 				<executions>
> 					<execution>
> 						<id>tomcat-run</id>
> 						<goals>
> 							<goal>exec-war-only</goal>
> 						</goals>
> 						<phase>package</phase>
> 						<configuration>
> 							<path>/myapp-1.0</path>
> 						</configuration>
> 					</execution>
> 				</executions>
> 			</plugin>
>            Reporter: John Meyer
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: MTOMCAT-134.diff
>
>
> Hit an issue where specifying an empty additionalClasspathDir caused a mysterious NPE and no explaination of what was wrong

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[jira] [Closed] (MTOMCAT-134) Empty additionalClasspathDir causes NPE in RunMojo.java

Posted by "Olivier Lamy (*$^¨%`£ Closed JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MTOMCAT-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy (*$^¨%`£) closed MTOMCAT-134.
------------------------------------------

    Resolution: Fixed

patch applied.
Thanks!
                
> Empty additionalClasspathDir causes NPE in RunMojo.java
> -------------------------------------------------------
>
>                 Key: MTOMCAT-134
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-134
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat6, tomcat7
>    Affects Versions: 2.0-beta-1
>         Environment: 			<plugin>
> 				<groupId>org.apache.tomcat.maven</groupId>
> 				<artifactId>tomcat7-maven-plugin</artifactId>
> 				<version>2.0-SNAPSHOT</version>
> 				<configuration>
> 					<port>9090</port>
> 					<path>/myapp-1.0</path>
> 					<!--contextFile></contextFile-->
> 					<systemProperties></systemProperties>
> 					<useTestClasspath>false</useTestClasspath>
> 					<additionalClasspathDirs>
> 						<additionalClasspathDir></additionalClasspathDir>
> 					</additionalClasspathDirs>
> 				</configuration>
> 				<executions>
> 					<execution>
> 						<id>tomcat-run</id>
> 						<goals>
> 							<goal>exec-war-only</goal>
> 						</goals>
> 						<phase>package</phase>
> 						<configuration>
> 							<path>/myapp-1.0</path>
> 						</configuration>
> 					</execution>
> 				</executions>
> 			</plugin>
>            Reporter: John Meyer
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: MTOMCAT-134.diff
>
>
> Hit an issue where specifying an empty additionalClasspathDir caused a mysterious NPE and no explaination of what was wrong

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org