On 24/05/07, Stuart McCulloch <[EMAIL PROTECTED]> wrote:
On 24/05/07, Niclas Hedhman <[EMAIL PROTECTED]> wrote:
>
> Sure I have some problem in my setup, but this exception doesn't help much to
> locate it;
>
>
> java.lang.NullPointerException
>         at aQute.lib.osgi.Instruction.getPattern(Instruction.java:63)
>         at aQute.lib.osgi.Builder.replaceWithPattern(Builder.java:235)
>         at aQute.lib.osgi.Builder.doExpand(Builder.java:176)
>         at aQute.lib.osgi.Builder.build(Builder.java:30)

can you provide the pom.xml / bnd directives file that caused this?

also, it's nigh-on impossible to print out the config file+line with the problem
because by the time the instructions go through maven and onto BND, that
associated information has been lost.

next best thing would be to print out the current instruction on any failure
- this would need to be raised with Peter as it requires a change to BND.


>         at
> 
org.apache.felix.tools.maven2.bundleplugin.BundlePlugin.execute(BundlePlugin.java:158)
>         at
> 
org.apache.felix.tools.maven2.bundleplugin.BundlePlugin.execute(BundlePlugin.java:115)
>         at
> 
org.apache.felix.tools.maven2.bundleplugin.BundlePlugin.execute(BundlePlugin.java:110)
>         at
> 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>         at
> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>         at
> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at
> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at
> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at
> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at
> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>
>
> Cheers
> --
> Niclas Hedhman, Software Developer
>
> I  live here; http://tinyurl.com/2qq9er
> I  work here; http://tinyurl.com/2ymelc
> I relax here; http://tinyurl.com/2cgsug
>


--
Cheers, Stuart



--
Cheers, Stuart

Reply via email to