org.eclipse.xtext.formatting2.internal.ConflictingRegionsException: Conflicting Regions. {{{}}}: newLine=1 at offset=89 length=0 [[[]]]: newLine=2 at offset=89 length=0 ------------------------------- document snippet ------------------------------- package io.sarl.tests.quickfix.org_eclipse_xtend_core_validation_issuecodes_wrong_package{{{}}}[[[]]] --------------------------------------------------------------------------------

GitHub | gallandarakhneorg | 4 months ago
  1. 0

    Quick fix tests have conflicts in formatted regions.

    GitHub | 4 months ago | gallandarakhneorg
    org.eclipse.xtext.formatting2.internal.ConflictingRegionsException: Conflicting Regions. {{{}}}: newLine=1 at offset=89 length=0 [[[]]]: newLine=2 at offset=89 length=0 ------------------------------- document snippet ------------------------------- package io.sarl.tests.quickfix.org_eclipse_xtend_core_validation_issuecodes_wrong_package{{{}}}[[[]]] --------------------------------------------------------------------------------
  2. 0

    Eclipse Community Forums

    eclipse.org | 1 year ago
    org.eclipse.xtext.formatting2.internal.ConflictingRegionsException: Conflicting Regions. {{{}}}: HiddenRegionReplacer at offset=3658 length=0 at offset=3658 length=0 [[[]]]: HiddenRegionReplacer at offset=3658 length=0 at offset=3658 length=0 ------------------------------- document snippet ------------------------------- [... business stuff removed ...] --------------------------------------------------------------------------------
  3. 0

    [Java2Xtend] Exceptions thrown during conversion

    Eclipse Bugzilla | 2 years ago | Holger.Schill
    org.eclipse.xtext.formatting2.internal.ConflictingRegionsException: Conflicting Regions. {{{}}}: HiddenRegionReplacer at offset=26754 length=0 at offset=26754 length=0 [[[]]]: HiddenRegionReplacer at offset=26754 length=0 at offset=26754 length=0 ------------------------------- document snippet ------------------------------- { _and=false } else { var EObject _eContainer_1=it.eContainer() var boolean _isInterface={{{}}}[[[]]](_eContainer_1 as JvmGenericType).isInterface() --------------------------------------------------------------------------------
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Java2Xtend] Exceptions thrown during conversion

    Eclipse Bugzilla | 2 years ago | Holger.Schill
    org.eclipse.xtext.formatting2.internal.ConflictingRegionsException: Conflicting Regions. {{{}}}: HiddenRegionReplacer at offset=22718 length=0 at offset=22718 length=0 [[[]]]: HiddenRegionReplacer at offset=22718 length=0 at offset=22718 length=0 ------------------------------- document snippet ------------------------------- { var boolean _matched=false if (!_matched) { if (appendable instanceof TreeAppendable) { _matched=true var SharedAppendableState _state={{{}}}[[[]]](appendable as TreeAppendable).getState() --------------------------------------------------------------------------------

    Root Cause Analysis

    1. org.eclipse.xtext.formatting2.internal.ConflictingRegionsException

      Conflicting Regions. {{{}}}: newLine=1 at offset=89 length=0 [[[]]]: newLine=2 at offset=89 length=0 ------------------------------- document snippet ------------------------------- package io.sarl.tests.quickfix.org_eclipse_xtend_core_validation_issuecodes_wrong_package{{{}}}[[[]]] --------------------------------------------------------------------------------

      at org.eclipse.xtext.formatting2.internal.TextSegmentSet.handleConflict()
    2. org.eclipse.xtext
      FormattableDocument.append
      1. org.eclipse.xtext.formatting2.internal.TextSegmentSet.handleConflict(TextSegmentSet.java:66)
      2. org.eclipse.xtext.formatting2.internal.ArrayListTextSegmentSet.replaceExistingEntry(ArrayListTextSegmentSet.java:131)
      3. org.eclipse.xtext.formatting2.internal.ArrayListTextSegmentSet.add(ArrayListTextSegmentSet.java:43)
      4. org.eclipse.xtext.formatting2.internal.FormattableDocument.addReplacer(FormattableDocument.java:73)
      5. org.eclipse.xtext.formatting2.internal.FormattableDocument.set(FormattableDocument.java:310)
      6. org.eclipse.xtext.formatting2.internal.FormattableDocument.append(FormattableDocument.java:94)
      6 frames
    3. org.eclipse.xtend
      XtendFormatter.format
      1. org.eclipse.xtend.core.formatting2.XtendFormatter._format(XtendFormatter.java:154)
      2. org.eclipse.xtend.core.formatting2.XtendFormatter.format(XtendFormatter.java:891)
      2 frames
    4. io.sarl.lang
      SARLFormatter.format
      1. io.sarl.lang.formatting2.SARLFormatter.format(SARLFormatter.java:171)
      1 frame
    5. org.eclipse.xtext
      AbstractFormatter2._format
      1. org.eclipse.xtext.formatting2.AbstractFormatter2._format(AbstractFormatter2.java:202)
      1 frame
    6. org.eclipse.xtend
      XtendFormatter.format
      1. org.eclipse.xtend.core.formatting2.XtendFormatter.format(XtendFormatter.java:801)
      1 frame
    7. io.sarl.lang
      SARLFormatter.format
      1. io.sarl.lang.formatting2.SARLFormatter.format(SARLFormatter.java:171)
      1 frame
    8. org.eclipse.xtext
      XtextResource.doSave
      1. org.eclipse.xtext.formatting2.AbstractFormatter2.format(AbstractFormatter2.java:269)
      2. org.eclipse.xtext.serializer.impl.Serializer.serialize(Serializer.java:161)
      3. org.eclipse.xtext.serializer.impl.Serializer.serialize(Serializer.java:203)
      4. org.eclipse.xtext.resource.XtextResource.doSave(XtextResource.java:369)
      4 frames
    9. org.eclipse.emf.ecore
      ResourceImpl.save
      1. org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:1430)
      1 frame
    10. io.sarl.lang
      PackageDeclarationQuickfixTest.fixPackageName
      1. io.sarl.lang.ui.tests.quickfix.AbstractSARLQuickfixTest$QuickFixAsserts.assertQuickFix(AbstractSARLQuickfixTest.java:297)
      2. io.sarl.lang.ui.tests.quickfix.AbstractSARLQuickfixTest.assertQuickFix(AbstractSARLQuickfixTest.java:174)
      3. io.sarl.lang.ui.tests.quickfix.PackageDeclarationQuickfixTest.fixPackageName(PackageDeclarationQuickfixTest.java:26)
      3 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    12. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      6. org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
      7. org.junit.rules.RunRules.evaluate(RunRules.java:20)
      8. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      10. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      11. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      12. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      13. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      14. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      15. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      16. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      16 frames
    13. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    14. JUnit3 Runner
      RemoteTestRunner.run
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      4 frames
    15. PDE JUnit Plug-in Test
      PlatformUITestHarness.lambda$0
      1. org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:66)
      2. org.eclipse.pde.internal.junit.runtime.PlatformUITestHarness.lambda$0(PlatformUITestHarness.java:43)
      2 frames
    16. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4528)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4146)
      4 frames
    17. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      1 frame
    18. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    19. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      1 frame
    20. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      1 frame
    21. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
      1 frame
    22. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    23. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
      1 frame
    24. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      1 frame
    25. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      1 frame
    26. PDE JUnit Plug-in Test
      NonUIThreadTestApplication.start
      1. org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.runApp(NonUIThreadTestApplication.java:52)
      2. org.eclipse.pde.internal.junit.runtime.UITestApplication.runApp(UITestApplication.java:43)
      3. org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:46)
      3 frames
    27. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    28. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      4 frames
    29. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    30. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1492)
      4 frames