Skip to content

Instantly share code, notes, and snippets.

@ndbroadbent
Created July 2, 2012 01:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ndbroadbent/3030358 to your computer and use it in GitHub Desktop.
Save ndbroadbent/3030358 to your computer and use it in GitHub Desktop.
Tiny Umbrella Crash
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sun/jna/Platform
at com.semaphore.os.UIHandlerManager.getSystemUIHandler(UIHandlerManager.java:22)
at com.semaphore.TinyUmbrella.<clinit>(TinyUmbrella.java:131)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.semaphore.TinyLoader.loadTiny(TinyLoader.java:248)
at com.semaphore.TinyLoader.access$000(TinyLoader.java:29)
at com.semaphore.TinyLoader$1.run(TinyLoader.java:42)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.sun.jna.Platform
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 21 more
@drreen
Copy link

drreen commented Sep 8, 2016

Had same issue, have you been able to solve it?

@BrandonDusseau
Copy link

BrandonDusseau commented Sep 13, 2016

I don't know if you're still having issues, but I managed to get TinyUmbrella to start on OS X.
I had to download the following jar files and put them into ~/Library/Java/Extensions

It starts, but so far it hasn't detected my phone, so I can't guarantee that it'll actually work. YMMV.

@Jett34
Copy link

Jett34 commented Jan 3, 2017

Has anyone been able to figure out how to get it to detect the device? The only way to open it is to do what Brandon said to do and download and install the jar files.

Copy link

ghost commented May 21, 2017

For TinyUmbrella 9.3.4 on macOS Sierra, I downloaded the following .jar files and put them into ~/Library/Java/Extensions:

(I found the above dependencies listed in TinyUmbrella.app/Contents/Resources/app/tinyumbrella.jar/META-INF/maven/com.semaphore/tinyumbrella/pom.xml; more information about the POM can be found at https://maven.apache.org/pom.html.)

@Mach7Seven
Copy link

Oh my... such a horrible code Tiny Umbrella is. A total amateurish show of horrors.

@tmtariq
Copy link

tmtariq commented Jul 27, 2017

I'd same issue on windows 10 because C:\Users[YOUR].shsh.cache\lib-win.jar was 0kb.
Simply download and replace with new one.

Download:
http://www.mediafire.com/download/hvnyj642jdy5dn9/lib-win.jar
http://www.4shared.one/file/uySl2G7-ce/lib-win.html

@syedusamaali804
Copy link

Kindly help me.
i downloaded the tiny umbrella 9.3.4 and latest version of java but this error occur.
Screenshot (44)

@ppisupati31
Copy link

Need Help! I have the same issue and error code. Any Suggestions?

java.lang.NoClassDefFoundError: com/sun/jna/Pointer
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.semaphore.tu.TinyLoader.main(TinyLoader.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101)
Caused by: java.lang.ClassNotFoundException: com.sun.jna.Pointer
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 9 more

@lifr0m
Copy link

lifr0m commented Aug 2, 2020

For TinyUmbrella 9.3.4 on macOS Sierra, I downloaded the following .jar files and put them into ~/Library/Java/Extensions:

(I found the above dependencies listed in TinyUmbrella.app/Contents/Resources/app/tinyumbrella.jar/META-INF/maven/com.semaphore/tinyumbrella/pom.xml; more information about the POM can be found at https://maven.apache.org/pom.html.)

DUDE, YOU ARE MAGIC GUY! TY! IT WORKS!

@rootkittt
Copy link

rootkittt commented Jan 12, 2021

hey i tried all solutions i found on google but its still not working for me. i got the following error.

java.lang.NullPointerException
at com.semaphore.util.TinyLibrary.build(TinyLibrary.java:51)
at com.semaphore.tu.service.LibraryResolverService.fetchLibraries(LibraryResolverService.java:34)
at com.semaphore.tu.TinyLoader.main(TinyLoader.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101)

please can someone help me? i got a surface pro 4 with windows 10

@justdie386
Copy link

got the same issue as him

hey i tried all solutions i found on google but its still not working for me. i got the following error.

java.lang.NullPointerException at com.semaphore.util.TinyLibrary.build(TinyLibrary.java:51) at com.semaphore.tu.service.LibraryResolverService.fetchLibraries(LibraryResolverService.java:34) at com.semaphore.tu.TinyLoader.main(TinyLoader.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101)

please can someone help me? i got a surface pro 4 with windows 10

Got the same issue, anyone know how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment