Skip to content

Instantly share code, notes, and snippets.

@peschwa
Created October 11, 2015 12:58
Show Gist options
  • Save peschwa/6a9cd3518343e0f55079 to your computer and use it in GitHub Desktop.
Save peschwa/6a9cd3518343e0f55079 to your computer and use it in GitHub Desktop.
Exception occurred: org.perl6.nqp.sixmodel.reprs.P6OpaqueBaseInstance$NoSuchAttrException (to be caught at: 31DF966E99DBEAC0165B2B6A7B2135619A8860
29 throw new NoSuchAttrException("No such attribute '" + name + "' for this object");
main[1] dump rd.classHandles[0]
rd.classHandles[0] = {
org.perl6.nqp.sixmodel.SixModelObject.st: instance of org.perl6.nqp.sixmodel.STable(id=1726)
org.perl6.nqp.sixmodel.SixModelObject.sc: instance of org.perl6.nqp.sixmodel.SerializationContext(id=1727)
}
main[1] dump rd.classHandles[0].sc
rd.classHandles[0].sc = {
handle: "7BD4DA0E552615BBF188892875F04926109721EB"
description: "gen/jvm/CORE.setting"
root_objects: instance of java.util.ArrayList(id=1730)
root_stables: instance of java.util.ArrayList(id=1731)
root_codes: instance of java.util.ArrayList(id=1732)
rep_indexes: instance of java.util.ArrayList(id=1733)
rep_scs: instance of java.util.ArrayList(id=1734)
owned_objects: instance of java.util.HashMap(id=1735)
objectIndexCache: instance of java.util.HashMap(id=1736)
stableIndexCache: instance of java.util.HashMap(id=1737)
codeIndexCache: instance of java.util.HashMap(id=1738)
}
main[1] dump classHandle.sc
classHandle.sc = {
handle: "B0CB0503875709A77AC6BF34212D40FE74667B11-1.44456448736E9"
description: "gen/jvm/BOOTSTRAP.nqp"
root_objects: instance of java.util.ArrayList(id=1743)
root_stables: instance of java.util.ArrayList(id=1744)
root_codes: instance of java.util.ArrayList(id=1745)
rep_indexes: instance of java.util.ArrayList(id=1746)
rep_scs: instance of java.util.ArrayList(id=1747)
owned_objects: instance of java.util.HashMap(id=1748)
objectIndexCache: instance of java.util.HashMap(id=1749)
stableIndexCache: instance of java.util.HashMap(id=1750)
codeIndexCache: instance of java.util.HashMap(id=1751)
}
main[1] up
main[2] up
main[3] list
2,637 return value;
2,638 }
2,639 public static String bindattr_s(SixModelObject obj, SixModelObject ch, String name, String value, ThreadContext tc) {
2,640 tc.native_s = value;
2,641 => obj.bind_attribute_native(tc, decont(ch, tc), name, STable.NO_HINT);
2,642 if (tc.native_type != ThreadContext.NATIVE_STR)
2,643 throw ExceptionHandling.dieInternal(tc, "Attribute '" + name + "' is not a native str");
2,644 if (obj.sc != null)
2,645 scwbObject(tc, obj);
2,646 return value;
main[3] dump org.perl6.nqp.runtime.Ops.decont(ch, tc)
org.perl6.nqp.runtime.Ops.decont(ch, tc) = {
org.perl6.nqp.sixmodel.SixModelObject.st: instance of org.perl6.nqp.sixmodel.STable(id=1726)
org.perl6.nqp.sixmodel.SixModelObject.sc: instance of org.perl6.nqp.sixmodel.SerializationContext(id=1740)
}
main[3] dump org.perl6.nqp.runtime.Ops.decont(ch, tc).sc
org.perl6.nqp.runtime.Ops.decont(ch, tc).sc = {
handle: "B0CB0503875709A77AC6BF34212D40FE74667B11-1.44456448736E9"
description: "gen/jvm/BOOTSTRAP.nqp"
root_objects: instance of java.util.ArrayList(id=1743)
root_stables: instance of java.util.ArrayList(id=1744)
root_codes: instance of java.util.ArrayList(id=1745)
rep_indexes: instance of java.util.ArrayList(id=1746)
rep_scs: instance of java.util.ArrayList(id=1747)
owned_objects: instance of java.util.HashMap(id=1748)
objectIndexCache: instance of java.util.HashMap(id=1749)
stableIndexCache: instance of java.util.HashMap(id=1750)
codeIndexCache: instance of java.util.HashMap(id=1751)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment