-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidClassException during FlexCompRowMatrix deserialization #537
Comments
...and thank you for using HTM.Java! I'm looking into this now... |
Hi @alexsch, The problem is that the We made this available via Gradle or Maven via the repository on my server using the following maven url: ...as seen in the Gradle "build.gradle" file: https://github.com/numenta/htm.java/blob/master/build.gradle#L20 The only reason this might not work for you is that you are specifying another Let me know if this helps? |
We do not use additional repositories. The dependency on the numenta library in our pom file is:
The dependecy:tree shows the algorithmfoundry library only in one place:
It is the algorithmfoundry:algorithmfoundry-shade-culled:jar:1.3:compile |
We use the HTM to detect anomalies in our Spark Streaming process.
After running our project the following exception arises during the deserialization:
java.io.InvalidClassException: no.uib.cipr.matrix.sparse.FlexCompRowMatrix; no valid constructor
It seems that the SDRClassifier uses FlexCompRowMatrix class and the FlexCompRowMatrix extends AbstractMatrix class which neither implements Serializable interface nor has a constructor with no-arg arguments.
Is it possible to do something to avoid the InvalidClassException in our case?
The used version is org.numenta/htm.java 0.6.13.
See also discussion: https://discourse.numenta.org/t/sdrclassifier-serialization/3505
The text was updated successfully, but these errors were encountered: