| Summary: | NegativeArraySizeException thrown during serialization | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Stefan Holzknecht <s.holzknecht> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 0.7.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Stefan Holzknecht
How do you create your model? (In reply to comment #1) > How do you create your model? Because I need the model outside the editor I use org.eclipse.xtext.parser.AbstractParser.parse(Reader). Never do that. Create a resourceSet instead and use resourceSet#getResource or resourceSet#createResource. See here: http://wiki.eclipse.org/Xtext/FAQ#How_do_I_load_my_model_in_a_standalone_Java_application_.3F Closing bug which were set to RESOLVED before Eclipse Neon.0. |