geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <>
Subject [jira] Closed: (GERONIMO-4366) Non-ASCII chars in deployment plan xml files cause deployment failed with NPE on deployment time
Date Fri, 17 Oct 2008 14:58:44 GMT


Donald Woods closed GERONIMO-4366.

    Resolution: Won't Fix

If you want to include non-UTF8 chars in the XML file, then you need to change the specified
XML encoding value first.
If changing the encoding to your locale charset doesn't work, then reopen, but please remember
that we have never tested or claimed that Geronimo supports non-UTF8 charsets....

> Non-ASCII chars in deployment plan xml files cause deployment failed with NPE on deployment
> ------------------------------------------------------------------------------------------------
>                 Key: GERONIMO-4366
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1.3
>         Environment: Any platforms
>            Reporter: Forrest Xia
> Steps to recur:
> 1. checkout AG samples 2.1.2
> 2. build them
> 3. install jms-mdb-xxx.ear with plan "samples\jms-mdb\jms-mdb-tomcat\target\resources\META-INF\plan.xml"
in admin console
> You will get an NPE like this:
> java.lang.NullPointerException
> org.apache.geronimo.common.DeploymentException: java.lang.NullPointerException
> 	at org.apache.geronimo.deployment.Deployer.deploy(
> 	at org.apache.geronimo.deployment.Deployer.deploy(
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> 	at java.lang.reflect.Method.invoke(
> 	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(
> 	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(
> 	at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(
> 	at
> 	at
> Caused by: java.lang.NullPointerException
> 	at org.apache.geronimo.deployment.CopyResourceContext.addFile(
> 	at org.apache.geronimo.deployment.DeploymentContext.addFile(
> 	at org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.installModule(
> 	at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.installModule(
> 	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(
> 	at org.apache.geronimo.deployment.Deployer.deploy(
> 	... 12 more
> To remove it, update all deployment plan files to remove any non-ascii chars, then rebuild
and redeploy through admin console, it works! 
> So I doubt AG does not support any non-ASCII chars in deployment plan. 
> But for non-english environment, user might leave some comments including non-english
chars in deployment plan, so it's necessary to take time to make our deployment plan could
contain non-ASCII chars.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message