Hi Stuart, Julien, I've played with "obr deploy" yesterday and obtained both NPE (in equals, and in hashCode methods) And both were related to the absence of symbolic name information in one of the already installed bundles (not in the bundle I was trying to install). Hope this helps, Anne -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Stuart McCulloch Envoyé : mercredi 23 avril 2008 11:51 À : [email protected] Objet : Re: NPE while tring to deploy a bundle from my obr
2008/4/23 Julien Vermillard <[EMAIL PROTECTED]>: > Hi, > > I'm using maven bnd plugin for generating my local obr repository. > > I'm using the following command on my top level parent pom.xml : > mvn install -DremoteOBR > org.apache.felix:maven-bundle-plugin:1.4.0:deploy > > Everything is deployed using scp to my obr, but when I try to use it I > got the following error : > > -> obr add-url http://192.168.0.200/repo/repository.xml > -> obr list > everything look ok here.. > > then when I try to deploy : > > -> obr deploy "Archean Technologies Redundancy" > Unable to execute command: java.lang.NullPointerException > java.lang.NullPointerException > at > org.apache.felix.bundlerepository.ResourceImpl.hashCode(ResourceImpl.j > ava:80) > ^ this suggests that one of the entries in the repository.xml is either missing its symbolic name (perhaps an R3 bundle?) or its version. > at java.util.HashMap.getEntry(HashMap.java:344) > at java.util.HashMap.containsKey(HashMap.java:335) > at java.util.HashSet.contains(HashSet.java:184) > at > org.apache.felix.bundlerepository.ResolverImpl.resolve(ResolverImpl.java:159) > at > org.apache.felix.bundlerepository.ResolverImpl.resolve(ResolverImpl.java:196) > at > org.apache.felix.bundlerepository.ResolverImpl.resolve(ResolverImpl.java:134) > at > org.apache.felix.bundlerepository.ObrCommandImpl._deploy(ObrCommandImpl.java:327) > at > org.apache.felix.bundlerepository.ObrCommandImpl.deploy(ObrCommandImpl.java:301) > at > org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:111) > at > org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:276) > at > org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:167) > at java.lang.Thread.run(Thread.java:619) > > I'm using felix last trunk. > > Would you like to see my repository.xml too ? > sure, you could attach it to the following issue: http://issues.apache.org/jira/browse/FELIX-511 which is also a NPE, although a different line number Julien > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Cheers, Stuart --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

