-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Pasting string in editor causes assertion error #816
Comments
tried copy and paste from http://try.dartlang.org/s/Rlkj !ENTRY org.eclipse.ui 4 4 2011-12-12 12:12:55.826 !ENTRY org.eclipse.ui 4 0 2011-12-12 12:12:55.837 !ENTRY org.eclipse.ui 4 0 2011-12-12 12:12:56.151 Set owner to @bwilkerson. |
Fixed by http://codereview.chromium.org/8918017/. Added Fixed label. |
…ed_data, webdev, yaml Revisions updated by `dart tools/rev_sdk_deps.dart`. csslib (https://github.com/dart-lang/csslib/compare/923edf0..c4e904c): c4e904c 2023-05-10 Devon Carew rev for publishing (#179) c9e47d0 2023-05-10 Kevin Moore Require Dart 2.19, latest lints, skin hanging test (#175) 3976e6f 2023-05-10 Devon Carew address an issue parsing font names (#168) a337a9a 2023-05-10 Devon Carew fixed CssPrinter pretty print indent levels (#169) ffi (https://github.com/dart-lang/ffi/compare/1a859e0..7f4acbd): 7f4acbd 2023-05-09 Devon Carew Rev pubspec and update changelog (#194) http (https://github.com/dart-lang/http/compare/406ce74..db84d12): db84d12 2023-05-10 Brian Quinlan Require the release version of Dart 3.0.0 (#925) leak_tracker (https://github.com/dart-lang/leak_tracker/compare/fc14e36..46a1fa0): 46a1fa0 2023-05-09 Polina Cherkasova Make sure leak tracker does not fail in case of duplicates. (#60) mime (https://github.com/dart-lang/mime/compare/cd8001e..57fbf6e): 57fbf6e 2023-05-09 Dimitar Petrov Add m4b mime type (#92) protobuf (https://github.com/dart-lang/protobuf/compare/9d7cf0d..05058a7): 05058a7 2023-05-10 Ömer Sinan Ağacan Apply internally enabled lints (#816) test (https://github.com/dart-lang/test/compare/1d65501..0b306dd): 0b306dd5 2023-05-09 Nate Bosch Document behavior of explicit file path args (#2011) typed_data (https://github.com/dart-lang/typed_data/compare/021f25a..921f5c0): 921f5c0 2023-05-09 Devon Carew add topics to the pubspec file (#65) webdev (https://github.com/dart-lang/webdev/compare/fe5b975..469b105): 469b1058 2023-05-10 Elliott Brooks Update DCM workflow (#2106) yaml (https://github.com/dart-lang/yaml/compare/1f39ffe..af3d8cd): af3d8cd 2023-05-10 Nate Bosch Uncomment some tests (#145) Change-Id: I97a7b284e01c4fde10b8cfc814d95ecc9686ddff Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/302448 Auto-Submit: Devon Carew <devoncarew@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
…th, watcher Revisions updated by `dart tools/rev_sdk_deps.dart`. ecosystem (https://github.com/dart-lang/ecosystem/compare/dda7886..805ab4f): 805ab4f 2023-11-22 Moritz Add retries to `pub.dev/api/` calls (#199) 4cc2cb4 2023-11-20 Devon Carew add PR stats to the 'bin/report.dart weekly' command (#198) matcher (https://github.com/dart-lang/matcher/compare/3d03fa1..fcbd361): fcbd361 2023-11-21 Nate Bosch Add more advice away from predicate (#233) native (https://github.com/dart-lang/native/compare/5dca10e..0051e78): 0051e78d 2023-11-27 Hossein Yousefi Generate getters for `static final` strings (#825) de505461 2023-11-27 Liam Appelbe [ffigen] Update the ObjC and swift examples for the v10 code gen (#830) c371539d 2023-11-24 Simon Binder ffigen: Don't generate setters for constant globals (#828) 13b6b7e7 2023-11-24 Luke Rogers Fixed a typo in the warn if private log message. (#824) 9f29edc7 2023-11-21 Prerak Mann [ffigen] Add config `ignore-source-errors` (#810) 6dc1c84c 2023-11-21 Hossein Yousefi [infra] Add an issue template for jnigen (#820) 3153a354 2023-11-21 Hossein Yousefi [jnigen] Fix flaky tests (#814) 8d4a241c 2023-11-21 Daco Harkes [native_assets_cli] Add note to bump protocol version (#819) 6c6a3d6c 2023-11-21 Daco Harkes [infra] script to change deps to path dependencies (#817) 893433ee 2023-11-20 Daco Harkes [infra] Set `breaking-change` to false again (#816) 992a563f 2023-11-20 Daco Harkes [infra] Try to use `carryforward` (#815) 7d9fbf38 2023-11-20 Daco Harkes [infra] Try fix coveralls (#813) 44861422 2023-11-20 Hossein Yousefi [jnigen] Update links and paths to use dart-lang/native (#811) protobuf (https://github.com/dart-lang/protobuf/compare/dcec2ed..cf43230): cf43230 2023-11-23 Ömer Sinan Ağacan Update getList and getMap return types (#903) 4e0bdff 2023-11-23 Ömer Sinan Ağacan Make wrapped lists in PbList monomorphic (#902) sse (https://github.com/dart-lang/sse/compare/0f6ca11..1df63f2): 1df63f2 2023-11-21 Kevin Moore Fix incorrect cast causing wasm failure, prepare v4.1.4 (#96) test (https://github.com/dart-lang/test/compare/8ba0940..a0a4d1e): a0a4d1ee 2023-11-22 Kevin Moore Update to latest version of lints (#2140) vector_math (https://github.com/google/vector_math.dart/compare/294896d..e4066cc): e4066cc 2023-11-27 Lukas Klingsbo Some general Vector4 optimizations (#295) d340ab0 2023-11-27 Lukas Klingsbo Some general Vector3 optimizations (#294) 571d3d0 2023-11-25 Lukas Klingsbo fix: Revert Vector2 constructor changes (#304) watcher (https://github.com/dart-lang/watcher/compare/b2b278a..6ac67f1): 6ac67f1 2023-11-22 Danny Tuppeny Enable file watcher tests on Windows (#156) Change-Id: I0014566b05e852099bc4b82f854820e9d9992358 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/338423 Commit-Queue: Devon Carew <devoncarew@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Editor Feedback:
trying to paste this string into the editor caused an assertion error:
'<p><em>Save text locally (it will still be available after restarting your browser)</em></p>'
////////////////////////////////////////////////////////////////////////////////////
Editor Version: 2353
OS: Mac OS X
////////////////////////////////////////////////////////////////////////////////////
!SESSION 2011-12-12 11:24:05.291 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -keyring ${user.home}/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -consoleLog -data ../../../workspace -keyring ${user.home}/.eclipse_keyring -showlocation
!ENTRY org.eclipse.ui 4 4 2011-12-12 11:25:35.601
!MESSAGE "Paste" did not complete normally. Please see the log for more information.
!ENTRY org.eclipse.ui 4 0 2011-12-12 11:25:35.603
!MESSAGE assertion failed:
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
at org.eclipse.jface.text.Position.<init>(Position.java:62)
at org.eclipse.jface.text.TypedPosition.<init>(TypedPosition.java:35)
at org.eclipse.jface.text.rules.FastPartitioner.documentChanged2(FastPartitioner.java:381)
at org.eclipse.jface.text.AbstractDocument.updateDocumentStructures(AbstractDocument.java:696)
at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:793)
at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1191)
at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)
at com.google.dart.tools.ui.internal.text.dart.DartAutoIndentStrategy.getPeerPosition(DartAutoIndentStrategy.java:898)
at com.google.dart.tools.ui.internal.text.dart.DartAutoIndentStrategy.smartPaste(DartAutoIndentStrategy.java:1400)
at com.google.dart.tools.ui.internal.text.dart.DartAutoIndentStrategy.customizeDocumentCommand(DartAutoIndentStrategy.java:651)
at org.eclipse.jface.text.TextViewer.customizeDocumentCommand(TextViewer.java:3752)
at org.eclipse.jface.text.TextViewer.handleVerifyEvent(TextViewer.java:3782)
at org.eclipse.jface.text.source.projection.ProjectionViewer.handleVerifyEvent(ProjectionViewer.java:1277)
at org.eclipse.jface.text.TextViewer$TextVerifyListener.verifyText(TextViewer.java:435)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:265)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7148)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:7994)
at org.eclipse.swt.custom.StyledText.paste(StyledText.java:7236)
at org.eclipse.jface.text.TextViewer.paste(TextViewer.java:4052)
at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3990)
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:1012)
at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1534)
at com.google.dart.tools.ui.internal.text.editor.DartSourceViewer.doOperation(DartSourceViewer.java:305)
at com.google.dart.tools.ui.internal.text.editor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:189)
at com.google.dart.tools.ui.internal.text.editor.ClipboardOperationAction.doPasteWithImportsOperation(ClipboardOperationAction.java:403)
at com.google.dart.tools.ui.internal.text.editor.ClipboardOperationAction.internalDoOperation(ClipboardOperationAction.java:291)
at com.google.dart.tools.ui.internal.text.editor.ClipboardOperationAction$1.run(ClipboardOperationAction.java:247)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.google.dart.tools.ui.internal.text.editor.ClipboardOperationAction.run(ClipboardOperationAction.java:244)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:468)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1069)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4124)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1494)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1490)
at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:463)
at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1051)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5560)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)
at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:587)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5470)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)
at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2255)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5532)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4986)
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5135)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3607)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
The text was updated successfully, but these errors were encountered: