You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Aino Andriessen (JIRA)" <de...@myfaces.apache.org> on 2007/11/28 22:42:43 UTC
[jira] Created: (TRINIDAD-843) Jdev plugin - Nullpointer exception
Jdev plugin - Nullpointer exception
-----------------------------------
Key: TRINIDAD-843
URL: https://issues.apache.org/jira/browse/TRINIDAD-843
Project: MyFaces Trinidad
Issue Type: Bug
Components: Plugins
Affects Versions: 1.2.5-plugins, 1.2.4.1-plugins
Environment: Windows
Reporter: Aino Andriessen
When running the jdev plugin, a nullpointer occurs with the (new) code for handling taglibs. The WEB-INF\lib directory of my projects are empty or are not present at all.
Stacktrace :
[INFO] ------------------------------------------------------------------------
[INFO] Building Default ADF Faces application : jdevplugin
[INFO] task-segment: [jdev:jdev]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing jdev:jdev
[INFO] No goals needed for project - skipping
[INFO] [jdev:jdev]
[INFO] Generating JDeveloper 10.1.3.0.4 workspace: jdevplugin
[INFO] ------------------------------------------------------------------------
[INFO] Building The generated jdevplugin model project
[INFO] task-segment: [jdev:jdev]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing jdev:jdev
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [jdev:jdev]
[INFO] Generating JDeveloper 10.1.3.0.4 Project jdevplugin-model
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceLocalTagLibraries(JDeveloperMojo.java:904)
at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceTagLibraries(JDeveloperMojo.java:1113)
at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject(JDeveloperMojo.java:398)
at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject(JDeveloperMojo.java:315)
at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.execute(JDeveloperMojo.java:227)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
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:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed Nov 28 22:02:12 CET 2007
[INFO] Final Memory: 3M/7M
[INFO] ------------------------------------------------------------------------
D:\tmp\test_projects\jdevplugin>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TRINIDAD-843) Jdev plugin - Nullpointer
exception
Posted by "Gary Kind (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546481 ]
Gary Kind commented on TRINIDAD-843:
------------------------------------
The local tag libraries, if any should be located in your maven project's ${basedir}/src/main/webapp/WEB-INF, not WEB-INF/lib. ${basedir}/src/main/webapp/WEB-INF is the maven standard generic location for its webapp projects. That being said I do have a bug in the TRINIDAD-808 that needs to be fixed.
> Jdev plugin - Nullpointer exception
> -----------------------------------
>
> Key: TRINIDAD-843
> URL: https://issues.apache.org/jira/browse/TRINIDAD-843
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Plugins
> Affects Versions: 1.2.5-plugins, 1.2.4.1-plugins
> Environment: Windows
> Reporter: Aino Andriessen
>
> When running the jdev plugin, a nullpointer occurs with the (new) code for handling taglibs. The WEB-INF\lib directory of my projects are empty or are not present at all.
> Stacktrace :
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Default ADF Faces application : jdevplugin
> [INFO] task-segment: [jdev:jdev]
> [INFO] ------------------------------------------------------------------------
> [INFO] Preparing jdev:jdev
> [INFO] No goals needed for project - skipping
> [INFO] [jdev:jdev]
> [INFO] Generating JDeveloper 10.1.3.0.4 workspace: jdevplugin
> [INFO] ------------------------------------------------------------------------
> [INFO] Building The generated jdevplugin model project
> [INFO] task-segment: [jdev:jdev]
> [INFO] ------------------------------------------------------------------------
> [INFO] Preparing jdev:jdev
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [jdev:jdev]
> [INFO] Generating JDeveloper 10.1.3.0.4 Project jdevplugin-model
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceLocalTagLibraries(JDeveloperMojo.java:904)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceTagLibraries(JDeveloperMojo.java:1113)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject(JDeveloperMojo.java:398)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject(JDeveloperMojo.java:315)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.execute(JDeveloperMojo.java:227)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> 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:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Wed Nov 28 22:02:12 CET 2007
> [INFO] Final Memory: 3M/7M
> [INFO] ------------------------------------------------------------------------
> D:\tmp\test_projects\jdevplugin>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TRINIDAD-843) Jdev plugin - Nullpointer exception
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf resolved TRINIDAD-843.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.5-plugins
> Jdev plugin - Nullpointer exception
> -----------------------------------
>
> Key: TRINIDAD-843
> URL: https://issues.apache.org/jira/browse/TRINIDAD-843
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Plugins
> Affects Versions: 1.2.5-plugins, 1.2.4.1-plugins
> Environment: Windows
> Reporter: Aino Andriessen
> Fix For: 1.2.5-plugins
>
>
> When running the jdev plugin, a nullpointer occurs with the (new) code for handling taglibs. The WEB-INF\lib directory of my projects are empty or are not present at all.
> Stacktrace :
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Default ADF Faces application : jdevplugin
> [INFO] task-segment: [jdev:jdev]
> [INFO] ------------------------------------------------------------------------
> [INFO] Preparing jdev:jdev
> [INFO] No goals needed for project - skipping
> [INFO] [jdev:jdev]
> [INFO] Generating JDeveloper 10.1.3.0.4 workspace: jdevplugin
> [INFO] ------------------------------------------------------------------------
> [INFO] Building The generated jdevplugin model project
> [INFO] task-segment: [jdev:jdev]
> [INFO] ------------------------------------------------------------------------
> [INFO] Preparing jdev:jdev
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [jdev:jdev]
> [INFO] Generating JDeveloper 10.1.3.0.4 Project jdevplugin-model
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceLocalTagLibraries(JDeveloperMojo.java:904)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceTagLibraries(JDeveloperMojo.java:1113)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject(JDeveloperMojo.java:398)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject(JDeveloperMojo.java:315)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.execute(JDeveloperMojo.java:227)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> 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:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Wed Nov 28 22:02:12 CET 2007
> [INFO] Final Memory: 3M/7M
> [INFO] ------------------------------------------------------------------------
> D:\tmp\test_projects\jdevplugin>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TRINIDAD-843) Jdev plugin -
Nullpointer exception
Posted by "Aino Andriessen (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546417 ]
aino_a edited comment on TRINIDAD-843 at 11/28/07 1:42 PM:
--------------------------------------------------------------------
It seems that the patch of the related issue causes the problems.
was (Author: aino_a):
It seems that this patch causes the problems.
> Jdev plugin - Nullpointer exception
> -----------------------------------
>
> Key: TRINIDAD-843
> URL: https://issues.apache.org/jira/browse/TRINIDAD-843
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Plugins
> Affects Versions: 1.2.5-plugins, 1.2.4.1-plugins
> Environment: Windows
> Reporter: Aino Andriessen
>
> When running the jdev plugin, a nullpointer occurs with the (new) code for handling taglibs. The WEB-INF\lib directory of my projects are empty or are not present at all.
> Stacktrace :
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Default ADF Faces application : jdevplugin
> [INFO] task-segment: [jdev:jdev]
> [INFO] ------------------------------------------------------------------------
> [INFO] Preparing jdev:jdev
> [INFO] No goals needed for project - skipping
> [INFO] [jdev:jdev]
> [INFO] Generating JDeveloper 10.1.3.0.4 workspace: jdevplugin
> [INFO] ------------------------------------------------------------------------
> [INFO] Building The generated jdevplugin model project
> [INFO] task-segment: [jdev:jdev]
> [INFO] ------------------------------------------------------------------------
> [INFO] Preparing jdev:jdev
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [jdev:jdev]
> [INFO] Generating JDeveloper 10.1.3.0.4 Project jdevplugin-model
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] null
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceLocalTagLibraries(JDeveloperMojo.java:904)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceTagLibraries(JDeveloperMojo.java:1113)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject(JDeveloperMojo.java:398)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject(JDeveloperMojo.java:315)
> at org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.execute(JDeveloperMojo.java:227)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
> 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:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Wed Nov 28 22:02:12 CET 2007
> [INFO] Final Memory: 3M/7M
> [INFO] ------------------------------------------------------------------------
> D:\tmp\test_projects\jdevplugin>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.