Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4700 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I am running the current SC plugin on an xServe (Mac OS 10.6.8), under Filemaker Server Advanced (10.0.2.206). SuperContainer is was installed using the installer.jar for FMS hosting.

All aspects of Supercontainer work regarding uploading, displaying, deleting, etc within a web viewer in my database. This is true when running the database locally, on the server via FMP and when running via IWP using a browser.

The issue is with the plugin. I can get the version both via FMP and IWP but I get ERROR when I try to use any of the plugin functions.

I have captured the errors in the SC log file. Can anyone explain what the errors are telling me in this error log?

Thanks for your assistance in advance.

CONFIG: === Executing plugin function SCLastError on thread Thread-556 ===

Jan 6, 2012 2:39:17 PM com.prosc.fmkit.PluginBridge$4 run

CONFIG: === Executing plugin function SCSetBaseURL on thread Thread-557 ===

Jan 6, 2012 2:39:17 PM com.prosc.fmkit.Plugin setLastError

SEVERE: PluginFunction PluginFunction{name='SCSetBaseURL', functionID=-20620, minArgs=1, maxArgs=3} got an error with converted args [http://xxx.xxx.xxx.xxx...ontainer/Files/, null, null]

java.lang.NullPointerException

at com.prosc.supercontainer.plugin.SuperContainerPlugin.SCSetBaseURL(SuperContainerPlugin.java:183)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.prosc.fmkit.StaticFunction.invoke(StaticFunction.java:231)

at com.prosc.fmkit.Plugin.invokeFunction(Plugin.java:333)

at com.prosc.fmkit.Plugin.invokeFunctionNoErrors(Plugin.java:314)

at com.prosc.fmkit.PluginBridge$4.run(PluginBridge.java:1064)

at com.prosc.fmkit.PluginBridge.runTask(PluginBridge.java:1273)

at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:1078)

Jan 6, 2012 2:39:17 PM com.prosc.fmkit.PluginBridge$4 run

CONFIG: === Executing plugin function SCLastError on thread Thread-558 ===

Jan 6, 2012 2:39:21 PM com.prosc.fmkit.PluginBridge$4 run

CONFIG: === Executing plugin function SCGetInfo on thread Thread-559 ===

Jan 6, 2012 2:39:21 PM com.prosc.fmkit.Plugin setLastError

SEVERE: PluginFunction PluginFunction{name='SCGetInfo', functionID=-8372, minArgs=1, maxArgs=-1} got an error with converted args [upload Files/562-4234-930-4371-4901/96, null]

java.lang.NullPointerException

at com.prosc.supercontainer.plugin.SuperContainerPlugin.SCGetInfo(SuperContainerPlugin.java:275)

at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.prosc.fmkit.StaticFunction.invoke(StaticFunction.java:231)

at com.prosc.fmkit.Plugin.invokeFunction(Plugin.java:333)

at com.prosc.fmkit.Plugin.invokeFunctionNoErrors(Plugin.java:314)

at com.prosc.fmkit.PluginBridge$4.run(PluginBridge.java:1064)

at com.prosc.fmkit.PluginBridge.runTask(PluginBridge.java:1273)

at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:1078)

Jan 6, 2012 2:39:21 PM com.prosc.fmkit.PluginBridge$4 run

CONFIG: === Executing plugin function SCLastError on thread Thread-560 ===

Jan 6, 2012 2:39:21 PM com.prosc.fmkit.PluginBridge$4 run

CONFIG: === Executing plugin function SCGetInfo on thread Thread-561 ===

Jan 6, 2012 2:39:21 PM com.prosc.fmkit.Plugin setLastError

SEVERE: PluginFunction PluginFunction{name='SCGetInfo', functionID=-8372, minArgs=1, maxArgs=-1} got an error with converted args [upload Files/562-4234-930-4371-4901/96, null]

java.lang.NullPointerException

at com.prosc.supercontainer.plugin.SuperContainerPlugin.SCGetInfo(SuperContainerPlugin.java:275)

at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.prosc.fmkit.StaticFunction.invoke(StaticFunction.java:231)

at com.prosc.fmkit.Plugin.invokeFunction(Plugin.java:333)

at com.prosc.fmkit.Plugin.invokeFunctionNoErrors(Plugin.java:314)

at com.prosc.fmkit.PluginBridge$4.run(PluginBridge.java:1064)

at com.prosc.fmkit.PluginBridge.runTask(PluginBridge.java:1273)

at com.prosc.fmkit.PluginBridge.doFunction(PluginBridge.java:1078)

Jan 6, 2012 2:39:21 PM com.prosc.fmkit.PluginBridge$4 run

CONFIG: === Executing plugin function SCLastError on thread Thread-562 ===

Jan 6, 2012 2:39:21 PM com.prosc.fmkit.PluginBridge$4 run

CONFIG: === Executing plugin function SCVersion on thread Thread-563 ===

Jan 6, 2012 2:39:21 PM com.prosc.fmkit.PluginBridge$4 run

CONFIG: === Executing plugin function SCLastError on thread Thread-564 ===

Posted

I would first ensure that you are running the latest version of SuperContainer (2.852).

From the looks of the error log and the "NullPointerException" that is being thrown during the call to SCSetBaseURL()... it looks like the value of the URL being passed to the SuperContainer function does not exist/is null. The following errors are caused by the former, since they require that the BaseURL is set before they can function properly.

Just as an example of the two calls used:

SCSetBaseURL( "http://myserver.com/SuperContainer/Files" ; "user" ; "pass" )

SCGetInfo("/path/to/file" )

I hope this helps to resolve your issue.

This topic is 4700 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 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.