Created
December 22, 2011 23:11
-
-
Save donv/1512263 to your computer and use it in GitHub Desktop.
Backtrace with Android SDK release 16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Hi Roger!
Could you file this as a bug at
https://github.com/ruboto/ruboto/issues
I'll take a look at it. I have seen this recently, and I think we fixed it. Which Ruboto version did you use?
On 2012-01-10, at 22:21, Roger Pack wrote:
so what was going on here?
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1512263
##
Uwe Kubosch
[email protected]
http://kubosch.no/
I actually didn't get it under roboto, just a very similar message [already filed] for jruby "main"
Yeah, I made that gist. Just forgot about it. Now to remember what it was. I Showed it to headius, I remember.
Are you on #jruby or #ruboto?
On 2012-01-11, at 00:02, Roger Pack wrote:
I actually didn't get it under roboto, just a very similar message [already filed] for jruby "main"
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1512263
##
Uwe Kubosch
[email protected]
http://kubosch.no/
I remember now. I got this error using OpenJDK 7u2 to build a Ruboto project. Never solved it, but worked around it by reverting to Apple Java 6.
What is your situation?
##
Uwe Kubosch
[email protected]
http://kubosch.no/
The error was probably just a missing class in a jar, but the error message is bad.
On 2012-01-11, at 00:08, Uwe Kubosch wrote:
I remember now. I got this error using OpenJDK 7u2 to build a Ruboto project. Never solved it, but worked around it by reverting to Apple Java 6.
What is your situation?
##
Uwe Kubosch
[email protected]
http://kubosch.no/
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
so what was going on here?