Other missing RaiseSynchronousEvents Error

Discussion in 'Android Questions' started by shashkiranr, May 28, 2015.

  1. shashkiranr

    shashkiranr Active Member Licensed User

    Hi All,

    I am getting the below error when i am changing the state of ACSwitch view.

    Code:
    Unexpected event (missing RaiseSynchronousEvents): sw_checkedchange
    Check the unfiltered logs 
    for the full stack trace.
    java.lang.Throwable: stack dump
        at java.lang.Thread.dumpStack(
    Thread.java:489)
        at anywheresoftware.b4a.shell.Shell.raiseEventImpl(
    Shell.java:269)
        at anywheresoftware.b4a.shell.Shell.raiseEvent(
    Shell.java:238)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:
    515)
        at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:
    121)
        at anywheresoftware.b4a.BA.raiseEvent2(BA.java:
    175)
        at anywheresoftware.b4a.objects.CompoundButtonWrapper$
    1.onCheckedChanged(CompoundButtonWrapper.java:44)
        at android.widget.CompoundButton.setChecked(CompoundButton.java:
    137)
        at android.support.v7.widget.SwitchCompat.setChecked(SwitchCompat.java:
    793)
        at anywheresoftware.b4a.objects.CompoundButtonWrapper.setChecked(CompoundButtonWrapper.java:
    55)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:
    515)
        at anywheresoftware.b4a.shell.Shell.runMethod(
    Shell.java:636)
        at anywheresoftware.b4a.shell.Shell.raiseEventImpl(
    Shell.java:302)
        at anywheresoftware.b4a.shell.Shell.raiseEvent(
    Shell.java:238)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:
    515)
        at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:
    121)
        at anywheresoftware.b4a.BA.raiseEvent2(BA.java:
    175)
        at flm.b4a.ultimatelistview.b.getView(SourceFile:
    571)
        at android.widget.AbsListView.obtainView(AbsListView.java:
    2738)
        at android.widget.ListView.makeAndAddView(
    ListView.java:1811)
        at android.widget.ListView.fillDown(
    ListView.java:697)
        at android.widget.ListView.fillFromTop(
    ListView.java:763)
        at android.widget.ListView.layoutChildren(
    ListView.java:1627)
    Regards,
    SK
     
  2. DonManfred

    DonManfred Expert Licensed User

    You need to add the event sub sw_checkedchange
     
    lemonisdead and Peter Simpson like this.
  3. Erel

    Erel Administrator Staff Member Licensed User

  4. shashkiranr

    shashkiranr Active Member Licensed User

    Hi Don,

    I have already added the sw_checkedchange sub . If i use only Rapid debugger then i am getting this error but my application is working fine.

    Regards,
    SK
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice