java.lang.IllegalArgumentException: The path has to be absolute, but found: \lib\libpi4j.so

Google Groups | Aileen Kutschik | 11 months ago
  1. 0

    Including Pi4J to own project?

    Google Groups | 11 months ago | Aileen Kutschik
    java.lang.IllegalArgumentException: The path has to be absolute, but found: \lib\libpi4j.so
  2. 0

    Setting up Netbeans for pi4j remote debugging

    Google Groups | 1 year ago | Kite
    java.lang.IllegalArgumentException: The path has to be absolute, but found: \lib\libpi4j.so
  3. 0

    Raspberry Pi • View topic - Internal Server Error, status=500

    raspberrypi.org | 1 year ago
    java.lang.IllegalArgumentException: The path has to be absolute, but found: \lib\libpi4j.so
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    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

      The path has to be absolute, but found: \lib\libpi4j.so

      at com.pi4j.util.NativeLibraryLoader.loadLibraryFromClasspath()
    2. com.pi4j.util
      NativeLibraryLoader.load
      1. com.pi4j.util.NativeLibraryLoader.loadLibraryFromClasspath(NativeLibraryLoader.java:120)
      2. com.pi4j.util.NativeLibraryLoader.load(NativeLibraryLoader.java:92)
      2 frames
    3. com.pi4j.wiringpi
      Gpio.<clinit>
      1. com.pi4j.wiringpi.Gpio.<clinit>(Gpio.java:174)
      1 frame
    4. com.pi4j.io
      GpioFactory.getInstance
      1. com.pi4j.io.gpio.RaspiGpioProvider.<init>(RaspiGpioProvider.java:51)
      2. com.pi4j.io.gpio.GpioFactory.getDefaultProvider(GpioFactory.java:106)
      3. com.pi4j.io.gpio.impl.GpioControllerImpl.<init>(GpioControllerImpl.java:54)
      4. com.pi4j.io.gpio.GpioFactory.getInstance(GpioFactory.java:89)
      4 frames
    5. eu.sunrave.homecontrol_server
      Main.main
      1. eu.sunrave.homecontrol_server.Main.main(Main.java:130)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    7. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame