-
Notifications
You must be signed in to change notification settings - Fork 107
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
Crash opening sample grip file in 2017 vision example zip file #784
Comments
How does it crash? Straight to desktop, or does a message pop up? |
It gives a stack dump. Let me add that
… On Jan 11, 2017, at 9:02 PM, Sam Carlberg ***@***.***> wrote:
How does it crash? Straight to desktop, or does a message pop up?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thread[Project Open Thread,5,main] threw an exception Stack Trace:com.thoughtworks.xstream.mapper.CannotResolveClassException: grip:Pipeline
at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1230)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1214)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1085)
at edu.wpi.grip.core.serialization.Project.open(Project.java:118)
at edu.wpi.grip.core.serialization.Project.open(Project.java:97)
at edu.wpi.grip.ui.MainWindowController.lambda$openProject$5(MainWindowController.java:204)
at java.lang.Thread.run(Thread.java:745) System Info:
|
And does this happen every time you open the example file? |
Yes
… On Jan 11, 2017, at 9:17 PM, Sam Carlberg ***@***.***> wrote:
And does this happen every time you open the example file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Different versions of GRIP 1.5.1 seem to be generating different, incompatible XML files. Some versions create a file that starts with |
It's a bug with the library we're using to generate and read the XML save files. It defaults to use class names like @nollchr has had this problem before. Since he's the only person who's experienced this, there's something weird going on in his computer that causes the XML library to do this. |
Lucky me! Our team has several identical laptops with roughly same configuration. I'll try this on a few others tomorrow.
… On Jan 17, 2017, at 9:43 PM, Sam Carlberg ***@***.***> wrote:
It's a bug with the library we're using to generate and read the XML save files. It defaults to use class names like edu.wpi.grip.core.Pipeline, but we have it set up to use more general identifiers (grip:Pipeline) so moving or renaming classes internally won't break save files.
@nollchr has had this problem before. Since he's the only person who's experienced this, there's something weird going on in his computer that causes the XML library to do this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
What causes some installations to behave differently from others? |
We have 2 people with the problem |
Try waiting 5-10 seconds after launching GRIP and see if this still happens. |
Doesn't work |
Can you upload the save file to a gist and share it here? |
That explains the problem... The absolute paths are being used instead of the alias. |
@vanjac can you zip and upload the entire |
I will ask one of the people... Another problem: after the exception occurs, GRIP completely freezes. Even if this gets fixed it seems like there's a problem with exception handling. |
I'm one of the people, can upload later this evening |
Great. RE: the freezes. Can you open a separate issue detailing what exactly you did to make it crash? |
There's a 10 MB file limit, and the zipped file is 100 MB. Are there specific files that we could upload instead of the whole thing? |
No, I need the whole install. You could use google drive and share a link. |
Here you go: https://drive.google.com/file/d/0B2i21SMA63Y3LXN5UUQ0RlJkbHc/view?usp=sharing. I had put it in Program Files instead of AppData. |
I think that archive is corrupted. 7zip says it's a zip archive, not a 7z, and opening it as either is unsuccessful. |
I think Google Drive freaked when I uploaded it with drag-and-drop. This link should work: https://drive.google.com/open?id=0B2i21SMA63Y3Y19WQVNMWDdoZVU |
Definitely not a problem with the install. I didn't encounter your problem using your install. Are there any user account restrictions? @nollchr do the other laptops have this problem? |
no restrictions to my knowledge, can try uninstall/reinstall |
ah, the test file that was uploaded does work on my computer but this one initiates the crash (even after uninstall/reinstall of latest release): Stack Trace:com.thoughtworks.xstream.mapper.CannotResolveClassException: grip:Pipeline
at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1230)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1214)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1085)
at edu.wpi.grip.core.serialization.Project.open(Project.java:118)
at edu.wpi.grip.core.serialization.Project.open(Project.java:97)
at edu.wpi.grip.ui.MainWindowController.lambda$openProject$5(MainWindowController.java:204)
at java.lang.Thread.run(Thread.java:745) System Info:
|
|
Installed latest grip and tried to open the example grip pipeline in the 2017 vision example zip file.
The text was updated successfully, but these errors were encountered: