Inconsistent fico line item data for updating
So if system allows to update the sales order, the sales order would become inconsistent.
Since sales order is already released, system rejects such updates for the sales order.
Index Out Of Bounds Exception: Inconsistency detected.
Invalid item position 157(offset:157).state:588 at android.support.v7.widget. Recycler View$View For Position(Recycler View.java:3300) at android.support.v7.widget. Zygote Init$Method And Args Caller.run(Zygote Init.java:1027) at com.android.
Recycler View$View For Position(Recycler View.java:3258) at android.support.v7.widget. Zygote Init.main(Zygote Init.java:794) at dalvik.system. Native Start.main(Native Method) Edit: The bug is fixed now, if you're still getting the same Exception, please make sure you're updating your Adapter data source only from the main thread and calling appropriate adapter notify method after it.
Linear Layout Manager$Layout State.next(Linear Layout Manager.java:1803) at android.support.v7.widget. Activity Thread.main(Activity Thread.java:4921) at reflect. @jimmy0251 still unreolved : D i have faound a work around for this, but kindly why can't we change the list from another thread/activity/fragment and adapter can take take of it over all we are calling notify Data Set...
Weird problem, hope that it'll be fixed soon thoug!Linear Layout Manager.scroll By(Linear Layout Manager.java:1093) at android.support.v7.widget. Choreographer$Frame Display Event Receiver.run(Choreographer.java:711) at If I waited the end of reloading without scrolling, there would be no exception since the adapter can be reinstated smoothly this time.