You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Markus Wolf (JIRA)" <ji...@apache.org> on 2014/01/10 19:30:53 UTC

[jira] [Commented] (FELIX-4382) NullPointerException in maven-bundle-plugin for wab packaging

    [ https://issues.apache.org/jira/browse/FELIX-4382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868093#comment-13868093 ] 

Markus Wolf commented on FELIX-4382:
------------------------------------

Please close this.
First it belongs to bnd not to the maven plugin.
Second its caused by a dependency without manifest.

> NullPointerException in maven-bundle-plugin for wab packaging
> -------------------------------------------------------------
>
>                 Key: FELIX-4382
>                 URL: https://issues.apache.org/jira/browse/FELIX-4382
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.4.0
>         Environment: JDK 7
>            Reporter: Markus Wolf
>
> I have a NPE during execution of the maven-bundle-plugin when I configure _wablib with either of the macros lsa or lsr.
> [INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ de.simyo.wrapped.api ---
> [ERROR] An internal error occurred
> java.lang.NullPointerException
> 	at aQute.bnd.osgi.Builder.addWabLib(Builder.java:206)
> 	at aQute.bnd.osgi.Builder.doWab(Builder.java:185)
> 	at aQute.bnd.osgi.Builder.build(Builder.java:70)
> 	at org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:579)
> 	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:365)
> 	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:282)
> 	at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:273)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)