You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/01/16 11:56:21 UTC

[jira] [Resolved] (OAK-1315) OSGiIT NPE parsing OsgiSecurityProvider.xml

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

Alex Parvulescu resolved OAK-1315.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.15
         Assignee: Alex Parvulescu

fixed with rev http://svn.apache.org/r1558750

> OSGiIT NPE parsing OsgiSecurityProvider.xml
> -------------------------------------------
>
>                 Key: OAK-1315
>                 URL: https://issues.apache.org/jira/browse/OAK-1315
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: it
>    Affects Versions: 0.14
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>            Priority: Minor
>             Fix For: 0.15
>
>
> I see some NPE running the osgi integration tests [0]:
> General problem with descriptor entry '/OSGI-INF/org.apache.jackrabbit.oak.osgi.OsgiSecurityProvider.xml'
> This is visible in the travis build logs too, but they don't appear to fail the build [1].
> [0]
> {code}
> [main] INFO org.ops4j.pax.exam.junit.impl.ProbeRunner - running test class org.apache.jackrabbit.oak.osgi.OSGiIT
> java.lang.NullPointerException
> 	at org.apache.felix.scr.impl.metadata.XmlHandler.startElement(XmlHandler.java:237)
> 	at org.apache.felix.scr.impl.parser.KXml2SAXParser.parseXML(KXml2SAXParser.java:73)
> 	at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:227)
> 	at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:147)
> 	at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:111)
> 	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:285)
> 	at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:203)
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
> 	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
> 	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3879)
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1850)
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
> 	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
> 	at java.lang.Thread.run(Thread.java:744)
> ERROR: org.apache.jackrabbit.oak-core (30): General problem with descriptor entry '/OSGI-INF/org.apache.jackrabbit.oak.osgi.OsgiSecurityProvider.xml'
> org.apache.felix.scr.impl.parser.ParseException: Exception during parsing
> 	at org.apache.felix.scr.impl.metadata.XmlHandler.startElement(XmlHandler.java:333)
> 	at org.apache.felix.scr.impl.parser.KXml2SAXParser.parseXML(KXml2SAXParser.java:73)
> 	at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:227)
> 	at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:147)
> 	at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:111)
> 	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:285)
> 	at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:203)
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
> 	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
> 	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3879)
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1850)
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
> 	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
> 	at java.lang.Thread.run(Thread.java:744)
> {code}
> [1] https://travis-ci.org/apache/jackrabbit-oak/builds/16653173#L9745



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