Menu

#1 Exception during startup

open
nobody
None
5
2012-12-11
2012-04-25
Anonymous
No

I wanted to try out your app, connect my Kindle 4 non-touch and got an exception. Obviously it's a bug or it can't find my Kindle for another reason. I'm running Debian.

$ ./Koll3ctions.sh

Koll3ctions v1.35 (C) 2011 Fogas János - janos.fogas@gmail.com
Searching Kindle.........Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.NullPointerException
at com.fogas.koll3ctions.tools.KFinder.isKindle(KFinder.java:67)
at com.fogas.koll3ctions.tools.KFinder.getKindleDrive(KFinder.java:98)
at com.fogas.koll3ctions.tools.KFinder.findKindle(KFinder.java:47)
at com.fogas.koll3ctions.Koll3ctions.main(Koll3ctions.java:81)
... 5 more
Press any key to continue..../Koll3ctions.sh: 4: read: arg count

Discussion