Skip to content

@donv /gist:6842581
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Stack trace when running https://github.com/ruboto/ruboto/wiki/Tutorial:-fragments Possibly missing a reference to the fragment class.
I/System.out(13941): RubotoActivity onCreate(): org.ruboto.example.fragments.FragmentsActivity, finishing: false
I/System.out(13941): Exception creating activity: Binary XML file line #3: Error inflating class fragment
I/System.out(13941): android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697)
I/System.out(13941): android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
I/System.out(13941): android.view.LayoutInflater.inflate(LayoutInflater.java:489)
I/System.out(13941): android.view.LayoutInflater.inflate(LayoutInflater.java:396)
I/System.out(13941): android.view.LayoutInflater.inflate(LayoutInflater.java:352)
I/System.out(13941): com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:251)
I/System.out(13941): android.app.Activity.setContentView(Activity.java:1835)
I/System.out(13941): java.lang.reflect.Method.invokeNative(Native Method)
I/System.out(13941): java.lang.reflect.Method.invoke(Method.java:511)
I/System.out(13941): org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:455)
I/System.out(13941): org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:316)
I/System.out(13941): org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:61)
I/System.out(13941): org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
I/System.out(13941): org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36)
I/System.out(13941): org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
I/System.out(13941): org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
I/System.out(13941): org.jruby.ast.RescueNode.executeBody(RescueNode.java:224)
I/System.out(13941): org.jruby.ast.RescueNode.interpret(RescueNode.java:119)
I/System.out(13941): org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
I/System.out(13941): org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:112)
I/System.out(13941): org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:126)
I/System.out(13941): org.jruby.RubyClass.finvoke(RubyClass.java:722)
I/System.out(13941): org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:505)
I/System.out(13941): org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.callEachType(EmbedRubyObjectAdapterImpl.java:353)
I/System.out(13941): org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.call(EmbedRubyObjectAdapterImpl.java:306)
I/System.out(13941): org.jruby.embed.internal.EmbedRubyObjectAdapterImpl.runRubyMethod(EmbedRubyObjectAdapterImpl.java:278)
I/System.out(13941): org.jruby.embed.ScriptingContainer.runRubyMethod(ScriptingContainer.java:1547)
I/System.out(13941): java.lang.reflect.Method.invokeNative(Native Method)
I/System.out(13941): java.lang.reflect.Method.invoke(Method.java:511)
I/System.out(13941): org.ruboto.JRubyAdapter.runRubyMethod(JRubyAdapter.java:50)
I/System.out(13941): org.ruboto.ScriptLoader.callOnCreate(ScriptLoader.java:123)
I/System.out(13941): org.ruboto.RubotoActivity.onCreate(RubotoActivity.java:57)
I/System.out(13941): org.ruboto.EntryPointActivity.onCreate(EntryPointActivity.java:26)
I/System.out(13941): android.app.Activity.performCreate(Activity.java:4465)
I/System.out(13941): android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
I/System.out(13941): android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
I/System.out(13941): android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
I/System.out(13941): android.app.ActivityThread.access$600(ActivityThread.java:123)
I/System.out(13941): android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
I/System.out(13941): android.os.Handler.dispatchMessage(Handler.java:99)
I/System.out(13941): android.os.Looper.loop(Looper.java:137)
I/System.out(13941): android.app.ActivityThread.main(ActivityThread.java:4424)
I/System.out(13941): java.lang.reflect.Method.invokeNative(Native Method)
I/System.out(13941): java.lang.reflect.Method.invoke(Method.java:511)
I/System.out(13941): com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
I/System.out(13941): com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
I/System.out(13941): dalvik.system.NativeStart.main(Native Method)
@zackp30

Heh, a Google search led me here. Trying to figure out how to fix this, any help would be great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.