Skip to content

Instantly share code, notes, and snippets.

@donv
Created December 22, 2011 23:11
Show Gist options
  • Save donv/1512263 to your computer and use it in GitHub Desktop.
Save donv/1512263 to your computer and use it in GitHub Desktop.
Backtrace with Android SDK release 16
Class traceTypeClass = Class.forName("org.jruby.runtime.backtrace.TraceType", true, classLoader);
Method traceTypeForMethod = traceTypeClass.getMethod("traceTypeFor", String.class);
Object traceTypeRaw = traceTypeForMethod.invoke(null, "raw");
callScriptingContainerMethod(Void.class, "setTraceType", traceTypeRaw);
Class traceTypeClass = Class.forName("org.jruby.runtime.backtrace.TraceType", true, classLoader);
Method traceTypeForMethod = traceTypeClass.getMethod("traceTypeFor", String.class);
Object traceTypeRaw = traceTypeForMethod.invoke(null, "raw");
callScriptingContainerMethod(Void.class, "setTraceType", traceTypeRaw);
I/System.out( 770): NameError: uppercase package names not accessible this way (`org.ruboto.test_app.RubotoTestService')
I/System.out( 770): get_proxy_or_package_under_package at org/jruby/javasupport/JavaUtilities.java:54
I/System.out( 770): method_missing at file:/data/app/org.ruboto.core-1.apk!/jruby/java/java_package_module_template.rb:32
I/System.out( 770): (root) at file:/data/app/org.ruboto.test_app-2.apk!/ruboto_test_app_activity.rb:22
I/System.out( 770): instance_exec at org/jruby/RubyKernel.java:1935
I/System.out( 770): handle_create at (eval):3
I/System.out( 770): (root) at file:/data/app/org.ruboto.test_app-2.apk!/ruboto_test_app_activity.rb:5
I/System.out( 651): NameError: uppercase package names not accessible this way (`org.ruboto.test_app.RubotoTestService')
I/System.out( 651): get_proxy_or_package_under_package at org/jruby/javasupport/JavaUtilities.java:54
I/System.out( 651): method_missing at file:/data/app/org.ruboto.core-1.apk!/jruby/java/java_package_module_template.rb:32
I/System.out( 651): (root) at file:/data/app/org.ruboto.test_app-2.apk!/ruboto_test_app_activity.rb:22
I/System.out( 651): instance_exec at org/jruby/RubyKernel.java:1935
I/System.out( 651): handle_create at (eval):3
I/System.out( 651): (root) at file:/data/app/org.ruboto.test_app-2.apk!/ruboto_test_app_activity.rb:5
I/System.out( 651): NameError: uppercase package names not accessible this way (`org.ruboto.test_app.RubotoTestService')
I/System.out( 651): get_proxy_or_package_under_package at org/jruby/javasupport/JavaUtilities.java:54
I/System.out( 651): method_missing at file:/data/app/org.ruboto.core-1.apk!/jruby/java/java_package_module_template.rb:32
I/System.out( 651): (root) at file:/data/app/org.ruboto.test_app-2.apk!/ruboto_test_app_activity.rb:22
I/System.out( 651): instance_exec at org/jruby/RubyKernel.java:1935
I/System.out( 651): handle_create at (eval):3
I/System.out( 651): (root) at file:/data/app/org.ruboto.test_app-2.apk!/ruboto_test_app_activity.rb:5
@rdp
Copy link

rdp commented Jan 10, 2012

so what was going on here?

@donv
Copy link
Author

donv commented Jan 10, 2012 via email

@rdp
Copy link

rdp commented Jan 10, 2012

I actually didn't get it under roboto, just a very similar message [already filed] for jruby "main"

@donv
Copy link
Author

donv commented Jan 10, 2012 via email

@donv
Copy link
Author

donv commented Jan 10, 2012 via email

@donv
Copy link
Author

donv commented Jan 10, 2012 via email

@rdp
Copy link

rdp commented Jan 10, 2012

ok sounds good thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment