zenith22 / range-seek-bar

Automatically exported from code.google.com/p/range-seek-bar
0 stars 0 forks source link

InstantiationException: #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. application crashes with an Instantiation Exception, The complete logcat and 
the source code is attaching....

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

06-09 20:58:17.930: E/AndroidRuntime(2185): FATAL EXCEPTION: main
06-09 20:58:17.930: E/AndroidRuntime(2185): Process: com.example.seekbar, PID: 
2185
06-09 20:58:17.930: E/AndroidRuntime(2185): java.lang.RuntimeException: Unable 
to instantiate activity 
ComponentInfo{com.example.seekbar/com.example.seekbar.RangeSeekBar}: 
java.lang.InstantiationException: can't instantiate class 
com.example.seekbar.RangeSeekBar; no empty constructor
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2121)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
android.app.ActivityThread.access$800(ActivityThread.java:135)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
android.os.Handler.dispatchMessage(Handler.java:102)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
android.os.Looper.loop(Looper.java:136)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
android.app.ActivityThread.main(ActivityThread.java:5017)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
java.lang.reflect.Method.invokeNative(Native Method)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
java.lang.reflect.Method.invoke(Method.java:515)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
dalvik.system.NativeStart.main(Native Method)
06-09 20:58:17.930: E/AndroidRuntime(2185): Caused by: 
java.lang.InstantiationException: can't instantiate class 
com.example.seekbar.RangeSeekBar; no empty constructor
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
java.lang.Class.newInstanceImpl(Native Method)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
java.lang.Class.newInstance(Class.java:1208)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
android.app.Instrumentation.newActivity(Instrumentation.java:1061)
06-09 20:58:17.930: E/AndroidRuntime(2185):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2112)
06-09 20:58:17.930: E/AndroidRuntime(2185):     ... 11 more

Original issue reported on code.google.com by geethumg...@gmail.com on 9 Jun 2014 at 12:37

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, there seem to be errors in the attached rar file, I can't extract it.

How do you instantiate the widget?

Original comment by tittel@kom.e-technik.tu-darmstadt.de on 10 Jun 2014 at 6:38