Title: Attempt to deserialize model throws error (serialVersionUID is broken) · Issue #39 · DeepJavaUniverse/DJ-core · GitHub
Open Graph Title: Attempt to deserialize model throws error (serialVersionUID is broken) · Issue #39 · DeepJavaUniverse/DJ-core
X Title: Attempt to deserialize model throws error (serialVersionUID is broken) · Issue #39 · DeepJavaUniverse/DJ-core
Description: java.io.InvalidClassException: com.dj.core.serializer.ModelWrapper; local class incompatible: stream classdesc serialVersionUID = -5674594797353358206, local class serialVersionUID = 6179854597939874036 at java.base/java.io.ObjectStreamC...
Open Graph Description: java.io.InvalidClassException: com.dj.core.serializer.ModelWrapper; local class incompatible: stream classdesc serialVersionUID = -5674594797353358206, local class serialVersionUID = 61798545979398...
X Description: java.io.InvalidClassException: com.dj.core.serializer.ModelWrapper; local class incompatible: stream classdesc serialVersionUID = -5674594797353358206, local class serialVersionUID = 61798545979398...
Opengraph URL: https://github.com/DeepJavaUniverse/DJ-core/issues/39
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Attempt to deserialize model throws error (serialVersionUID is broken)","articleBody":"java.io.InvalidClassException: com.dj.core.serializer.ModelWrapper; local class incompatible: stream classdesc serialVersionUID = -5674594797353358206, local class serialVersionUID = 6179854597939874036\r\n\tat java.base/java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:689)\r\n\tat java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1894)\r\n\tat java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1763)\r\n\tat java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2051)\r\n\tat java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1585)\r\n\tat java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)\r\n\tat com.dj.core.serializer.SerializerHelper.deserializeFromFile(SerializerHelper.java:25)\r\n\tat com.dj.models.mnist.MnistTrainerTest.testTrainMnistContinue(MnistTrainerTest.java:21)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:564)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n\tat org.junit.runner.JUnitCore.run(JUnitCore.java:137)\r\n\tat com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)\r\n\tat com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)","author":{"url":"https://github.com/b0noI","@type":"Person","name":"b0noI"},"datePublished":"2018-04-03T13:31:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/39/DJ-core/issues/39"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9ccd8957-3ca8-62dd-dd14-fa9249ba6217 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9AF2:6E490:7DDBE8:A332FA:698D6245 |
| html-safe-nonce | 44dd1c05ec340a97b62efa4ad04495b0f4777f0ee98a06bfcbc9544b794202b4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUYyOjZFNDkwOjdEREJFODpBMzMyRkE6Njk4RDYyNDUiLCJ2aXNpdG9yX2lkIjoiMjU1MDQ1Nzk1NTU5MDY5MzQ0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bac7a66aaf6eff1af3e49287cf9ea2e5811b989ed8f30ccd2a49c099e01438e5 |
| hovercard-subject-tag | issue:310837885 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DeepJavaUniverse/DJ-core/39/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a4c4a30171082190e57709b7294c84b6007d85f6b646651702c79a42277c3330/DeepJavaUniverse/DJ-core/issues/39 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a4c4a30171082190e57709b7294c84b6007d85f6b646651702c79a42277c3330/DeepJavaUniverse/DJ-core/issues/39 |
| og:image:alt | java.io.InvalidClassException: com.dj.core.serializer.ModelWrapper; local class incompatible: stream classdesc serialVersionUID = -5674594797353358206, local class serialVersionUID = 61798545979398... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | b0noI |
| hostname | github.com |
| expected-hostname | github.com |
| None | c0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a |
| turbo-cache-control | no-preview |
| go-import | github.com/DeepJavaUniverse/DJ-core git https://github.com/DeepJavaUniverse/DJ-core.git |
| octolytics-dimension-user_id | 36801134 |
| octolytics-dimension-user_login | DeepJavaUniverse |
| octolytics-dimension-repository_id | 120236392 |
| octolytics-dimension-repository_nwo | DeepJavaUniverse/DJ-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 120236392 |
| octolytics-dimension-repository_network_root_nwo | DeepJavaUniverse/DJ-core |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 715890fa442134f528fb422ab338c0ad55c7a025 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width