Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SC Plugin via IWP on xServe

Featured Replies

  • Newbies

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 ===

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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.