[ http://jira.codehaus.org/browse/MNG-782?page=all ] Kenney Westerhof closed MNG-782: --------------------------------
Resolution: Cannot Reproduce > Filtering fails when filtered file contains $P{ReportTitle} > ------------------------------------------------------------ > > Key: MNG-782 > URL: http://jira.codehaus.org/browse/MNG-782 > Project: Maven 2 > Type: Bug > Components: maven-plugins > Versions: 2.0-alpha-3 > Environment: Windows XP Prof > Reporter: Tony Steele > Assignee: Kenney Westerhof > Priority: Minor > > > Filtering of a file by the configuration plugin fails when the filtered file > contains a $P{ReportTitle}. The file was a Jasper Report definition file. > The trace output by Maven is as follows. It would be handy to have more info > of wahat casused the error, The -X does not show what files are being > processed by the configuration plugin. > [INFO] [compiler:compile] > Compiling 27 source files to > D:\Project\DISRepository\components\DISRepositoryManager\target\classes > [INFO] [resources:testResources] > [INFO] > ---------------------------------------------------------------------------- > [ERROR] BUILD ERROR > [INFO] > ---------------------------------------------------------------------------- > [INFO] Diagnosis: Error copying resources > [INFO] > ---------------------------------------------------------------------------- > [ERROR] Cause: > org.apache.maven.plugin.MojoExecutionException: Error copying resources > at > org.apache.maven.plugin.resources.ResourcesMojo.copyResources(ResourcesMojo.java:119) > at > org.apache.maven.plugin.resources.TestResourcesMojo.execute(TestResourcesMojo.java:53) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:401) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:169) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:143) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:129) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:103) > at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:261) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:180) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:269) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) > at org.codehaus.classworlds.Launcher.main(Launcher.java:363) > Caused by: java.lang.NullPointerException > at > org.codehaus.plexus.util.InterpolationFilterReader.read(InterpolationFilterReader.java:251) > at > org.codehaus.plexus.util.InterpolationFilterReader.getNextChar(InterpolationFilterReader.java:130) > at > org.codehaus.plexus.util.InterpolationFilterReader.read(InterpolationFilterReader.java:222) > at > org.codehaus.plexus.util.InterpolationFilterReader.read(InterpolationFilterReader.java:183) > at java.io.Reader.read(Reader.java:100) > at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:212) > at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200) > at > org.apache.maven.plugin.resources.ResourcesMojo.copyFile(ResourcesMojo.java:216) > at > org.apache.maven.plugin.resources.ResourcesMojo.copyResources(ResourcesMojo.java:113) > ... 17 more > [INFO] > ---------------------------------------------------------------------------- > [INFO] Total time: 8 seconds > [INFO] Finished at: Tue Aug 23 16:06:13 BST 2005 > [INFO] Final Memory: 2M/13M > [INFO] > ---------------------------------------------------------------------------- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]