Howard Schlossberg Posted August 25, 2008 Posted August 25, 2008 The logging on FTPeek is great...except that I don't know what it all means. The actual error message is "java.lang.NullPointerException". Am I using the wrong version of Java? Which is required? Or is it a permissions issue? Or...? Here is what's in the log: Aug 25, 2008 11:34:52 AM com.prosc.license.client.Registration checkLicense INFO: Registered successfully with demo license; will run for two hours after launch. Aug 25, 2008 11:35:09 AM com.prosc.ftpeek.GenericFTPModel getHostKey INFO: Getting SFTP host key Aug 25, 2008 11:35:30 AM com.prosc.fmkit.Plugin setLastError SEVERE: PluginFunction PluginFunction{name='FTPeek_GetPublicKey', functionID=-9686, minArgs=null, maxArgs=1} got an error with converted args [xxxx.ftp.xxxxsite.com] java.lang.NullPointerException at com.prosc.ftpeek.GenericFTPModel.getHostKey(GenericFTPModel.java:50) at com.prosc.ftpeek.FTPeekPlugin.FTPeek_GetPublicKey(FTPeekPlugin.java:245) 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.prosc.fmkit.StaticFunction.invoke(StaticFunction.java:228) at com.prosc.fmkit.Plugin.invokeFunction(Plugin.java:238) at com.prosc.fmkit.RegisterablePlugin.invokeFunction(RegisterablePlugin.java:58) at com.prosc.fmkit.Plugin.invokeFunctionNoErrors(Plugin.java:222) at com.prosc.fmkit.PluginBridge$3.run(PluginBridge.java:887) at com.prosc.fmkit.PluginBridge.runTask(PluginBridge.java:946) at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:903)
Jesse Barnum Posted August 26, 2008 Posted August 26, 2008 Howard, thanks for posting that error information. The long stack trace you see there in the error log lets us quickly trace where an error is happening. In this case, the error was happening because FTPeek couldn't establish a network connection to the specified computer to get the public key. I've posted a new version of FTPeek, 1.353, that gives a clearer report off that error.
Howard Schlossberg Posted August 26, 2008 Author Posted August 26, 2008 Thanks Jesse. Turns out the issue was that I thought the server was SFTP but it was really FTPS. So the error was mine, though I appreciate that you made the quick update to provide better error messaging. Thanks, Howard
Newbies carlosv75 Posted March 1, 2015 Newbies Posted March 1, 2015 I'm getting an error when I click on "Parent directory" from sample file "FTPeek Sample Client" any suggestions? Error: java.lang.NullPointerException I'm using the following: Windows server 2012R2 FileMaker Pro Adv 13 Plugin: FTPeek 1.66
Recommended Posts
This topic is 3611 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now