products forums blog support careers about
  History | Log In     View a printable version of the current page.  
PRO USERS, to ensure 'PRIORITY SUPPORT' make sure that your ASAP account is "tagged" when you file the request. Click here for instructions on how to tag your account.
Issue Details (XML | Word | Printable)

Key: ROR-406
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Chris Williams
Reporter: Ryan Davies
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Aptana RadRails

Unable to create this part due to an internal error. Reason for the failure: Assertion failed:

Created: 29/Jan/08 08:24 PM   Updated: 30/Jan/08 03:38 PM
Return to search
Component/s: Editor: Ruby
Affects Version/s: 0.9.3
Fix Version/s: 1.0.0

File Attachments: 1. File Bot.rb (40 kb)


Impact on Workflow: Critical
Studio Install Type: Standalone
Operating System: Ubuntu, Windows XP
Participants: Chris Williams, Ingo Muschenetz and Ryan Davies


 Description  « Hide
When trying to open a .rb file of approx 1500 lines, Aptana fails with:

Unable to create this part due to an internal error. Reason for the failure: Assertion failed:

org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed:
at org.eclipse.jface.text.Assert.isTrue(Assert.java:188)
at org.eclipse.jface.text.Assert.isTrue(Assert.java:173)
at org.eclipse.jface.text.Position.setLength(Position.java:183)
at org.eclipse.jface.text.rules.FastPartitioner.computePartitioning(FastPartitioner.java:634)
at org.eclipse.jface.text.AbstractDocument.computePartitioning(AbstractDocument.java:1301)
at org.eclipse.jface.text.TextUtilities.computePartitioning(TextUtilities.java:426)
at org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation(PresentationReconciler.java:443)
at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:560)
at org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:558)
at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.inputDocumentChanged(PresentationReconciler.java:118)
at org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2458)
at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2507)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:521)
at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:370)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:467)
at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:2937)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2684)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:367)
at org.rubypeople.rdt.internal.ui.rubyeditor.RubyAbstractEditor.createPartControl(RubyAbstractEditor.java:340)
at org.rubypeople.rdt.internal.ui.rubyeditor.RubyEditor.createPartControl(RubyEditor.java:349)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2595)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
at org.rubypeople.rdt.internal.ui.rubyeditor.EditorUtility.openInEditor(EditorUtility.java:83)
at org.rubypeople.rdt.internal.ui.rubyeditor.EditorUtility.openInEditor(EditorUtility.java:70)
at org.rubypeople.rdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:19)
at org.rubypeople.rdt.ui.actions.OpenAction.run(OpenAction.java:164)
at org.rubypeople.rdt.ui.actions.OpenAction.run(OpenAction.java:148)
at org.rubypeople.rdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:239)
at org.rubypeople.rdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:217)
at org.rubypeople.rdt.internal.ui.packageview.RubyExplorerActionGroup.handleOpen(RubyExplorerActionGroup.java:293)
at org.rubypeople.rdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:637)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.aptana.ide.rcp.AbstractIDEApplication.run(AbstractIDEApplication.java:116)
at com.aptana.ide.rcp.Application.run(Application.java:43)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Change by Ingo Muschenetz - 29/Jan/08 08:36 PM
Field Original Value New Value
Status Open [ 1 ] Reviewed [ 10000 ]

Change by Ingo Muschenetz - 29/Jan/08 08:36 PM
Project Aptana Studio [ 10002 ] Aptana RadRails [ 10003 ]
Component/s Editor: All [ 10006 ]
Affects Version/s Aptana Studio 1.1 [ 10022 ]
Key STU-1101 ROR-406

Change by Ingo Muschenetz - 29/Jan/08 08:37 PM
Assignee Ingo Muschenetz [ ingo ] Chris Williams [ cwilliams ]

Change by Chris Williams - 30/Jan/08 08:16 AM
Status Reviewed [ 10000 ] Awaiting User Response [ 10001 ]

Change by Chris Williams - 30/Jan/08 08:16 AM
Affects Version/s 0.9.3 [ 10053 ]
Fix Version/s 1.0.0 [ 10020 ]
Component/s Editor: Ruby [ 10045 ]
Importance Average <span style="color:red; font-weight:bold;">Critical</span>
Priority Unprioritized [ 6 ] Critical [ 2 ]

Change by Ryan Davies - 30/Jan/08 01:56 PM
Attachment Bot.rb [ 10485 ]

Change by Chris Williams - 30/Jan/08 02:43 PM
Status Awaiting User Response [ 10001 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]

Change by Ingo Muschenetz - 27/May/08 05:38 PM
Workflow External-Open [ 12610 ] External-Open v2 [ 15530 ]