You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Han Hong Fang (JIRA)" <ji...@apache.org> on 2010/12/14 02:58:00 UTC
[jira] Created: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
------------------------------------------------------------------------
Key: GERONIMODEVTOOLS-689
URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
Project: Geronimo-Devtools
Issue Type: Bug
Components: eclipse-plugin
Affects Versions: 2.1.7
Reporter: Han Hong Fang
Assignee: Delos Dai
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971123#action_12971123 ]
Han Hong Fang commented on GERONIMODEVTOOLS-689:
------------------------------------------------
This problem is reported on user mailing list by Martin.
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.7
> Reporter: Han Hong Fang
> Assignee: Delos Dai
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973128#action_12973128 ]
Han Hong Fang commented on GERONIMODEVTOOLS-689:
------------------------------------------------
commit in branch v21 at revision: 1051013
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.0, 2.1.7
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 2.2.1, 2.1.8
>
> Attachments: openejb-jar.xml, SampleProject.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang reassigned GERONIMODEVTOOLS-689:
----------------------------------------------
Assignee: Han Hong Fang (was: Delos Dai)
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.0, 2.1.7
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 2.2.1, 2.1.8
>
> Attachments: openejb-jar.xml, SampleProject.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973127#action_12973127 ]
Han Hong Fang commented on GERONIMODEVTOOLS-689:
------------------------------------------------
commit for branch v22 at revision: 1051007.
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.0, 2.1.7
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 2.2.1, 2.1.8
>
> Attachments: openejb-jar.xml, SampleProject.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12981633#action_12981633 ]
Han Hong Fang commented on GERONIMODEVTOOLS-689:
------------------------------------------------
Same problem in trunk.
Commit fix for trunk at revision 1058850
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.0, 2.1.7
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 2.2.1, 2.1.8
>
> Attachments: openejb-jar.xml, SampleProject.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang closed GERONIMODEVTOOLS-689.
------------------------------------------
Released with GEP 221, so I close this JIRA.
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.0, 3.0_M1, 2.1.7, 3.0
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 3.0-M2, 2.2.1, 2.1.8
>
> Attachments: openejb-jar.xml, SampleProject.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang updated GERONIMODEVTOOLS-689:
-------------------------------------------
Attachment: openejb-jar.xml
SampleProject.zip
Attached is the export of my sample projects (including a "Utility Project"), plus the openejb-jar.xml file that I removed according to the instructions in the tutorial - it runs with GEP 2.1.6, and generates a NullpointerException in GEP 2.1.7
Best regards,
Martin
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.7
> Reporter: Han Hong Fang
> Assignee: Delos Dai
> Attachments: openejb-jar.xml, SampleProject.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang resolved GERONIMODEVTOOLS-689.
--------------------------------------------
Resolution: Fixed
Change status to resolved.
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.0, 2.1.7
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 2.2.1, 2.1.8
>
> Attachments: openejb-jar.xml, SampleProject.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971124#action_12971124 ]
Han Hong Fang commented on GERONIMODEVTOOLS-689:
------------------------------------------------
Hi again,
after a little bit of debugging, it seems to me that the problem is that I've deleted ejbModule/META-INF/openejb-jar.xml in the SampleEJB project, as is suggested in
https://cwiki.apache.org/GMOxDOC21/5-minute-tutorial-on-enterprise-application-development-with-eclipse-and-geronimo.html
Since that file is gone, the check
file.getName().equals(GeronimoUtils.OPENEJB_PLAN_NAME) && file.exists()
in DependencyHelper Line 538 is false, so "environment" in DependencyHelper Line 442 is never set for the EJB project.
Did I misread the instructions to delete ejbModule/META-INF/openejb-jar.xml?
By the way, a NullpointerException also occurs if one adds a "Utility Project" to the EAR (since there's only handling for Web, EJB, EAR, RAR and AppClient modules).
Maybe I'm simply misunderstanding how Geronimo works (I've been using JBoss for a long time, and have just started using Geronimo).
Best regards,
Martin
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.1.7
> Reporter: Han Hong Fang
> Assignee: Delos Dai
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang updated GERONIMODEVTOOLS-689:
-------------------------------------------
Affects Version/s: 2.2.0
Fix Version/s: 2.1.8
2.2.1
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.0, 2.1.7
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 2.2.1, 2.1.8
>
> Attachments: openejb-jar.xml, SampleProject.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMODEVTOOLS-689) NullPointerException when
publishing with Geronimo Eclipse Plugin v2.1.7
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Han Hong Fang updated GERONIMODEVTOOLS-689:
-------------------------------------------
Affects Version/s: 3.0
3.0_M1
Fix Version/s: 3.0-M2
> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-689
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-689
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.2.0, 3.0_M1, 2.1.7, 3.0
> Reporter: Han Hong Fang
> Assignee: Han Hong Fang
> Fix For: 3.0-M2, 2.2.1, 2.1.8
>
> Attachments: openejb-jar.xml, SampleProject.zip
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.