felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Scharr (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (FELIX-2423) NullPointer when starting org.apache.felix.http.jetty-2.0.4 bundle
Date Sat, 19 Jun 2010 14:34:23 GMT

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

Christian Scharr edited comment on FELIX-2423 at 6/19/10 10:33 AM:
-------------------------------------------------------------------

The bug doesn't appear anymore in the current 3.1.0 snapshot release, I've downloaded and
build yesterday, so it's possibly related to FELIX-2401

      was (Author: ch.scharr):
    The bug doesn't appear anymore in the current 3.1.0 snapshot release, I've downloaded
and build yesterday, so it's possibly related to https://issues.apache.org/jira/browse/FELIX-2401
  
> NullPointer when starting org.apache.felix.http.jetty-2.0.4 bundle
> ------------------------------------------------------------------
>
>                 Key: FELIX-2423
>                 URL: https://issues.apache.org/jira/browse/FELIX-2423
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.0.0
>            Reporter: Christian Scharr
>
> When starting the org.apache.felix.http.jetty-2.0.4 bundle a NullPointerException is
thrown by "org.apache.felix.framework.util.StringComparator.compare(StringComparator.java:40)"...
> ---
> config.properties
> ---
> felix.auto.deploy.action=disabled
> org.osgi.framework.startlevel.beginning=1
> felix.auto.start.1=file:bundle/org.apache.felix.bundlerepository-1.6.2.jar file:bundle/org.apache.felix.gogo.command-0.6.0.jar
file:bundle/org.apache.felix.gogo.runtime-0.6.0.jar file:bundle org.apache.felix.gogo.shell-0.6.0.jar
file:bundle/org.osgi.compendium-1.4.0.jar file:bundle/jetty-6.1.24.jar file:bundle/jetty-util-6.1.24.jar
file:bundle/servlet-api-2.5.jar file:bundle/org.apache.felix.http.api-2.0.4.jar file:bundle/org.apache.felix.http.base-2.0.4.jar
> felix.auto.start.2=file:bundle/org.apache.felix.http.jetty-2.0.4.jar
> felix.auto.start.3=file:bundle/testproject-0.1.jar
> Level1 works fine so far, but when I switch to level2 the following Exception is thrown:
> ERROR: EventDispatcher: Error during dispatch. (java.lang.NullPointerException)
> java.lang.NullPointerException
>         at org.apache.felix.framework.util.StringComparator.compare(StringComparator.java:40)
>         at java.util.TreeMap.getEntryUsingComparator(Unknown Source)
>         at java.util.TreeMap.getEntry(Unknown Source)
>         at java.util.TreeMap.get(Unknown Source)
>         at org.apache.felix.framework.util.StringMap.get(StringMap.java:88)
>         at org.apache.felix.framework.util.MapToDictionary.get(MapToDictionary.java:51)
>         at org.apache.felix.framework.FilterImpl$DictionaryCapability.getAttribute(FilterImpl.java:147)
>         at org.apache.felix.framework.capabilityset.CapabilitySet.matchesInternal(CapabilitySet.java:269)
>         at org.apache.felix.framework.capabilityset.CapabilitySet.matchesInternal(CapabilitySet.java:242)
>         at org.apache.felix.framework.capabilityset.CapabilitySet.matches(CapabilitySet.java:226)
>         at org.apache.felix.framework.FilterImpl.match(FilterImpl.java:59)
>         at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:872)
>         at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732)
>         at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
>         at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3745)
>         at org.apache.felix.framework.Felix.access$000(Felix.java:80)
>         at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717)
>         at org.apache.felix.framework.ServiceRegistry.servicePropertiesModified(ServiceRegistry.java:478)
>         at org.apache.felix.framework.ServiceRegistrationImpl.setProperties(ServiceRegistrationImpl.java:116)
>         at org.apache.felix.http.base.internal.HttpServiceController.setProperties(HttpServiceController.java:56)
>         at org.apache.felix.http.jetty.internal.JettyService.publishServiceProperties(JettyService.java:96)
>         at org.apache.felix.http.jetty.internal.JettyService.initializeJetty(JettyService.java:146)
>         at org.apache.felix.http.jetty.internal.JettyService.startJetty(JettyService.java:112)
>         at org.apache.felix.http.jetty.internal.JettyService.run(JettyService.java:203)
>         at java.lang.Thread.run(Unknown Source)
> [INFO] Started jetty 6.1.x at port 8080

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


Mime
View raw message