You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Edell Nolan (JIRA)" <ji...@apache.org> on 2008/07/08 17:07:00 UTC

[jira] Updated: (SMX4-50) NMR throws a null pointer exception when I attempt to deploy the ode bpel engine.

     [ https://issues.apache.org/activemq/browse/SMX4-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edell Nolan updated SMX4-50:
----------------------------


The ode bpel engine still fails to deploy but its to do with missing classes.

Edell.

> NMR throws a null pointer exception when I attempt to deploy the ode bpel engine.
> ---------------------------------------------------------------------------------
>
>                 Key: SMX4-50
>                 URL: https://issues.apache.org/activemq/browse/SMX4-50
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0-m2
>            Reporter: Edell Nolan
>         Attachments: nmr.patch
>
>
> Hi,
> When I attempt to deploy the ode bpel engine for the loan-broker-bpel demo the nmr throws a null pointer exception
> The error is in jbi\deployer\src\main\java\org\apache\servicemix\jbi\deployer\handler\Transformer.java
>     public static void transformToOSGiBundle(File jbiArtifact, File osgiBundle) throws Exception {
>     	JarFile jar = new JarFile(jbiArtifact);
>         Manifest m = jar.getManifest();
>         if (m == null) {
>             m = new Manifest();
>             m.getMainAttributes().putValue("Manifest-Version", "1.0");
>         }
>         JarEntry jarEntry = jar.getJarEntry("META-INF/jbi.xml");
>         InputStream is = jar.getInputStream(jarEntry);
>         Descriptor desc = DescriptorFactory.buildDescriptor(is);
>         String version = m.getMainAttributes().getValue("Implementation-Version");
>         version = Builder.cleanupVersion(version);            /************ In this case the version is null ****/ as you just created the manifest above.
>  I have set the version to be 1.0 for a default.
> Edell.

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