Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Milo » Milo SDK Client(ClassFormatError)
Milo SDK Client [message #1835337] Tue, 01 December 2020 05:45
Rajeswari Menon is currently offline Rajeswari MenonFriend
Messages: 1
Registered: December 2020
Junior Member
Hi,
I am new to Eclipse Milo. I have compiled Eclipse Milo project using Java 8. When I try to run SubscriptionExample in examples.client package, I am getting the given below error.

[main] ERROR org.eclipse.milo.examples.client.ClientExampleRunner - Error getting client: Method "lambda$8" in class org/eclipse/milo/opcua/sdk/client/nodes/UaObjectNode has illegal signature "(Lorg/eclipse/milo/opcua/sdk/client/nodes/UaMethodNode;L[Lorg/eclipse/milo/opcua/stack/core/types/structured/Argument;;L[Lorg/eclipse/milo/opcua/stack/core/types/structured/Argument;;)Lorg/eclipse/milo/opcua/sdk/client/methods/UaMethod;"
java.lang.ClassFormatError: Method "lambda$8" in class org/eclipse/milo/opcua/sdk/client/nodes/UaObjectNode has illegal signature "(Lorg/eclipse/milo/opcua/sdk/client/nodes/UaMethodNode;L[Lorg/eclipse/milo/opcua/stack/core/types/structured/Argument;;L[Lorg/eclipse/milo/opcua/stack/core/types/structured/Argument;;)Lorg/eclipse/milo/opcua/sdk/client/methods/UaMethod;"
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
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)
at org.eclipse.milo.opcua.sdk.client.OpcUaClient.<init>(OpcUaClient.java:297)
at org.eclipse.milo.opcua.sdk.client.OpcUaClient.create(OpcUaClient.java:159)
at org.eclipse.milo.opcua.sdk.client.OpcUaClient.create(OpcUaClient.java:225)
at org.eclipse.milo.examples.client.ClientExampleRunner.createClient(ClientExampleRunner.java:73)
at org.eclipse.milo.examples.client.ClientExampleRunner.run(ClientExampleRunner.java:93)
at org.eclipse.milo.examples.client.SubscriptionExample.main(SubscriptionExample.java:41)


How can I fix this?

Regards,
Rajeswari
Previous Topic:Alarm Acknowledgement method of OPCUA Protocol
Next Topic:File Transfer using MILO
Goto Forum:
  


Current Time: Sat Sep 18 01:14:52 GMT 2021

Powered by FUDForum. Page generated in 0.01379 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top