rahul7386 / nativedriver

Automatically exported from code.google.com/p/nativedriver
Apache License 2.0
0 stars 0 forks source link

MissingResourceException: Can't find resource for bundle 'javax.servlet.LocalStrings_it_IT', key '' #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. inject the server in an Android app
2. install it on a device
3. start the instrumentation via adb

What is the expected output? What do you see instead?
excpected:
I/com.google.android.testing.nativedriver.server.ServerInstrumentation(  273): 
Jetty started on port 54129
seen;
E/AndroidRuntime( 8318): FATAL EXCEPTION: Instr: 
com.google.android.testing.nativedriver.server.ServerInstrumentation
E/AndroidRuntime( 8318): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 8318):        at 
com.google.android.testing.nativedriver.server.ServerInstrumentation.createHandl
er(Unknown Source)
E/AndroidRuntime( 8318):        at 
com.google.android.testing.nativedriver.server.ServerInstrumentation.startJetty(
Unknown Source)
E/AndroidRuntime( 8318):        at 
com.google.android.testing.nativedriver.server.ServerInstrumentation.onStart(Unk
nown Source)
E/AndroidRuntime( 8318):        at 
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
E/AndroidRuntime( 8318): Caused by: java.util.MissingResourceException: Can't 
find resource for bundle 'javax.servlet.LocalStrings_it_IT', key ''
E/AndroidRuntime( 8318):        at 
java.util.ResourceBundle.missingResourceException(ResourceBundle.java:225)
E/AndroidRuntime( 8318):        at 
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:425)
E/AndroidRuntime( 8318):        at 
java.util.ResourceBundle.getBundle(ResourceBundle.java:133)
E/AndroidRuntime( 8318):        at 
javax.servlet.GenericServlet.<clinit>(GenericServlet.java:64)
E/AndroidRuntime( 8318):        ... 4 more
W

What version of the product are you using? On what operating system?
Revision 69, from http://nativedriver.googlecode.com/svn
On Ubuntu 12.04

Please provide any additional information below.
The issue seems connected to Jetty, which tries to locate a localization
file failing and dies.
Same issue has been "reported" in 
http://code.google.com/p/nativedriver/wiki/AndroidMakeAnAppTestable in a couple 
of comments.

Original issue reported on code.google.com by eros.le...@gmail.com on 22 Oct 2012 at 10:16