Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

Unable to unserialize unknown type . limit on amount of data? new strategy? #11

Open
kamakinto opened this issue Oct 20, 2015 · 0 comments

Comments

@kamakinto
Copy link

Good Afternoon,

I am attempting to use pherialize to unserialize a serialized php array of database records.

It can do up to 20 records with no problem, but after 20 records, I receive the following error:

Exception in thread "main" de.ailis.pherialize.exceptions.UnserializeException: Unable to unserialize unknown type ;

at de.ailis.pherialize.Unserializer.unserializeObject(Unserializer.java:109)

at de.ailis.pherialize.Unserializer.unserializeArray(Unserializer.java:243)

at de.ailis.pherialize.Unserializer.unserializeObject(Unserializer.java:102)

at de.ailis.pherialize.Pherialize.unserialize(Pherialize.java:83)

at Main.main(Main.java:40)

The code I am trying to execute is:

//Use XML-RPC to get serialized php array of database records

MixedArray list;

result = (String) server.execute("webserviceCallPlaceholder.call", params);

list = Pherialize.unserialize(result).toArray();

Is there maybe a limitation to the amount of data that can be unserialized? are there any strategies you would recommend to get around the problem?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant