org.xutils.ex.DbException: <init> []

GitHub | Laughing2015 | 4 months ago
  1. 0

    数据库查询,插入都报异常

    GitHub | 4 months ago | Laughing2015
    org.xutils.ex.DbException: <init> []
  2. 0

    When trying to instantiate BluetoothGattDescriptior {code:java} var BGD = new BluetoothGattDescriptor(); {code} the following error log appears : {code:java} [WARN] : W/System.err: java.lang.NoSuchMethodException: <init> [] [WARN] : W/System.err: at java.lang.Class.getConstructor(Class.java:531) [WARN] : W/System.err: at java.lang.Class.getConstructor(Class.java:495) [WARN] : W/System.err: at hyperloop.HyperloopUtil.resolveConstructor(HyperloopUtil.java:297) [WARN] : W/System.err: at hyperloop.ClassProxy.newInstance(ClassProxy.java:80) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.nativeInvoke(Native Method) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.callSync(V8Function.java:57) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.handleMessage(V8Function.java:82) [WARN] : W/System.err: at android.os.Handler.dispatchMessage(Handler.java:98) [WARN] : W/System.err: at android.os.Looper.loop(Looper.java:145) [WARN] : W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5951) [WARN] : W/System.err: at java.lang.reflect.Method.invoke(Native Method) [WARN] : W/System.err: at java.lang.reflect.Method.invoke(Method.java:372) [WARN] : W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400) [WARN] : W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195) [WARN] : W/System.err: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 [WARN] : W/System.err: at hyperloop.HyperloopUtil.convert(HyperloopUtil.java:166) [WARN] : W/System.err: at hyperloop.ClassProxy.newInstance(ClassProxy.java:89) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.nativeInvoke(Native Method) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.callSync(V8Function.java:57) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.handleMessage(V8Function.java:82) [WARN] : W/System.err: at android.os.Handler.dispatchMessage(Handler.java:98) [WARN] : W/System.err: at android.os.Looper.loop(Looper.java:145) [WARN] : W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5951) [WARN] : W/System.err: at java.lang.reflect.Method.invoke(Native Method) [WARN] : W/System.err: at java.lang.reflect.Method.invoke(Method.java:372) [WARN] : W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400) [WARN] : W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195) [ERROR] : TiExceptionHandler: (main) [15625,21062] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [1,21063] - In hyperloop/android.bluetooth.BluetoothGattDescriptor.js:1,69 [ERROR] : TiExceptionHandler: (main) [1,21064] - Message: Uncaught Error: length=0; index=0 [ERROR] : TiExceptionHandler: (main) [1,21065] - Source: ame?arguments[0]:android.bluetooth.BluetoothGattDescriptor["class"].newInstanc [ERROR] : V8Exception: Exception occurred at hyperloop/android.bluetooth.BluetoothGattDescriptor.js:1: Uncaught Error: length=0; index=0 {code} Other issue is related with BluetoothGattCharacteristic, when trying to access it's methods, instantiate or cast the following error shows up: {code:java} [ERROR] : TiExceptionHandler: (main) [12908,12908] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [1,12909] - In ti:/module.js:280,9 [ERROR] : TiExceptionHandler: (main) [0,12909] - Message: Uncaught Error: Requested module not found: [B [ERROR] : TiExceptionHandler: (main) [1,12910] - Source: throw new Error("Requested module not found: " + request); [ERROR] : V8Exception: Exception occurred at ti:/module.js:280: Uncaught Error: Requested module not found: [B {code}

    Appcelerator JIRA | 8 months ago | Brian García
    java.lang.NoSuchMethodException: <init> []
  3. 0

    When trying to instantiate BluetoothGattDescriptior {code:java} var BGD = new BluetoothGattDescriptor(); {code} the following error log appears : {code:java} [WARN] : W/System.err: java.lang.NoSuchMethodException: <init> [] [WARN] : W/System.err: at java.lang.Class.getConstructor(Class.java:531) [WARN] : W/System.err: at java.lang.Class.getConstructor(Class.java:495) [WARN] : W/System.err: at hyperloop.HyperloopUtil.resolveConstructor(HyperloopUtil.java:297) [WARN] : W/System.err: at hyperloop.ClassProxy.newInstance(ClassProxy.java:80) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.nativeInvoke(Native Method) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.callSync(V8Function.java:57) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.handleMessage(V8Function.java:82) [WARN] : W/System.err: at android.os.Handler.dispatchMessage(Handler.java:98) [WARN] : W/System.err: at android.os.Looper.loop(Looper.java:145) [WARN] : W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5951) [WARN] : W/System.err: at java.lang.reflect.Method.invoke(Native Method) [WARN] : W/System.err: at java.lang.reflect.Method.invoke(Method.java:372) [WARN] : W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400) [WARN] : W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195) [WARN] : W/System.err: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 [WARN] : W/System.err: at hyperloop.HyperloopUtil.convert(HyperloopUtil.java:166) [WARN] : W/System.err: at hyperloop.ClassProxy.newInstance(ClassProxy.java:89) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.nativeInvoke(Native Method) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.callSync(V8Function.java:57) [WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.handleMessage(V8Function.java:82) [WARN] : W/System.err: at android.os.Handler.dispatchMessage(Handler.java:98) [WARN] : W/System.err: at android.os.Looper.loop(Looper.java:145) [WARN] : W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5951) [WARN] : W/System.err: at java.lang.reflect.Method.invoke(Native Method) [WARN] : W/System.err: at java.lang.reflect.Method.invoke(Method.java:372) [WARN] : W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400) [WARN] : W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195) [ERROR] : TiExceptionHandler: (main) [15625,21062] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [1,21063] - In hyperloop/android.bluetooth.BluetoothGattDescriptor.js:1,69 [ERROR] : TiExceptionHandler: (main) [1,21064] - Message: Uncaught Error: length=0; index=0 [ERROR] : TiExceptionHandler: (main) [1,21065] - Source: ame?arguments[0]:android.bluetooth.BluetoothGattDescriptor["class"].newInstanc [ERROR] : V8Exception: Exception occurred at hyperloop/android.bluetooth.BluetoothGattDescriptor.js:1: Uncaught Error: length=0; index=0 {code} Other issue is related with BluetoothGattCharacteristic, when trying to access it's methods, instantiate or cast the following error shows up: {code:java} [ERROR] : TiExceptionHandler: (main) [12908,12908] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [1,12909] - In ti:/module.js:280,9 [ERROR] : TiExceptionHandler: (main) [0,12909] - Message: Uncaught Error: Requested module not found: [B [ERROR] : TiExceptionHandler: (main) [1,12910] - Source: throw new Error("Requested module not found: " + request); [ERROR] : V8Exception: Exception occurred at ti:/module.js:280: Uncaught Error: Requested module not found: [B {code}

    Appcelerator JIRA | 8 months ago | Brian García
    java.lang.NoSuchMethodException: <init> []
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Inflating Custom Linear Layouts at runtime

    Stack Overflow | 1 year ago | asdec90
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.goldvip.crownit/com.goldvip.crownit.LandingPageActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class com.goldvip.interfaces.LandingPageLinearLayout
  6. 0

    Custom view not working in Android Lollipop

    Stack Overflow | 1 year ago | Gnana Soundari
    java.lang.NoSuchMethodException: <init> [class android.content.Context, interface android.util.AttributeSet]

  1. Riyaz 2 times, last 6 days ago
  2. bmacedo 6 times, last 1 week ago
  3. bluebunnty 1 times, last 3 weeks ago
  4. Aria Pahlavan 1 times, last 3 weeks ago
  5. Alexandru Popa 4 times, last 3 weeks ago
23 more registered users
24 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoSuchMethodException

    <init> []

    at java.lang.Class.getConstructor()
  2. Java RT
    Class.getConstructor
    1. java.lang.Class.getConstructor(Class.java:531)
    2. java.lang.Class.getConstructor(Class.java:495)
    2 frames
  3. org.xutils.db
    DbBase.getTable
    1. org.xutils.db.table.TableEntity.<init>(TableEntity.java:47)
    2. org.xutils.db.table.DbBase.getTable(DbBase.java:30)
    2 frames