im still fighting for many days to solve this problem. Unfortunally i dont know how . Maybe someone can help me
Im getting following error:
this are the subs:
Im getting following error:
B4X:
Caused by: java.lang.RuntimeException: Resumable sub already completed
at anywheresoftware.b4a.keywords.Common.WaitFor(Common.java:1041)
at de.awtrix.main$ResumableSub_processPlugins.resume(main.java:2126)
at de.awtrix.main._processplugins(main.java:2096)
at de.awtrix.main._plugin_pluginschanged(main.java:1908)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
this are the subs:
B4X:
Sub plugin_PluginsChanged 'Event from PluginLib
If Matrix.isConnected=False Then Return
processPlugins
End Sub
Sub processPlugins
tickTimer.Enabled=False
appTimer.Enabled=False
pluginList.Clear
pluginList= plugin.GetAvailablePlugins
pluginList.Sort(True)
wait for (oAuthHelper.Initialize) complete
polling.getPollApps
reloadPlugins
refreshApplist
Wait For (updateAll) complete
If firstTime Then
firstTime =False
logger.write("-----------------------------")
logger.write("Awtrix Ready - Start")
logger.write("-----------------------------")
If Not(Helper.offlineMode) Then updateTimer.Enabled=True
appTimer.Enabled=True
AppTimerRunning=True
ChangeApp(0,"",False)
End If
End Sub
Last edited: