Marshal.load and Marshal.dump not implemented?
----------------------------------------------
Key: JRUBY-5450
URL: http://jira.codehaus.org/browse/JRUBY-5450
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6RC1
Environment: OS X 10.6.6
Reporter: Linus Oleander
Assignee: Thomas E Enebo
Got this error when trying to run ~/jruby-1.6.0.RC1/bin/jruby --1.9 fetch.rb
The code on line 210 and 214:
https://github.com/oleander/MovieSearcher/blob/master/lib/imdb_party/httparty_icebox.rb
RubyBasicObject.java:1600:in `getNativeTypeIndex':
java.lang.UnsupportedOperationException: Not supported yet.
from MarshalStream.java:161:in `getVariables'
from MarshalStream.java:204:in `writeDirectly'
from RubyClass.java:1547:in `dump'
from RubyClass.java:1625:in `smartDump'
from MarshalStream.java:154:in `writeAndRegister'
from MarshalStream.java:108:in `dumpObject'
from RubyMarshal.java:162:in `dumpToStream'
from RubyMarshal.java:101:in `dump'
from org/jruby/RubyMarshal$s_method_0_2$RUBYINVOKER$dump.gen:65535:in
`call'
from DynamicMethod.java:208:in `call'
from DynamicMethod.java:204:in `call'
from CachingCallSite.java:282:in `cacheAndCall'
from CachingCallSite.java:139:in `call'
from CallOneArgNode.java:57:in `interpret'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:103:in `interpret'
from ASTInterpreter.java:107:in `INTERPRET_BLOCK'
from Interpreted19Block.java:189:in `evalBlockBody'
from Interpreted19Block.java:140:in `yield'
from Block.java:130:in `yield'
from RubyIO.java:1066:in `open'
from org/jruby/RubyIO$s_method_0_2$RUBYINVOKER$open.gen:65535:in `call'
from DynamicMethod.java:216:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:182:in `callBlock'
from CachingCallSite.java:191:in `callIter'
from CallTwoArgBlockNode.java:62:in `interpret'
from NewlineNode.java:103:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:70:in `INTERPRET_METHOD'
from InterpretedMethod.java:227:in `call'
from DefaultMethod.java:195:in `call'
from CachingCallSite.java:302:in `cacheAndCall'
from CachingCallSite.java:173:in `call'
from CallTwoArgNode.java:59:in `interpret'
from NewlineNode.java:103:in `interpret'
from ASTInterpreter.java:70:in `INTERPRET_METHOD'
from InterpretedMethod.java:227:in `call'
from DefaultMethod.java:195:in `call'
from CachingCallSite.java:302:in `cacheAndCall'
from CachingCallSite.java:173:in `call'
from CallTwoArgNode.java:59:in `interpret'
from IfNode.java:117:in `interpret'
from NewlineNode.java:103:in `interpret'
from BlockNode.java:71:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:103:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:70:in `INTERPRET_METHOD'
from InterpretedMethod.java:227:in `call'
from DefaultMethod.java:195:in `call'
from CachingCallSite.java:302:in `cacheAndCall'
from CachingCallSite.java:173:in `call'
from CallTwoArgNode.java:59:in `interpret'
from NewlineNode.java:103:in `interpret'
from ASTInterpreter.java:70:in `INTERPRET_METHOD'
from InterpretedMethod.java:227:in `call'
from DefaultMethod.java:195:in `call'
from CachingCallSite.java:302:in `cacheAndCall'
from CachingCallSite.java:173:in `call'
from CallTwoArgNode.java:59:in `interpret'
from CallNoArgNode.java:61:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:103:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:70:in `INTERPRET_METHOD'
from InterpretedMethod.java:184:in `call'
from DefaultMethod.java:179:in `call'
from CachingCallSite.java:282:in `cacheAndCall'
from CachingCallSite.java:139:in `call'
from CallOneArgNode.java:57:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:103:in `interpret'
from BlockNode.java:71:in `interpret'
from UntilNode.java:120:in `interpret'
from NewlineNode.java:103:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:70:in `INTERPRET_METHOD'
from InterpretedMethod.java:141:in `call'
from DefaultMethod.java:163:in `call'
from CachingCallSite.java:262:in `cacheAndCall'
from CachingCallSite.java:105:in `call'
from CallNoArgNode.java:61:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:103:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:70:in `INTERPRET_METHOD'
from InterpretedMethod.java:184:in `call'
from DefaultMethod.java:179:in `call'
from CachingCallSite.java:282:in `cacheAndCall'
from CachingCallSite.java:139:in `call'
from CallOneArgNode.java:57:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:103:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:70:in `INTERPRET_METHOD'
from InterpretedMethod.java:184:in `call'
from DefaultMethod.java:179:in `call'
from CachingCallSite.java:282:in `cacheAndCall'
from CachingCallSite.java:139:in `call'
from fetch.rb:38:in `__file__'
from fetch.rb:-1:in `load'
from Ruby.java:702:in `runScript'
from Ruby.java:587:in `runNormally'
from Ruby.java:421:in `runFromMain'
from Main.java:304:in `run'
from Main.java:144:in `run'
from Main.java:113:in `main'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email