Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-843

Jdev plugin - Nullpointer exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.5-plugins
    • 1.2.5-plugins
    • Plugins
    • None
    • Windows

    Description

      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>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aino_a Aino Andriessen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: