issues with "com/sun/jna/platform/win32/Win32Exception" after KARAF upgrade to 4.2.7

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

issues with "com/sun/jna/platform/win32/Win32Exception" after KARAF upgrade to 4.2.7

munishgupta.asr
Hi All,

After upgrading to KARAF 4.2.7, I am facing java.lang.NoClassDefFoundError:
com/sun/jna/platform/win32/Win32Exception
for my couple of flows, which was working fine earlier.

I can see the "jna-platform-4.5.0.jar" in classpath and local repository and
on extracting the JAR, it has the file in same path.

Same code base was working fine with KARAF 4.2.6. Can you suggest any clues
about troubleshooting?

Cases
1)
com.google.common.util.concurrent.ExecutionError:
java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Win32Exception
        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2048)
~[?:?]
        at com.google.common.cache.LocalCache.get(LocalCache.java:3952) ~[?:?]
        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
~[?:?]

2)
Caused by: java.lang.NoClassDefFoundError:
com/sun/jna/platform/win32/Win32Exception
        at
com.good.gcs.core.logger.eventlog.impl.EventLoggerFactoryImpl.createWin32EventLogAppender(EventLoggerFactoryImpl.java:62)
~[?:?]




--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Reply | Threaded
Open this post in threaded view
|

Re: issues with "com/sun/jna/platform/win32/Win32Exception" after KARAF upgrade to 4.2.7

jbonofre
Hi,

don't you update the JDK ?

JNA has been upgraded, let me check about the JNA packages.

Regards
JB

On 04/10/2019 14:51, munishgupta.asr wrote:

> Hi All,
>
> After upgrading to KARAF 4.2.7, I am facing java.lang.NoClassDefFoundError:
> com/sun/jna/platform/win32/Win32Exception
> for my couple of flows, which was working fine earlier.
>
> I can see the "jna-platform-4.5.0.jar" in classpath and local repository and
> on extracting the JAR, it has the file in same path.
>
> Same code base was working fine with KARAF 4.2.6. Can you suggest any clues
> about troubleshooting?
>
> Cases
> 1)
> com.google.common.util.concurrent.ExecutionError:
> java.lang.NoClassDefFoundError: com/sun/jna/platform/win32/Win32Exception
>         at
> com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2048) ~[?:?]
>         at com.google.common.cache.LocalCache.get(LocalCache.java:3952)
> ~[?:?]
>         at
> com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974) ~[?:?]
>
> 2)
> Caused by: java.lang.NoClassDefFoundError:
> com/sun/jna/platform/win32/Win32Exception
>         at
> com.good.gcs.core.logger.eventlog.impl.EventLoggerFactoryImpl.createWin32EventLogAppender(EventLoggerFactoryImpl.java:62)
> ~[?:?]
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com