[ https://issues.apache.org/jira/browse/DTACLOUD-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13560584#comment-13560584 ]
Christian Karnath commented on DTACLOUD-420: -------------------------------------------- Had anyone else already time to investigate this issue? This issue seems to be a ruby 1.9.x related one, because with ruby 1.8.7 on the same environment I could not reproduce it. > Mock: Exception is thrown when creating a new instance > ------------------------------------------------------ > > Key: DTACLOUD-420 > URL: https://issues.apache.org/jira/browse/DTACLOUD-420 > Project: DeltaCloud > Issue Type: Bug > Components: Server > Environment: Debian 6.0.6, ruby 1.9.2p0, deltacloud development > Reporter: Christian Karnath > > The following exception is thrown when creating a new instance against the > mock driver: > E, [2013-01-15T20:46:23.497506 #23978] ERROR -- 500: [NoMethodError] > undefined method `write' for #<Syck::Emitter:0x00000003970ee8> > /usr/lib/ruby/1.9.1/psych/visitors/emitter.rb:17:in `end_document' > /usr/lib/ruby/1.9.1/psych/visitors/emitter.rb:17:in > `visit_Psych_Nodes_Document' > /usr/lib/ruby/1.9.1/psych/visitors/visitor.rb:10:in `accept' > /usr/lib/ruby/1.9.1/psych/visitors/emitter.rb:10:in `block in > visit_Psych_Nodes_Stream' > /usr/lib/ruby/1.9.1/psych/visitors/emitter.rb:10:in `each' > /usr/lib/ruby/1.9.1/psych/visitors/emitter.rb:10:in `visit_Psych_Nodes_Stream' > /usr/lib/ruby/1.9.1/psych/visitors/visitor.rb:11:in `accept' > /usr/lib/ruby/1.9.1/psych/nodes/node.rb:36:in `to_yaml' > /usr/lib/ruby/1.9.1/psych.rb:166:in `dump' > /usr/lib/ruby/1.9.1/psych/core_ext.rb:13:in `psych_to_yaml' > /usr/lib/ruby/1.9.1/syck/rubytypes.rb:114:in `node_export' > /usr/lib/ruby/1.9.1/syck/rubytypes.rb:114:in `add' > /usr/lib/ruby/1.9.1/syck/rubytypes.rb:114:in `block (3 levels) in to_yaml' > /usr/lib/ruby/1.9.1/syck/rubytypes.rb:113:in `each' > /usr/lib/ruby/1.9.1/syck/rubytypes.rb:113:in `block (2 levels) in to_yaml' > /usr/lib/ruby/1.9.1/syck/rubytypes.rb:112:in `seq' > /usr/lib/ruby/1.9.1/syck/rubytypes.rb:112:in `block in to_yaml' > /usr/lib/ruby/1.9.1/syck.rb:401:in `call' > /usr/lib/ruby/1.9.1/syck.rb:401:in `emit' > /usr/lib/ruby/1.9.1/syck.rb:401:in `quick_emit' > /usr/lib/ruby/1.9.1/syck/rubytypes.rb:111:in `to_yaml' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira