Sometimes when there are huge ambiguities an assert in Eclipse will be triggered:


org.eclipse.core.runtime.AssertionFailedException: assertion failed: Marker property value is too long: Fragment is ambiguous: SNIP
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
at org.eclipse.core.internal.resources.MarkerInfo.checkValidAttribute(MarkerInfo.java:63)
at org.eclipse.core.internal.resources.MarkerInfo.setAttribute(MarkerInfo.java:147)
at org.eclipse.core.internal.resources.MarkerInfo.setAttributes(MarkerInfo.java:181)
at org.eclipse.core.internal.resources.Marker.setAttributes(Marker.java:279)
at org.strategoxt.imp.runtime.parser.ast.AstMessageHandler.commitMultiErrorLineAdditionsInWS(AstMessageHandler.java:350)
at org.strategoxt.imp.runtime.parser.ast.AstMessageHandler.access$3(AstMessageHandler.java:334)
at org.strategoxt.imp.runtime.parser.ast.AstMessageHandler$3.run(AstMessageHandler.java:329)
at org.strategoxt.imp.runtime.parser.ast.AstMessageHandler$4.run(AstMessageHandler.java:495)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.strategoxt.imp.runtime.parser.ast.AstMessageHandler.runInWorkspace(AstMessageHandler.java:493)
at org.strategoxt.imp.runtime.parser.ast.AstMessageHandler.commitMultiErrorLineAdditions(AstMessageHandler.java:327)
at org.strategoxt.imp.runtime.parser.ParseErrorHandler.commitMultiErrorLineAdditions(ParseErrorHandler.java:185)
at org.strategoxt.imp.runtime.parser.SGLRParseController.onParseCompleted(SGLRParseController.java:410)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:320)
at org.strategoxt.imp.runtime.parser.SGLRParseController.parse(SGLRParseController.java:1)
at org.strategoxt.imp.runtime.dynamicloading.DynamicParseController.parse(DynamicParseController.java:166)
at org.eclipse.imp.editor.ParserScheduler.run(ParserScheduler.java:86)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Submitted by Tobi Vollebregt on 10 December 2010 at 16:12

On 10 December 2010 at 16:48 Lennart Kats commented:

Any idea what the maximum is?


On 10 December 2010 at 16:48 Lennart Kats tagged runtime

On 10 December 2010 at 16:48 Lennart Kats tagged minor

On 10 December 2010 at 17:14 Tobi Vollebregt commented:

65535 bytes, when encoded using UTF-8

Source (google codesearch)

Log in to post comments