java.lang.IllegalArgumentException: Unknown source implementation: xls

The OpenNMS Issue Tracker | Ronny Trommer | 2 years ago
  1. 0

    Using the example configuration for myRouter {code} root@itchy:opennms-pris$ tree . ├── global.properties ├── myInventory.xls ├── myRouter    └── requisition.properties Content: global.properties: {code} {code} root@itchy:opennms-pris$ cat global.properties ### start an http server that provides access to requisition files driver = http host = 0.0.0.0 port = 8000 ### file run to create a requisition file in target #driver = file #target = /tmp/ {code} Content requisition.properties {code} root@itchy:myRouter$ cat requisition.properties source = xls source.file = ../myInventory.xls mapper = echo.mapper {code} The XLS file is the same from the example. Error in log file: {code} 18:49:32.697 [qtp238404996-14] WARN o.o.pris.driver.HttpServerDriver - Request failed java.lang.IllegalArgumentException: Unknown source implementation: xls at org.opennms.pris.RequisitionGenerator.<init>(RequisitionGenerator.java:124) ~[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.opennms.pris.driver.HttpServerDriver$1.handle(HttpServerDriver.java:110) ~[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.Server.handle(Server.java:369) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_55] {code}

    The OpenNMS Issue Tracker | 2 years ago | Ronny Trommer
    java.lang.IllegalArgumentException: Unknown source implementation: xls
  2. 0

    Using the example configuration for myRouter {code} root@itchy:opennms-pris$ tree . ├── global.properties ├── myInventory.xls ├── myRouter    └── requisition.properties Content: global.properties: {code} {code} root@itchy:opennms-pris$ cat global.properties ### start an http server that provides access to requisition files driver = http host = 0.0.0.0 port = 8000 ### file run to create a requisition file in target #driver = file #target = /tmp/ {code} Content requisition.properties {code} root@itchy:myRouter$ cat requisition.properties source = xls source.file = ../myInventory.xls mapper = echo.mapper {code} The XLS file is the same from the example. Error in log file: {code} 18:49:32.697 [qtp238404996-14] WARN o.o.pris.driver.HttpServerDriver - Request failed java.lang.IllegalArgumentException: Unknown source implementation: xls at org.opennms.pris.RequisitionGenerator.<init>(RequisitionGenerator.java:124) ~[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.opennms.pris.driver.HttpServerDriver$1.handle(HttpServerDriver.java:110) ~[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.Server.handle(Server.java:369) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_55] {code}

    The OpenNMS Issue Tracker | 2 years ago | Ronny Trommer
    java.lang.IllegalArgumentException: Unknown source implementation: xls
  3. 0

    GitHub comment 1467#246399913

    GitHub | 3 months ago | Teovald
    java.lang.IllegalArgumentException: Unable to find GlideModule implementation at com.bumptech.glide.module.ManifestParser.parseModule(Unknown Source:46) at com.bumptech.glide.module.ManifestParser.parse(Unknown Source:30) at com.bumptech.glide.Glide.get(Unknown Source:149) at deezer.android.app.DZMidlet.onTrimMemory(Unknown Source:461)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Karaf - Unable to launch karaf 2.3.0

    nabble.com | 1 year ago
    java.lang.IllegalArgumentException:         at javax.xml.validation.SchemaFactory.newInstance(Unknown Source)
  6. 0

    ServiceMix - User - Failed to resolve endpoint: URL because it does not exist...

    nabble.com | 6 months ago
    org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route route2 at: >>> DoTry[[To[validator:hello.xsd], To[jms:camel.jms.out], DoCatch[ [class org.apache.camel.ValidationException] -> [To[jms:camel.jms.error]]]]] <<< in route: Route[[From[jms:camel.jms.in]] -> [To[log:showAll?level=info... because of Failed to resolve endpoint: validator://hello.xsd due to:         at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1139)[76:org.apache.camel.camel-core:2.7.1.fuse-00-27]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unknown source implementation: xls

      at org.opennms.pris.RequisitionGenerator.<init>()
    2. org.opennms.pris
      HttpServerDriver$1.handle
      1. org.opennms.pris.RequisitionGenerator.<init>(RequisitionGenerator.java:124)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      2. org.opennms.pris.driver.HttpServerDriver$1.handle(HttpServerDriver.java:110)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      2 frames
    3. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      2. org.eclipse.jetty.server.Server.handle(Server.java:369)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      3. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      4. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      5. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      6. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      7. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      8. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      8 frames
    4. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      2 frames
    5. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[opennms-pris-main-1.0.8-SNAPSHOT-jar-with-dependencies.jar:na]
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)[na:1.7.0_55]
      1 frame