org.osgi.framework.ServiceException: Service factory returned null. 31.03.2016 16:46:03.116 *ERROR* [FelixStartLevel] org.apache.stanbol.enhancer.engines.geonames [org.apache.stanbol.enhancer.engines.geonames.impl.LocationEnhancementEngine(246)] The activate method has thrown an exception (org.osgi.service.cm.ConfigurationException: org.apache.stanbol.enhancer.engines.geonames.locationEnhancementEngine.username : A User-Name MUST be configured if anonymous access to ' http://ws.geonames.org' is deactivated) org.osgi.service.cm.ConfigurationException: org.apache.stanbol.enhancer.engines.geonames.locationEnhancementEngine.username : A User-Name MUST be configured if anonymous access to ' http://ws.geonames.org' is deactivated

stanbol-dev | Pooja H Bavishi | 12 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Regarding geoname index

    stanbol-dev | 12 months ago | Pooja H Bavishi
    org.osgi.framework.ServiceException: Service factory returned null. 31.03.2016 16:46:03.116 *ERROR* [FelixStartLevel] org.apache.stanbol.enhancer.engines.geonames [org.apache.stanbol.enhancer.engines.geonames.impl.LocationEnhancementEngine(246)] The activate method has thrown an exception (org.osgi.service.cm.ConfigurationException: org.apache.stanbol.enhancer.engines.geonames.locationEnhancementEngine.username : A User-Name MUST be configured if anonymous access to ' http://ws.geonames.org' is deactivated) org.osgi.service.cm.ConfigurationException: org.apache.stanbol.enhancer.engines.geonames.locationEnhancementEngine.username : A User-Name MUST be configured if anonymous access to ' http://ws.geonames.org' is deactivated

    Root Cause Analysis

    1. org.osgi.framework.ServiceException

      Service factory returned null. 31.03.2016 16:46:03.116 *ERROR* [FelixStartLevel] org.apache.stanbol.enhancer.engines.geonames [org.apache.stanbol.enhancer.engines.geonames.impl.LocationEnhancementEngine(246)] The activate method has thrown an exception (org.osgi.service.cm.ConfigurationException: org.apache.stanbol.enhancer.engines.geonames.locationEnhancementEngine.username : A User-Name MUST be configured if anonymous access to ' http://ws.geonames.org' is deactivated) org.osgi.service.cm.ConfigurationException: org.apache.stanbol.enhancer.engines.geonames.locationEnhancementEngine.username : A User-Name MUST be configured if anonymous access to ' http://ws.geonames.org' is deactivated

      at org.apache.stanbol.enhancer.engines.geonames.impl.LocationEnhancementEngine.activate()
    2. org.apache.stanbol
      LocationEnhancementEngine.activate
      1. org.apache.stanbol.enhancer.engines.geonames.impl.LocationEnhancementEngine.activate(LocationEnhancementEngine.java:283)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame