geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Han Hong Fang (JIRA)" <>
Subject [jira] Commented: (GERONIMODEVTOOLS-689) NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
Date Tue, 14 Dec 2010 02:02:02 GMT


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

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,

> NullPointerException when publishing with Geronimo Eclipse Plugin v2.1.7
> ------------------------------------------------------------------------
>                 Key: GERONIMODEVTOOLS-689
>                 URL:
>             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
> at
> at
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(
> at org.eclipse.wst.server.core.internal.Server.publishImpl(
> at org.eclipse.wst.server.core.internal.Server$
> at
> The project I used for testing is the one described here:
> 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.

View raw message