Displaying 6 results from an estimated 6 matches for "readobject".
2013 Feb 08
1
ClassNotFoundException when running distributed job using rJava package
...on$1.resolveClass(JavaSerializer.scala:20)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1574)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
at java.io.ObjectInputStream.readObject...
2017 Feb 19
5
RFC: Adding llvm::ThinStream
...mplementations of ThinStream will never occur.*
Suppose you have a struct:
struct Header {
char Magic[48];
ulittle16_t A;
ulittle16_t B;
ulittle64_t C;
};
To read this using a `ThinStreamReader`, you would write this:
ThinStreamReader Reader(Stream);
const Header *H;
if (auto EC = Reader.readObject(H))
return EC;
and `ThinStreamReader` just reinterpret_casts the underlying bytes to your
structure. The same is true for null terminated strings, arrays of
objects, and everything else. *It is up to the user to ensure that reads
and writes happen at proper alignments.* (LLVM can still assert...
2009 Aug 26
1
rJava error for large XML object return in StatET plugin
...server.ConsoleCmdItem.<init>(ConsoleCmdItem.java:58)
at de.walware.rj.server.MainCmdList.readExternal(MainCmdList.java:70)
at java.io.ObjectInputStream.readExternalData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)
... 14 more
Thanks and regards,
Harsh
[[alternative HTML version deleted]]
2007 Dec 05
4
Java parser for R data file?
Hi everyone,
Has anyone written a parser in Java for either the ASCII or binary format
produced by save()? I need to parse a single large 2D array that is
structured like this:
list(
"32609_1" = c(-9549.39231289146, -9574.07159324482, ... ),
"32610_2" = c(-6369.12526971635, -6403.99620977124, ... ),
"32618_2" = c(-2138.29095689061, -2057.9229403233, ... ),
2017 Feb 22
2
RFC: Adding llvm::ThinStream
...ve a struct:
>
> struct Header {
> char Magic[48];
> ulittle16_t A;
> ulittle16_t B;
> ulittle64_t C;
> };
>
> To read this using a `ThinStreamReader`, you would write this:
>
> ThinStreamReader Reader(Stream);
> const Header *H;
> if (auto EC = Reader.readObject(H))
> return EC;
>
> and `ThinStreamReader` just reinterpret_casts the underlying bytes to your
> structure. The same is true for null terminated strings, arrays of
> objects, and everything else. *It is up to the user to ensure that reads
> and writes happen at proper alignme...
2011 Oct 26
8
IronRuby's Marshal.dump doesn't work with CLR types, or ruby types backed by a CLR type
Backstory: I''m trying to use DRb for some in-house utility code. DRb
itself seems to work fine, but I found that when I misspelled a method
name, instead of reporting back a NoMethodError, the IronRuby process
crashed immediately to the console.
This is using a relatively recent build of IronRuby from Github
Steps to repro:
e = RuntimeError.new ''xyz''
dumped =