Getting SIGSEGV error running app in physical device from android studio - android-studio

I use to run an app in physical device from android studio. In the past it has run well but suddenly it crashes in a different place or process and shows this error in de console.
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe18ffff0 in tid 24300 (arch_disk_io_2), pid 24164 (ample.comprasmu)
Logcat console
2022-10-27 21:18:26.463 24442-24442/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022-10-27 21:18:26.463 24442-24442/? A/DEBUG: Build fingerprint: 'Redmi/angelica_global/angelica:10/QP1A.190711.020/V12.0.4.0.QCRMIXM:user/release-keys'
2022-10-27 21:18:26.463 24442-24442/? A/DEBUG: Revision: '0'
2022-10-27 21:18:26.463 24442-24442/? A/DEBUG: ABI: 'arm'
2022-10-27 21:18:26.464 24442-24442/? A/DEBUG: Timestamp: 2022-10-27 21:18:26-0500
2022-10-27 21:18:26.464 24442-24442/? A/DEBUG: pid: 24164, tid: 24300, name: arch_disk_io_2 >>> com.example.comprasmu <<<
2022-10-27 21:18:26.464 24442-24442/? A/DEBUG: uid: 10373
2022-10-27 21:18:26.464 24442-24442/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe18ffff0
2022-10-27 21:18:26.464 24442-24442/? A/DEBUG: r0 00000001 r1 e1900000 r2 e1900000 r3 e1900000
2022-10-27 21:18:26.464 24442-24442/? A/DEBUG: r4 00000001 r5 bffad730 r6 12dc2290 r7 00000000
2022-10-27 21:18:26.464 24442-24442/? A/DEBUG: r8 be1bbcc0 r9 ec091260 r10 ec091260 r11 00000000
2022-10-27 21:18:26.464 24442-24442/? A/DEBUG: ip ff000000 sp be1bbbc8 lr e9e45299 pc e9f14af8
2022-10-27 21:18:26.691 24442-24442/? A/DEBUG: backtrace:
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #00 pc 001deaf8 /apex/com.android.runtime/lib/libart.so (art::IndirectReferenceTable::Add(art::IRTSegmentState, art::ObjPtr<art::mirror::Object>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*)+128) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #01 pc 0010f295 /apex/com.android.runtime/lib/libart.so (_jobject* art::JNIEnvExt::AddLocalReference<_jobject*>(art::ObjPtr<art::mirror::Object>)+32) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #02 pc 001ad375 /apex/com.android.runtime/lib/libart.so (art::gc::Heap::AddFinalizerReference(art::Thread*, art::ObjPtr<art::mirror::Object>*)+448) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #03 pc 0021517d /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+1444) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #04 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #05 pc 0042ece0 /data/app/com.example.comprasmu-2ruIRpNquGRxsx-2QC7_IA==/oat/arm/base.vdex (androidx.sqlite.db.framework.FrameworkSQLiteDatabase$1.newCursor)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #06 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #07 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #08 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #09 pc 002191e7 /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17934) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #10 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #11 pc 0036a608 /system/framework/framework.jar (android.database.sqlite.SQLiteDirectCursorDriver.query)
2022-10-27 21:18:26.692 24442-24442/? A/DEBUG: #12 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #13 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #14 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #15 pc 002191e7 /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17934) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #16 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #17 pc 00006930 [anon:dalvik-/system/framework/framework.jar-transformed-transformed-transformed-transformed-transformed-transformed-transformed-transformed] (android.database.sqlite.SQLiteDatabase.rawQueryWithFactory)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #18 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #19 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #20 pc 0020cff1 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+500) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #21 pc 0021910f /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17718) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #22 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #23 pc 00006908 [anon:dalvik-/system/framework/framework.jar-transformed-transformed-transformed-transformed-transformed-transformed-transformed-transformed] (android.database.sqlite.SQLiteDatabase.rawQueryWithFactory)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #24 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #25 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #26 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #27 pc 0021918b /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17842) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #28 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.693 24442-24442/? A/DEBUG: #29 pc 0042ed50 /data/app/com.example.comprasmu-2ruIRpNquGRxsx-2QC7_IA==/oat/arm/base.vdex (androidx.sqlite.db.framework.FrameworkSQLiteDatabase.query)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #30 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #31 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #32 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #33 pc 002191e7 /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17934) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #34 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #35 pc 004287ce /data/app/com.example.comprasmu-2ruIRpNquGRxsx-2QC7_IA==/oat/arm/base.vdex (androidx.room.RoomDatabase.query)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #36 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #37 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #38 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #39 pc 0021918b /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17842) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #40 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #41 pc 0042aa56 /data/app/com.example.comprasmu-2ruIRpNquGRxsx-2QC7_IA==/oat/arm/base.vdex (androidx.room.util.DBUtil.query)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #42 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #43 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #44 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #45 pc 00217dfb /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+12834) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #46 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #47 pc 009b4ba6 /data/app/com.example.comprasmu-2ruIRpNquGRxsx-2QC7_IA==/oat/arm/base.vdex (com.example.comprasmu.data.dao.ListaCompraDetalleDao_Impl$10.call)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #48 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.694 24442-24442/? A/DEBUG: #49 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #50 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #51 pc 0021918b /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17842) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #52 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #53 pc 009b4b98 /data/app/com.example.comprasmu-2ruIRpNquGRxsx-2QC7_IA==/oat/arm/base.vdex (com.example.comprasmu.data.dao.ListaCompraDetalleDao_Impl$10.call)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #54 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #55 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #56 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #57 pc 002191e7 /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17934) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #58 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #59 pc 004296a0 /data/app/com.example.comprasmu-2ruIRpNquGRxsx-2QC7_IA==/oat/arm/base.vdex (androidx.room.RoomTrackingLiveData$1.run)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #60 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #61 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #62 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #63 pc 002191e7 /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17934) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #64 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #65 pc 001f81ec /apex/com.android.runtime/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor.runWorker)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #66 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #67 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #68 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #69 pc 0021918b /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17842) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.695 24442-24442/? A/DEBUG: #70 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #71 pc 001f7034 /apex/com.android.runtime/javalib/core-oj.jar (java.util.concurrent.ThreadPoolExecutor$Worker.run)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #72 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #73 pc 001f0b49 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+152) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #74 pc 0020c335 /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+752) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #75 pc 002191e7 /apex/com.android.runtime/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false, false>(art::interpreter::SwitchImplContext*)+17934) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #76 pc 000dd075 /apex/com.android.runtime/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #77 pc 000ea9d0 /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Thread.run)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #78 pc 001ec34d /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2364510287003646451+392) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #79 pc 001f0a69 /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+124) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #80 pc 00417929 /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+808) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #81 pc 000dc5a1 /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+32) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #82 pc 000d7bc5 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #83 pc 0042ddb7 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+250) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #84 pc 000dffb7 /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+174) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #85 pc 0036fb57 /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+54) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #86 pc 00370849 /apex/com.android.runtime/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+304) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #87 pc 003a1307 /apex/com.android.runtime/lib/libart.so (art::Thread::CreateCallback(void*)+978) (BuildId: c7bce34c8978a77e2473478cd6c52893)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #88 pc 000a6293 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: af31ec96b35fedca378e07659b30896c)
2022-10-27 21:18:26.696 24442-24442/? A/DEBUG: #89 pc 00060803 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: af31ec96b35fedca378e07659b30896c)
I can't find the error. The celphone is a redmi xiaomi. Any idea?

Related

Debug address sanitizer double free

Trying to debug an asan (address sanitizer) double free memory issue. I got this stack:
==4108==ERROR: AddressSanitizer: attempting double-free on 0x603000012610 in thread T0:
#0 0x7ffffe5212c0 in operator delete(void*) (/usr/lib/x86_64-linux-gnu/libasan.so.4.0.0+0xe12c0)
#1 0x7ffffc3806d4 in __gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long) /usr/include/c++/7/ext/new_allocator.h:125
#2 0x7ffffc3806d4 in std::allocator_traits<std::allocator<char> >::deallocate(std::allocator<char>&, char*, unsigned long) /usr/include/c++/7/bits/alloc_traits.h:462
#3 0x7ffffc3806d4 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy(unsigned long) /usr/include/c++/7/bits/basic_string.h:226
#4 0x7ffffc3806d4 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose() /usr/include/c++/7/bits/basic_string.h:221
#5 0x7ffffc3806d4 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() /usr/include/c++/7/bits/basic_string.h:647
#6 0x7ffffc3806d4 in void __gnu_cxx::new_allocator<std::_List_node<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::destroy<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /usr/include/c++/7/ext/new_allocator.h:140
#7 0x7ffffc3806d4 in void std::allocator_traits<std::allocator<std::_List_node<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::destroy<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::allocator<std::_List_node<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /usr/include/c++/7/bits/alloc_traits.h:487
#8 0x7ffffc3806d4 in std::__cxx11::_List_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_clear() /usr/include/c++/7/bits/list.tcc:76
#9 0x7ffffc381327 in std::__cxx11::_List_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~_List_base() /usr/include/c++/7/bits/stl_list.h:442
#10 0x7ffffc381327 in std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~list() /usr/include/c++/7/bits/stl_list.h:733
#11 0x7ffffc381327 in std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::~pair() /usr/include/c++/7/bits/stl_pair.h:208
#12 0x7ffffc381327 in void __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::destroy<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*) /usr/include/c++/7/ext/new_allocator.h:140
#13 0x7ffffc381327 in void std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > > >::destroy<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >(std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >&, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >*) /usr/include/c++/7/bits/alloc_traits.h:487
#14 0x7ffffc381327 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_destroy_node(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >*) /usr/include/c++/7/bits/stl_tree.h:650
#15 0x7ffffc381327 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_drop_node(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >*) /usr/include/c++/7/bits/stl_tree.h:658
#16 0x7ffffc381327 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_erase(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >*) /usr/include/c++/7/bits/stl_tree.h:1858
#17 0x7ffffc38131a in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > >::_M_erase(std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >*) /usr/include/c++/7/bits/stl_tree.h:1856
#18 0x7ffffd173614 in __cxa_finalize (/lib/x86_64-linux-gnu/libc.so.6+0x43614)
#19 0x7ffffc325ef2 (/home/ghita/wk/ah-sdk/ah/build/ah-linux-ubuntu-1804/debug/ah-sdk-dialog/ah.so+0x82ef2)
0x603000012610 is located 0 bytes inside of 24-byte region [0x603000012610,0x603000012628)
freed by thread T0 here:
#0 0x7ffffe5212c0 in operator delete(void*) (/usr/lib/x86_64-linux-gnu/libasan.so.4.0.0+0xe12c0)
#1 0x7ffffe145ba4 in __gnu_cxx::new_allocator<char>::deallocate(char*, unsigned long) /usr/include/c++/7/ext/new_allocator.h:125
#2 0x7ffffe145ba4 in std::allocator_traits<std::allocator<char> >::deallocate(std::allocator<char>&, char*, unsigned long) /usr/include/c++/7/bits/alloc_traits.h:462
#3 0x7ffffe145ba4 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy(unsigned long) /usr/include/c++/7/bits/basic_string.h:226
#4 0x7ffffe145ba4 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose() /usr/include/c++/7/bits/basic_string.h:221
#5 0x7ffffe145ba4 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() /usr/include/c++/7/bits/basic_string.h:647
#6 0x7ffffe145ba4 in void __gnu_cxx::new_allocator<std::_List_node<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::destroy<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /usr/include/c++/7/ext/new_allocator.h:140
#7 0x7ffffe145ba4 in void std::allocator_traits<std::allocator<std::_List_node<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::destroy<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::allocator<std::_List_node<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) /usr/include/c++/7/bits/alloc_traits.h:487
#8 0x7ffffe145ba4 in std::__cxx11::_List_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_clear() /usr/include/c++/7/bits/list.tcc:76
previously allocated by thread T0 here:
#0 0x7ffffe520448 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4.0.0+0xe0448)
#1 0x7ffffe14175c in void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag) /usr/include/c++/7/bits/basic_string.tcc:219
SUMMARY: AddressSanitizer: double-free (/usr/lib/x86_64-linux-gnu/libasan.so.4.0.0+0xe12c0) in operator delete(void*)
==4108==ABORTING
Thread 1 "app" hit Breakpoint 2, __sanitizer::Die () at ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cc:49
49 ../../../../src/libsanitizer/sanitizer_common/sanitizer_termination.cc: No such file or directory.
Might be some global object or something, cannot figure out a way under debugger to detect the instance. Setting a breakpoint on __asan::ReportGenericError does not help.
Looking in the stack it can be seen that the type involved (in destruction) is std::pair<std::string, std::list<>>. Looking over the code where this is used solved the issue. If there are multiple type instances used in many different places it will be hard identifying though.

Flutter 1.1.1 - Dependencies no longer working

The flutter dependency flutter_svg isn't properly loading SVG images since upgrading to flutter v1.1.1.
I expect for an SVG image to be displayed from this source, but the program pauses itself and the image never loads beyond the placeholderBuilder
This is the code I'm using to produce this issue:
new SvgPicture.network(
sparkString,
placeholderBuilder: (BuildContext context) => new Container(
decoration: new BoxDecoration(
color: const Color(0xFF3C4E57),
borderRadius: new BorderRadius.all(
const Radius.circular(5.0),
),
),
padding: const EdgeInsets.all(5.0),
alignment: Alignment.center,
child: CupertinoActivityIndicator(radius: 10.0)
),
fit: BoxFit.fill,
height: _height*0.14,
width: _width*0.30,
color: Colors.white.withAlpha(85),
),
And this is the issue that arises:
Flutter pauses itself on line 72 in svg_parser.dart, in parseSvgElement()
This is the output in the debug console
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following RangeError was thrown building Builder(dirty):
flutter: RangeError (index): Invalid value: Not in range 0..9, inclusive: 10
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0 List.[] (dart:core/runtime/libgrowable_array.dart:145:60)
flutter: #1 _HomePageState._allWidget.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:gucci/home_page.dart:3362:73)
flutter: #2 Builder.build (package:flutter/src/widgets/basic.dart:5736:41)
flutter: #3 StatelessElement.build (package:flutter/src/widgets/framework.dart:3774:28)
flutter: #4 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3721:15)
flutter: #5 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #6 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3701:5)
flutter: #7 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3696:5)
flutter: #8 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2950:14)
flutter: #9 Element.updateChild (package:flutter/src/widgets/framework.dart:2753:12)
flutter: #10 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4860:14)
flutter: #11 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2950:14)
flutter: #12 Element.updateChild (package:flutter/src/widgets/framework.dart:2753:12)
flutter: #13 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4860:14)
flutter: #14 Element.inflateWidget (package:flutter/src/widgets/framework.dart:2950:14)
flutter: #15 Element.updateChild (package:flutter/src/widgets/framework.dart:2753:12)
flutter: #16 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #17 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #18 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #19 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #20 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #21 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #22 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #26 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #27 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #28 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #29 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #30 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #31 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #32 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #33 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #34 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #35 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #36 SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:1028:36)
flutter: #37 SliverMultiBoxAdaptorElement.performRebuild.processElement (package:flutter/src/widgets/sliver.dart:978:34)
flutter: #38 List.forEach (dart:core/runtime/libgrowable_array.dart:278:8)
flutter: #39 SliverMultiBoxAdaptorElement.performRebuild (package:flutter/src/widgets/sliver.dart:989:36)
flutter: #40 SliverMultiBoxAdaptorElement.update (package:flutter/src/widgets/sliver.dart:955:7)
flutter: #41 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #42 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4585:32)
flutter: #43 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4975:17)
flutter: #44 _ViewportElement.update (package:flutter/src/widgets/viewport.dart:192:11)
flutter: #45 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #46 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #47 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #48 ProxyElement.update (package:flutter/src/widgets/framework.dart:3990:5)
flutter: #49 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #50 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #51 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #52 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #53 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #54 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #55 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #56 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #57 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #58 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #59 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #60 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #61 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #62 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #63 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #64 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #65 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #66 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #67 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #68 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #69 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #70 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #71 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #72 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #73 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #74 StatefulElement.update (package:flutter/src/widgets/framework.dart:3878:5)
flutter: #75 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #76 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:4867:14)
flutter: #77 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #78 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #79 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #80 StatelessElement.update (package:flutter/src/widgets/framework.dart:3781:5)
flutter: #81 Element.updateChild (package:flutter/src/widgets/framework.dart:2742:15)
flutter: #82 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3732:16)
flutter: #83 Element.rebuild (package:flutter/src/widgets/framework.dart:3547:5)
flutter: #84 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2286:33)
flutter: #85 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:676:20)
flutter: #86 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:219:5)
flutter: #87 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:990:15)
flutter: #88 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:930:9)
flutter: #89 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:842:5)
flutter: #90 _invoke (dart:ui/hooks.dart:159:13)
flutter: #91 _drawFrame (dart:ui/hooks.dart:148:3)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
I played around with the SVG and if you remove the marker it works. I suspect that the flutter_svg library doesn't support marker-end yet. It should either throw a better error or not fail though.
If you can remove that marker & the marker-end from the SVG that should solve your problem. If that's not an option, you could open an issue on the library and maybe they'll be able to add it (or you could do it yourself =D).
If you do submit it, use this as a minimal example:
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
#override
MyAppState createState() {
return new MyAppState();
}
}
class MyAppState extends State<MyApp> {
#override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: Container(
height: 300,
width: 300,
color: Colors.blue,
child: SvgPicture.string(
'''
<?xml version="1.0" standalone="no"?>
<svg viewBox="-2 -4 100 20" width="100" height="20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<marker id="neatchart-markerCircle-1472608912" markerWidth="2" markerHeight="2" refX="1" refY="1" markerUnits="strokeWidth">
<circle class="neatchart-marker" cx="1" cy="1" r="1" stroke="none" fill="#F00" />
</marker>
<linearGradient id="neatchart-fadeFromNothing-1472608912" x1="0%" y1="0%" x2="100%" y2="0%" gradientUnits="userSpaceOnUse">
<stop offset="0.5%" stop-color="#000" stop-opacity="0"></stop>
<stop offset="2%" stop-color="#000" stop-opacity="1"></stop>
<stop offset="100%" stop-color="#000" stop-opacity="1"></stop>
</linearGradient>
</defs>
<g class="neatchart">
<g class="chart__plotLine"
fill="none"
stroke-width="1.3333333333333"
stroke-linejoin="round"
stroke-linecap="round"
stroke="url(#neatchart-fadeFromNothing-1472608912)"
marker-end="url(#neatchart-markerCircle-1472608912)"
>
<path d="M0,0 1.85,2.02 3.69,2.25 5.54,1.53 7.38,4 9.23,4.22 11.08,4.81 12.92,6.77 14.77,6.11 16.62,4.89 18.46,5.11 20.31,5.02 22.15,6.18 24,6.39 25.85,6.53 27.69,7.33 29.54,7.52 31.38,6.87 33.23,6.06 35.08,5.9 36.92,5.7 38.77,6.28 40.62,6.84 42.46,7.17 44.31,7.02 46.15,7.64 48,7.72 49.85,8 51.69,7.96 53.54,7.82 55.38,7.44 57.23,6.76 59.08,6.88 60.92,7.66 62.77,7.98 64.62,7.82 66.46,7.56 68.31,7.5 70.15,7.89 72,7.91 73.85,7.78 75.69,7.76 77.54,7.75 79.38,7.7 81.23,7.81 83.08,7.91 84.92,7.83 86.77,8.23 88.62,9.01 90.46,9.51 92.31,9.64 94.15,9.96 96,10 " />
</g>
</g>
</svg>
''',
fit: BoxFit.contain,
),
),
),
),
);
}
}
And this is what actually rendered for me:
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
#override
MyAppState createState() {
return new MyAppState();
}
}
class MyAppState extends State<MyApp> {
#override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: Container(
height: 300,
width: 300,
color: Colors.blue,
child: SvgPicture.string(
'''
<?xml version="1.0" standalone="no"?>
<svg viewBox="-2 -4 100 20" width="100" height="20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="neatchart-fadeFromNothing-1472608912" x1="0%" y1="0%" x2="100%" y2="0%" gradientUnits="userSpaceOnUse">
<stop offset="0.5%" stop-color="#000" stop-opacity="0"></stop>
<stop offset="2%" stop-color="#000" stop-opacity="1"></stop>
<stop offset="100%" stop-color="#000" stop-opacity="1"></stop>
</linearGradient>
</defs>
<g class="neatchart">
<g class="chart__plotLine"
fill="none"
stroke-width="1.3333333333333"
stroke-linejoin="round"
stroke-linecap="round"
stroke="url(#neatchart-fadeFromNothing-1472608912)"
>
<path d="M0,0 1.85,2.02 3.69,2.25 5.54,1.53 7.38,4 9.23,4.22 11.08,4.81 12.92,6.77 14.77,6.11 16.62,4.89 18.46,5.11 20.31,5.02 22.15,6.18 24,6.39 25.85,6.53 27.69,7.33 29.54,7.52 31.38,6.87 33.23,6.06 35.08,5.9 36.92,5.7 38.77,6.28 40.62,6.84 42.46,7.17 44.31,7.02 46.15,7.64 48,7.72 49.85,8 51.69,7.96 53.54,7.82 55.38,7.44 57.23,6.76 59.08,6.88 60.92,7.66 62.77,7.98 64.62,7.82 66.46,7.56 68.31,7.5 70.15,7.89 72,7.91 73.85,7.78 75.69,7.76 77.54,7.75 79.38,7.7 81.23,7.81 83.08,7.91 84.92,7.83 86.77,8.23 88.62,9.01 90.46,9.51 92.31,9.64 94.15,9.96 96,10 " />
</g>
</g>
</svg>
''',
fit: BoxFit.contain,
),
),
),
),
);
}
}

java.lang.IllegalArgumentException: No enum constant org.richfaces.component.Positioning.bl while migrating RichFaces 3.3.3 to 4.0

I am migrating my application from RichFaces 3.3.3 to Richfaces 4.0.0. I resolved few errors related to removed tags in Richfaces 4.0.0.
Now I am getting the below exception while loading the home page.
23:46:10,317 WARN [org.jboss.seam.util.Resources] (default task-25) Unable to determine real path from servlet context for "/WEB-INF/dev" path does not exist.
23:46:10,302 ERROR [org.jboss.seam.exception.Exceptions] (default task-22) handled and logged exception: javax.servlet.ServletException: No enum constant org.richfaces.component.Positioning.bl
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:606) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at com.action.session.ProjectReplyHeaderFilter.doFilter(ProjectReplyHeaderFilter.java:59) [Project-ejb.jar:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam.jar:2.3.1.Final]
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam.jar:2.3.1.Final]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:63) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759) [undertow-core-1.1.0.Final.jar:1.1.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]
Caused by: java.lang.IllegalArgumentException: No enum constant org.richfaces.component.Positioning.bl
at java.lang.Enum.valueOf(Enum.java:238) [rt.jar:1.8.0_11]
at org.jboss.el.lang.ELSupport.coerceToEnum(ELSupport.java:158) [jboss-el.jar:1.0_02.CR2]
at org.jboss.el.lang.ELSupport.coerceToType(ELSupport.java:343) [jboss-el.jar:1.0_02.CR2]
at org.jboss.el.ExpressionFactoryImpl.coerceToType(ExpressionFactoryImpl.java:46) [jboss-el.jar:1.0_02.CR2]
at org.jboss.seam.el.SeamExpressionFactory.coerceToType(SeamExpressionFactory.java:70) [jboss-seam.jar:2.3.1.Final]
at com.sun.faces.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:88) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:81) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:129) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:102) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.setAttributes(BehaviorsAddingComponentHandlerWrapper.java:115) [richfaces-components-ui-4.0.0.Final.jar:4.0.0.Final]
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.doNewComponentActions(ComponentTagHandlerDelegateImpl.java:408) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:171) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55) [richfaces-components-ui-4.0.0.Final.jar:4.0.0.Final]
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55) [richfaces-components-ui-4.0.0.Final.jar:4.0.0.Final]
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55) [richfaces-components-ui-4.0.0.Final.jar:4.0.0.Final]
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55) [richfaces-components-ui-4.0.0.Final.jar:4.0.0.Final]
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55) [richfaces-components-ui-4.0.0.Final.jar:4.0.0.Final]
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55) [richfaces-components-ui-4.0.0.Final.jar:4.0.0.Final]
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:187) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:323) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:382) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:361) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:323) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:382) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:361) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:323) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:382) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:361) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:323) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:382) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:361) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:164) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:914) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.29-jbossorg-1.jar:]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.29-jbossorg-1.jar:]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.1.29.Final.jar:2.1.29.Final]
... 49 more
I also observed that the enum value is not available with value .bl for org.richfaces.component.Positioning.bl.
I verified in other Jars aswell, but there is no Enum vulue for bl.
I am not able to understanding, why I am getting this exception.
A piece of your code is trying to pass "bl" to a method that handles the enum. It's going through EL parser so it's probably somewhere on a XHMTL page.
org.richfaces.component.Positioning is used in positioning popup elements, my guess is the problem is in rich:dropDownMenu and #jointPoint since that's the only one that mentions "bl" in documentation. In RichFaces 4.X the correct value is "bottomLeft".

ClassCastException when running CDI+JSF 2.2.1 on Wildfly

I have a webapp which deploys a simple Activiti process,some JSF pages and CDI Beans.
Everything works on JBOSS AS 7.1.1 + JSF 2.1.7. However I need to use JSF 2.2, so I tried to configure it on AS 7, but I stumbled on some errors described in this jboss forum post. Bottomline: AS 7 and JSF 2.2 do not work together very well. So I tried to get my app up and running with Wildfly.
The startup went on without any relevant errors or warnings. However, upon navigating to a specific jsf page I got an ulgy exception:
12:00:20,894 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (default task-8) Error Rendering View[/taskForm_newOrder.xhtml]: javax.el.ELException: /taskForm_newOrder.xhtml #18,51 value="#{bookOrder.isbn}": java.lang.ClassCastException: org.jboss.weld.context.SerializableContextualFactory$PassivationCapableSerializableContextual cannot be cast to javax.enterprise.inject.spi.Bean
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIOutput.getValue(UIOutput.java:174) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIInput.getValue(UIInput.java:291) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:355) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:164) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1903) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.render.Renderer.encodeChildren(Renderer.java:176) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:115) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:115) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:115) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1896) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1899) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1899) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:451) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:136) [undertow-websockets-jsr-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:136) [undertow-websockets-jsr-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:56) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:65) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:70) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at org.wildfly.extension.undertow.security.SecurityContextCreationHandler.handleRequest(SecurityContextCreationHandler.java:54)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:207) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:194) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:72) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:128) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:36) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:628) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
Caused by: javax.el.ELException: java.lang.ClassCastException: org.jboss.weld.context.SerializableContextualFactory$PassivationCapableSerializableContextual cannot be cast to javax.enterprise.inject.spi.Bean
at javax.el.BeanELResolver.getValue(BeanELResolver.java:368) [javax.el-3.0-b07.jar:3.0-b07]
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.el.parser.AstValue.getValue(AstValue.java:140) [javax.el-3.0-b07.jar:3.0-b07]
at com.sun.el.parser.AstValue.getValue(AstValue.java:204) [javax.el-3.0-b07.jar:3.0-b07]
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226) [javax.el-3.0-b07.jar:3.0-b07]
at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50) [weld-core-impl-2.0.3.Final.jar:2013-07-17 09:29]
at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50) [weld-core-impl-2.0.3.Final.jar:2013-07-17 09:29]
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) [jsf-impl-2.2.1-jbossorg-1.jar:]
... 64 more
Caused by: java.lang.ClassCastException: org.jboss.weld.context.SerializableContextualFactory$PassivationCapableSerializableContextual cannot be cast to javax.enterprise.inject.spi.Bean
at org.activiti.cdi.impl.context.BusinessProcessContext.get(BusinessProcessContext.java:56) [activiti-cdi-5.9.jar:]
at org.jboss.weld.context.PassivatingContextWrapper$AbstractPassivatingContextWrapper.get(PassivatingContextWrapper.java:61) [weld-core-impl-2.0.3.Final.jar:2013-07-17 09:29]
at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:76) [weld-core-impl-2.0.3.Final.jar:2013-07-17 09:29]
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79) [weld-core-impl-2.0.3.Final.jar:2013-07-17 09:29]
at org.bpmnwithactiviti.cdi.bean.BookOrder$Proxy$_$$_WeldClientProxy.getIsbn(Unknown Source) [classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_09]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_09]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_09]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_09]
at javax.el.BeanELResolver.getValue(BeanELResolver.java:363) [javax.el-3.0-b07.jar:3.0-b07]
... 72 more
12:00:20,911 ERROR [io.undertow.request] (default task-8) Servlet request failed HttpServerExchange{ GET /book-cdi-app-1.0/taskForm_newOrder.jsf}: javax.servlet.ServletException: org.jboss.weld.context.SerializableContextualFactory$PassivationCapableSerializableContextual cannot be cast to javax.enterprise.inject.spi.Bean
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:136) [undertow-websockets-jsr-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:136) [undertow-websockets-jsr-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:56) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:65) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:70) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at org.wildfly.extension.undertow.security.SecurityContextCreationHandler.handleRequest(SecurityContextCreationHandler.java:54)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:207) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:194) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:72) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:128) [undertow-servlet-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:36) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:628) [undertow-core-1.0.0.Beta7.jar:1.0.0.Beta7]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]
Caused by: java.lang.ClassCastException: org.jboss.weld.context.SerializableContextualFactory$PassivationCapableSerializableContextual cannot be cast to javax.enterprise.inject.spi.Bean
at org.activiti.cdi.impl.context.BusinessProcessContext.get(BusinessProcessContext.java:56) [activiti-cdi-5.9.jar:]
at org.jboss.weld.context.PassivatingContextWrapper$AbstractPassivatingContextWrapper.get(PassivatingContextWrapper.java:61) [weld-core-impl-2.0.3.Final.jar:2013-07-17 09:29]
at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:76) [weld-core-impl-2.0.3.Final.jar:2013-07-17 09:29]
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:79) [weld-core-impl-2.0.3.Final.jar:2013-07-17 09:29]
at org.bpmnwithactiviti.cdi.bean.BookOrder$Proxy$_$$_WeldClientProxy.getIsbn(Unknown Source) [classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_09]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_09]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_09]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_09]
at javax.el.BeanELResolver.getValue(BeanELResolver.java:363) [javax.el-3.0-b07.jar:3.0-b07]
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.el.parser.AstValue.getValue(AstValue.java:140) [javax.el-3.0-b07.jar:3.0-b07]
at com.sun.el.parser.AstValue.getValue(AstValue.java:204) [javax.el-3.0-b07.jar:3.0-b07]
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:226) [javax.el-3.0-b07.jar:3.0-b07]
at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50) [weld-core-impl-2.0.3.Final.jar:2013-07-17 09:29]
at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:50) [weld-core-impl-2.0.3.Final.jar:2013-07-17 09:29]
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIOutput.getValue(UIOutput.java:174) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIInput.getValue(UIInput.java:291) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:355) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:164) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1903) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.render.Renderer.encodeChildren(Renderer.java:176) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:115) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:115) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:304) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:115) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:889) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1896) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1899) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1899) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:451) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.1-jbossorg-1.jar:]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) [jsf-impl-2.2.1-jbossorg-1.jar:]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647) [jboss-jsf-api_2.2_spec-2.2.1.jar:2.2.1]
... 29 more
The page is a simple form used to start the new Activiti process.
<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
template="/WEB-INF/templates/template.xhtml">
<ui:define name="content">
<f:metadata>
<!-- bind the key of the process to be started -->
<f:viewParam id="processDefinitionKey" name="processDefinitionKey" />
</f:metadata>
<h1>New book order</h1>
<h:form>
<table>
<tr>
<td>ISBN:</td>
<td><h:inputText value="#{bookOrder.isbn}" /></td>
</tr>
<tr>
<td></td>
<td><h:commandButton value="Submit"
action="#{businessProcess.startProcessByKey(processDefinitionKey)}" />
</td>
</tr>
</table>
</h:form>
</ui:define>
</ui:composition>
And the bean, referenced from the jsf is bellow:
package org.bpmnwithactiviti.cdi.bean;
import java.io.Serializable;
import javax.inject.Named;
import org.activiti.cdi.annotation.BusinessProcessScoped;
#BusinessProcessScoped
#Named
public class BookOrder implements Serializable {
private static final long serialVersionUID = 1L;
private String isbn;
private boolean approved;
public String getIsbn() {
return isbn;
}
public void setIsbn(String isbn) {
this.isbn = isbn;
}
public boolean isApproved() {
return approved;
}
public void setApproved(boolean approved) {
this.approved = approved;
}
}

InflateException while LayoutInflater.inflate

Code crashes at second line:
LayoutInflater li = LayoutInflater.from(MyContext);
vView = li.inflate(R.layout.video, null);
Layout - video.xml
<linearlayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="#+id/GridItem"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center_horizontal"
android:background="#000080">
<imageview android:id="#+id/grid_item_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</imageview>
<textview android:id="#+id/grid_item_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView"
android:gravity="center_horizontal"
android:textColor="#000000">
</textview>
</linearlayout>
Call Stack:
07-15 16:40:57.909: WARN/dalvikvm(7936): threadid=1: thread exiting with uncaught exception (group=0x40018560)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): FATAL EXCEPTION: main
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): android.view.InflateException: Binary XML file line #1: Error inflating class linearlayout
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:581)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.LayoutInflater.inflate(LayoutInflater.java:386)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at com.nitin.videosurf.VideoAdapter.getView(VideoAdapter.java:71)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.widget.AbsListView.obtainView(AbsListView.java:1456)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.widget.GridView.onMeasure(GridView.java:944)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.View.measure(View.java:8322)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.View.measure(View.java:8322)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.widget.LinearLayout.measureVertical(LinearLayout.java:531)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.widget.LinearLayout.onMeasure(LinearLayout.java:309)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.View.measure(View.java:8322)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.View.measure(View.java:8322)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.ViewRoot.performTraversals(ViewRoot.java:839)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.ViewRoot.handleMessage(ViewRoot.java:1859)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.os.Handler.dispatchMessage(Handler.java:99)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.os.Looper.loop(Looper.java:123)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.app.ActivityThread.main(ActivityThread.java:3806)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at java.lang.reflect.Method.invokeNative(Native Method)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at java.lang.reflect.Method.invoke(Method.java:507)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at dalvik.system.NativeStart.main(Native Method)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): Caused by: java.lang.ClassNotFoundException: android.view.linearlayout in loader dalvik.system.PathClassLoader[/data/app/com.nitin.videosurf-2.apk]
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.LayoutInflater.createView(LayoutInflater.java:471)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:549)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:66)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
07-15 16:40:57.997: ERROR/AndroidRuntime(7936): ... 26 more
It was simple and stupid issue: <linearlayout> <imageview> <textview> etc needs to capitalized to <LinearLayout> <ImageView> <TextView>.

Resources