You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hawtdb
Here's a little exception i cannot figure what's going on,
Is this a serialization problem ? the message is not that much
expressive.
Thank, you for any help :)
Caused by: java.io.IOException:
com.xxxxxx.backoffice.data.FxRatesSerie
at org.fusesource.hawtbuf.codec.ObjectCodec.decode(ObjectCodec.java:
52)
at org.fusesource.hawtdb.internal.index.BTreeNode.read(BTreeNode.java:
207)
at org.fusesource.hawtdb.internal.index.BTreeNode
$DataPagedAccessor.decode(BTreeNode.java:228)
at org.fusesource.hawtdb.internal.index.BTreeNode
$DataPagedAccessor.decode(BTreeNode.java:214)
at
org.fusesource.hawtdb.api.AbstractStreamPagedAccessor.load(AbstractStreamPagedAccessor.java:
64)
... 55 more
private static final long serialVersionUID = 8661134249845313548L;
private String name;
private String code;
...
Solido
unread,
Sep 1, 2010, 1:07:59 PM9/1/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hawtdb
The program is working great when launched from a main method
but when converted in a spring application, i've found that the
IOException
is a classNotFoundException.
Looks like Hawtdb use it's own classloader and the class that's is
found
by the controller is not found by HawtDb which is called from the same
controller.
List<FxRate> rs = ratesDB.load(new Date());
Solido
unread,
Sep 1, 2010, 1:19:55 PM9/1/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hawtdb
The problem seems to came from the injection mode of spring,
if i use the new operator it's ok else it does not found dependency
on the class.
It's really simple java object serialization logic. Perhaps you should find out from the spring folks how it can better integrate /w spring created objects.