Uploaded image for project: 'Geronimo-Devtools'
  1. Geronimo-Devtools
  2. GERONIMODEVTOOLS-689

NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0, 3.0_M1, 2.1.7, 3.0
    • 3.0-M2, 2.2.1, 2.1.8
    • eclipse-plugin
    • None

    Description

      Hi everybody,

      I just updated to Geronimo Eclipse Plugin v2.1.7, and now I get a NullpointerException whenever I try to publish to the server:

      java.lang.NullPointerException
      at java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
      at org.apache.geronimo.st.core.internal.DependencyHelper.getEnvironment(DependencyHelper.java:442)
      at org.apache.geronimo.st.core.internal.DependencyHelper.reorderModules(DependencyHelper.java:109)
      at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:243)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:948)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
      at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2889)
      at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:337)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

      The project I used for testing is the one described here:
      https://cwiki.apache.org/GMOxDOC21/5-minute-tutorial-on-enterprise-application-development-with-eclipse-and-geronimo.html

      The exception disappears when switching back to 2.1.6 of the eclipse plugin

      I'm using Eclipse 3.6.1

      Any ideas?

      Martin

      Attachments

        1. openejb-jar.xml
          1 kB
          Hong Fang Han
        2. SampleProject.zip
          16 kB
          Hong Fang Han

        Activity

          People

            hanhongfang Hong Fang Han
            hanhongfang Hong Fang Han
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: