Jump to content

java.lang.NullPointerException error message


Recommended Posts

Hi

I recently upgraded from Filemaker 15 to filemaker 19. I am trying to use the 360email plugin which has worked great in the past however it now gives me error messages when trying to send out an email with it . the error message I receive is java.lang.NullPointerException.

I would appreciate if you could help me out with this .

 

Link to post
Share on other sites

Hello,

Typically nullpointer errors happen because a null value is being provided to a plugin function. I'm happy to take a look at your plugin logs to see if I can discern from that what is happening. Please reproduce the issue and then send your logs to support@360works.com. See this page for log locations. 

Link to post
Share on other sites
  • 4 months later...

@ryan360works

 

Getting this when I disconnect but the file has already disconnected...

Is there something I can read to get the connected status as this is a system/plugin dialog which is a tiny bit annoying..

 

 

thanks

 john

Link to post
Share on other sites

Hi John,

You can check the connection status of the plugin with either EmailInboundIsConnected (IMAP) or EmailOutboundIsConnected (SMTP). Both return 1 if connected, 0 if not. Do you know what function is throwing the null pointer?

Link to post
Share on other sites

The issue seems to be that if I call EmailDisconnect when it is already disconnected I get the null pinter error - unless I have set error capture on, in which case Get ( lastexternalerrordetail) gives me back the null pointer...

Link to post
Share on other sites

We may not be handling that exception in the code, I'll create an issue for it in our issue tracking system. For the time being, I would add the check for connection status and call the disconnect function if connected =1

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.