You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.
Hi, I am facing this issue when I am adding MQTT dependency in pom.xml of Printer module(java)
The code was running fine when MQTT dependency was not added, but once MQTT dependency is added I am getting the following error. The code with MQTT dependency is running fine on Ubuntu but I am facing this issue while running it on Raspberry Pi.
Error: Time:Thu Jul 18 06:10:25 2019 File:/home/pi/Downloads/iot-edge/v1/bindings/java/src/java_module_host.c Func:JavaModuleHost_Create Line:164 Could not find class (com/microsoft/azure/gateway/core/Broker).
Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:330)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:263)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:318)
at java.util.jar.JarVerifier.update(JarVerifier.java:230)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:383)
at java.util.jar.JarFile.ensureInitialization(JarFile.java:612)
at java.util.jar.JavaUtilJarAccessImpl.ensureInitialization(JavaUtilJarAccessImpl.java:69)
at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:991)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:451)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Info: Module Count: 0.
Info: Destroying JVM
Error: Time:Thu Jul 18 06:10:25 2019 File:/home/pi/Downloads/iot-edge/v1/deps/c-utility/src/vector.c Func:VECTOR_destroy Line:46 invalid argument handle(NULL).
*** Error in `./java_sample': free(): invalid pointer: 0x012b3bc8 ***
Aborted
The text was updated successfully, but these errors were encountered:
tejasdhage
changed the title
Azure iot edge not running on raspberry pi when mqtt dependency is added in pom.xml
Azure iot edge not running on raspberry pi when MQTT dependency is added in pom.xml
Jul 18, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I am facing this issue when I am adding MQTT dependency in pom.xml of Printer module(java)
The code was running fine when MQTT dependency was not added, but once MQTT dependency is added I am getting the following error. The code with MQTT dependency is running fine on Ubuntu but I am facing this issue while running it on Raspberry Pi.
Error: Time:Thu Jul 18 06:10:25 2019 File:/home/pi/Downloads/iot-edge/v1/bindings/java/src/java_module_host.c Func:JavaModuleHost_Create Line:164 Could not find class (com/microsoft/azure/gateway/core/Broker).
Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:330)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:263)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:318)
at java.util.jar.JarVerifier.update(JarVerifier.java:230)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:383)
at java.util.jar.JarFile.ensureInitialization(JarFile.java:612)
at java.util.jar.JavaUtilJarAccessImpl.ensureInitialization(JavaUtilJarAccessImpl.java:69)
at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:991)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:451)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Info: Module Count: 0.
Info: Destroying JVM
Error: Time:Thu Jul 18 06:10:25 2019 File:/home/pi/Downloads/iot-edge/v1/deps/c-utility/src/vector.c Func:VECTOR_destroy Line:46 invalid argument handle(NULL).
*** Error in `./java_sample': free(): invalid pointer: 0x012b3bc8 ***
Aborted
The text was updated successfully, but these errors were encountered: