My Eclipse is 3.5.2 and my CFEclipse is 1.4.4 - on Windows 7. There's
also WTP, Flash and CF Builder plugins in there, along with Subclipse
SVN; but I notice the problems predominately after I have opened a
database connection with the SQL Explorer 3.6.1 plugin. Thereafter,
CFEclipse seems to have problems keeping track in the editor.
Is it just me? Usually is...
--
Alan K Holden
:Denny
--
I have not had any serious non-academic job.
Amartya Sen
> --
> For more information on CFEclipse visit: cfeclipse.org
> For support, FAQ and tips and tricks visit: trac.cfeclipse.org
>
> You are subscribed to the Google Groups "CFEclipse Users" group.
> To post send email to: cfeclip...@googlegroups.com
> To unsubscribe send email to: cfeclipse-use...@googlegroups.com
> For more options, visit this group online:
> http://groups.google.com/group/cfeclipse-users?hl=en
But today - right after I opened the SQL Explorer perspective and looked
at the text of a stored procedure, I returned to the CFEclipse
perspective - pasted in about 200 lines of code into a 1400 line cfc -
and started to type again.
About 10 characters into my entry the screen stopped responding. About 7
second later all the lines of the file looked doublespaced, and some
sections of the text appeared to move about.
I can save the file, reopen it, and all looks good again. Lather rinse
repeat... (I shut down the machine every night)
This seems to reinforce my theory that there's something specific
between yours and SQL Explorer's that's at issue here.
No need for everyone to drop what they're doing and rush to my aid ;-]
I'm just documenting it, in case is has happened - or will happen - to
someone else.
Al
On 9/5/2011 2:17 PM, denstar wrote:
Al
Wow, that's too much!
I've noticed that if I don't have a clean shutdown, and then start
back up, and then work for a while, I can reproduce this. Usually
it's the Ant editor that seems to somehow contribute, but I dunno.
The stacktrace is unhelpful, as the thread is a GUI one, I guess, but
somewhere there's a getPointOffset that is triggering a null pointer
that is cascading into havoc and a forced shutdown. Which kind of
makes the cycle continue.
Maybe it's just perception, but maybe not, so give this a go: when it
happens, start CFE back up, let things refresh, and then shut it down
clean and restart.
If that does help, well, that'll at least help. :)
This could be many things, ranging from (most likely) something bad
we're doing when redrawing/parsing model updates, to some bit of
information that we're not providing, which we don't use but that
other editors do use (some editors do stuff to files that don't belong
to them, basically, while you're editing. Not intentionally, but
because of listeners and whatnot that they've subscribed to).
:den
--
It is also very engaging - and a delight - to go back to Bangladesh as
often as I can, which is not only my old home, but also where some of
my closest friends and collaborators live and work.
Amartya Sen
Today it happened when I deleted a cffunction chunk of code and then try to save and also when I closed a start tag and a matching close tag is inserted, like <cffunction> for example.
Sometimes the editor will bork up and I will see things like extra folding indicators and lines of code will disappear. Usually at this point I save and close the file, and reopen and everything is fine-- it was the formatting going crazy I guess.
I got a null pointer exception on the delete, below are the error details for you,
Budd.
eclipse.buildId=
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product
This is a continuation of log file C:\wamp\www\.metadata\.bak_0.log
Created Time: 2011-09-21 13:49:49.803
Error
Wed Sep 21 13:50:24 CDT 2011
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
java.lang.NullPointerException
at org.cfeclipse.cfml.editors.pairs.CFMLPairMatcher.match(CFMLPairMatcher.java:98)
at org.cfeclipse.cfml.editors.decoration.MatchingCharacterPainter.paint(MatchingCharacterPainter.java:266)
at org.eclipse.jface.text.PaintManager.paint(PaintManager.java:298)
at org.eclipse.jface.text.PaintManager.selectionChanged(PaintManager.java:337)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
at org.eclipse.jface.text.TextViewer.fireSelectionChanged(TextViewer.java:2714)
at org.eclipse.jface.text.TextViewer.selectionChanged(TextViewer.java:2693)
at org.eclipse.jface.text.TextViewer$4.widgetSelected(TextViewer.java:1818)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at org.eclipse.swt.custom.StyledText.sendSelectionEvent(StyledText.java:7486)
at org.eclipse.swt.custom.StyledText.clearSelection(StyledText.java:1706)
at org.eclipse.swt.custom.StyledText.setSelection(StyledText.java:8834)
at org.eclipse.swt.custom.StyledText.updateSelection(StyledText.java:9475)
at org.eclipse.swt.custom.StyledText.handleTextChanged(StyledText.java:6095)
at org.eclipse.swt.custom.StyledText$6.textChanged(StyledText.java:5522)
at org.eclipse.jface.text.DefaultDocumentAdapter.fireTextChanged(DefaultDocumentAdapter.java:347)
at org.eclipse.jface.text.DefaultDocumentAdapter.documentChanged(DefaultDocumentAdapter.java:291)
at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2(AbstractDocument.java:735)
at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:712)
at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:697)
at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:762)
at org.eclipse.jface.text.projection.ProjectionDocument.internalAddMasterDocumentRange(ProjectionDocument.java:354)
at org.eclipse.jface.text.projection.ProjectionDocument.addMasterDocumentRange(ProjectionDocument.java:575)
at org.eclipse.jface.text.projection.ProjectionDocument.adaptProjectionToMasterChange(ProjectionDocument.java:688)
at org.eclipse.jface.text.projection.ProjectionDocument.masterDocumentAboutToBeChanged(ProjectionDocument.java:721)
at org.eclipse.jface.text.projection.ProjectionDocumentManager.fireDocumentEvent(ProjectionDocumentManager.java:121)
at org.eclipse.jface.text.projection.ProjectionDocumentManager.documentAboutToBeChanged(ProjectionDocumentManager.java:138)
at org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument.java:645)
at org.eclipse.jface.text.AbstractDocument.set(AbstractDocument.java:1194)
at org.eclipse.jface.text.AbstractDocument.set(AbstractDocument.java:1183)
at org.eclipse.ui.editors.text.FileDocumentProvider.handleElementContentChanged(FileDocumentProvider.java:846)
at org.eclipse.ui.editors.text.FileDocumentProvider$2.execute(FileDocumentProvider.java:274)
at org.eclipse.ui.editors.text.FileDocumentProvider$SafeChange.run(FileDocumentProvider.java:163)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:123)
at org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.internalWorked(EventLoopProgressMonitor.java:90)
at org.eclipse.core.runtime.ProgressMonitorWrapper.internalWorked(ProgressMonitorWrapper.java:94)
at org.eclipse.core.runtime.SubProgressMonitor.internalWorked(SubProgressMonitor.java:155)
at org.eclipse.core.runtime.SubProgressMonitor.worked(SubProgressMonitor.java:181)
at org.eclipse.core.runtime.SubMonitor$RootInfo.worked(SubMonitor.java:284)
at org.eclipse.core.runtime.SubMonitor.done(SubMonitor.java:554)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1812)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:75)
at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:65)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.executeOperation(AbstractDocumentProvider.java:549)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.saveDocument(AbstractDocumentProvider.java:627)
at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:4946)
at org.eclipse.ui.texteditor.AbstractTextEditor.doSave(AbstractTextEditor.java:4735)
at org.cfeclipse.cfml.editors.CFMLEditor.doSave(CFMLEditor.java:346)
at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7067)
at org.eclipse.ui.Saveable.doSave(Saveable.java:214)
at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:346)
at org.eclipse.ui.internal.SaveableHelper$3.run(SaveableHelper.java:193)
at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:274)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2579)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:282)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:261)
at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:204)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:144)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1357)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3328)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3341)
at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:76)
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:470)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1208)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1368)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4053)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:346)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3946)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2411)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3501)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
-----------------------------------
Budd Hirons Jr
Innovative Learning Center - Tulane University
504.314.2533
:den
--
I had SQL Explorer open, with an edit window open on a stored procedure.
Opened a cfc file 2480 lines long.
Copied a 100 line cffunction block from the middle and pasted it to the end.
Erased about 40 lines from the middle of the new cffunction and saved
the file.
When the save was completed, a 5 line block of commented-out code - that
was previously within another cfunction entirely (and probably
collapsed) - just magically appeared between two cffunction blocks.
No errors. It was as though CFEclipse just decided that this comment
block needed to be displayed elsewhere.
Close the file, open it up again, all better. But I'll bet that if I had
tried to keep editing that file, all hell would've broken loose.
+1 on Budd's comment too. Sometimes it seems as though some unfolding
happens by itself, and perhaps the editor looses track of the cursor
location at this point...*
Eclipse is 3.5.2
CFEclipse is 1.4.4
Windows 7
SQL Explorer 3.6.1 plugin
Al
* As a kid, I used to build editors and do collision detection using
PEEK and POKE commands on the display memory of my TRS-80; so therefore
I'm infinitely qualified to know whatever the hell is going on here,
right Denny?
!ENTRY org.eclipse.ui 4 0 2011-09-21 16:13:22.169
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jface.text.DefaultPositionUpdater.update(DefaultPositionUpdater.java:233)
at
org.eclipse.jface.text.AbstractDocument.updatePositions(AbstractDocument.java:1219)
at
org.eclipse.jface.text.AbstractDocument.updateDocumentStructures(AbstractDocument.java:683)
at
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:759)
at
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1157)
at
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1176)
at
org.eclipse.text.edits.DeleteEdit.performDocumentUpdating(DeleteEdit.java:64)
at
org.eclipse.text.edits.TextEdit.traverseDocumentUpdating(TextEdit.java:917)
at
org.eclipse.text.edits.TextEditProcessor.executeDo(TextEditProcessor.java:194)
at
org.eclipse.text.edits.TextEdit.dispatchPerformEdits(TextEdit.java:739)
at
org.eclipse.text.edits.TextEditProcessor.performEdits(TextEditProcessor.java:156)
at org.eclipse.text.edits.TextEdit.apply(TextEdit.java:711)
at
org.eclipse.jface.internal.text.SelectionProcessor.doDelete(SelectionProcessor.java:641)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.deleteSelection(ProjectionViewer.java:1640)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.copyToClipboard(ProjectionViewer.java:1624)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1471)
at
org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129)
!ENTRY org.eclipse.ui 4 0 2011-09-21 16:13:27.083
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
Caused by: java.lang.NullPointerException
at
org.eclipse.jface.text.AbstractDocument.getOffset(AbstractDocument.java:526)
at
org.eclipse.jface.text.AbstractDocument.computeIndexInPositionList(AbstractDocument.java:500)
at
org.eclipse.jface.text.AbstractDocument.getStartingPositions(AbstractDocument.java:1772)
at
org.eclipse.jface.text.AbstractDocument.getPositions(AbstractDocument.java:1702)
at
org.eclipse.jface.text.source.AnnotationModel.getRegionAnnotationIterator(AnnotationModel.java:737)
at
org.eclipse.jface.text.source.AnnotationModel.getAnnotationIterator(AnnotationModel.java:699)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doPaint1(AnnotationRulerColumn.java:718)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doubleBufferPaint(AnnotationRulerColumn.java:532)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.redraw(AnnotationRulerColumn.java:811)
at
org.eclipse.jface.text.source.AnnotationRulerColumn$6.run(AnnotationRulerColumn.java:798)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
... 22 more
!ENTRY org.eclipse.ui 4 0 2011-09-21 16:13:27.171
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
Caused by: java.lang.NullPointerException
at
org.eclipse.jface.text.AbstractDocument.getOffset(AbstractDocument.java:526)
at
org.eclipse.jface.text.AbstractDocument.computeIndexInPositionList(AbstractDocument.java:500)
at
org.eclipse.jface.text.AbstractDocument.getStartingPositions(AbstractDocument.java:1772)
at
org.eclipse.jface.text.AbstractDocument.getPositions(AbstractDocument.java:1702)
at
org.eclipse.jface.text.source.AnnotationModel.getRegionAnnotationIterator(AnnotationModel.java:737)
at
org.eclipse.jface.text.source.AnnotationModel.getAnnotationIterator(AnnotationModel.java:699)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doPaint1(AnnotationRulerColumn.java:718)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doubleBufferPaint(AnnotationRulerColumn.java:532)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.redraw(AnnotationRulerColumn.java:811)
at
org.eclipse.jface.text.source.AnnotationRulerColumn$6.run(AnnotationRulerColumn.java:798)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
... 22 more
!ENTRY org.eclipse.ui 4 0 2011-09-21 16:13:27.173
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
Caused by: java.lang.NullPointerException
at
org.eclipse.jface.text.AbstractDocument.getOffset(AbstractDocument.java:526)
at
org.eclipse.jface.text.AbstractDocument.computeIndexInPositionList(AbstractDocument.java:500)
at
org.eclipse.jface.text.AbstractDocument.getStartingPositions(AbstractDocument.java:1772)
at
org.eclipse.jface.text.AbstractDocument.getPositions(AbstractDocument.java:1702)
at
org.eclipse.jface.text.source.AnnotationModel.getRegionAnnotationIterator(AnnotationModel.java:737)
at
org.eclipse.jface.text.source.AnnotationModel.getAnnotationIterator(AnnotationModel.java:699)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doPaint1(AnnotationRulerColumn.java:718)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doubleBufferPaint(AnnotationRulerColumn.java:532)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.redraw(AnnotationRulerColumn.java:811)
at
org.eclipse.jface.text.source.AnnotationRulerColumn$6.run(AnnotationRulerColumn.java:798)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
... 22 more
!ENTRY org.eclipse.ui 4 0 2011-09-21 16:13:27.177
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.IllegalStateException)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
Caused by: java.lang.IllegalStateException
at
org.eclipse.jface.text.projection.ProjectionMapping.toImageLine(ProjectionMapping.java:480)
at
org.eclipse.jface.text.TextViewer.modelLine2WidgetLine(TextViewer.java:5237)
at
org.eclipse.jface.text.JFaceTextUtil.modelLineToWidgetLine(JFaceTextUtil.java:224)
at
org.eclipse.jface.internal.text.source.DiffPainter.paintLine(DiffPainter.java:220)
at
org.eclipse.jface.internal.text.source.DiffPainter.paint(DiffPainter.java:158)
at
org.eclipse.jface.text.source.LineNumberChangeRulerColumn.doPaint(LineNumberChangeRulerColumn.java:190)
at
org.eclipse.jface.text.source.LineNumberRulerColumn.doubleBufferPaint(LineNumberRulerColumn.java:692)
at
org.eclipse.jface.text.source.LineNumberRulerColumn.redraw(LineNumberRulerColumn.java:844)
at
org.eclipse.jface.text.source.LineNumberRulerColumn$1.run(LineNumberRulerColumn.java:411)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
... 22 more
!ENTRY org.eclipse.ui 4 0 2011-09-21 16:13:27.178
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
Caused by: java.lang.NullPointerException
at
org.eclipse.jface.text.AbstractDocument.getOffset(AbstractDocument.java:526)
at
org.eclipse.jface.text.AbstractDocument.computeIndexInPositionList(AbstractDocument.java:500)
at
org.eclipse.jface.text.AbstractDocument.getStartingPositions(AbstractDocument.java:1772)
at
org.eclipse.jface.text.AbstractDocument.getPositions(AbstractDocument.java:1702)
at
org.eclipse.jface.text.source.AnnotationModel.getRegionAnnotationIterator(AnnotationModel.java:737)
at
org.eclipse.jface.text.source.AnnotationModel.getAnnotationIterator(AnnotationModel.java:699)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doPaint1(AnnotationRulerColumn.java:718)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doubleBufferPaint(AnnotationRulerColumn.java:532)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.redraw(AnnotationRulerColumn.java:811)
at
org.eclipse.jface.text.source.AnnotationRulerColumn$6.run(AnnotationRulerColumn.java:798)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
... 22 more
!ENTRY org.eclipse.ui 4 0 2011-09-21 16:14:19.366
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jface.text.AbstractDocument.getOffset(AbstractDocument.java:526)
at
org.eclipse.jface.text.AbstractDocument.computeIndexInPositionList(AbstractDocument.java:500)
at
org.eclipse.jface.text.AbstractDocument.getStartingPositions(AbstractDocument.java:1772)
at
org.eclipse.jface.text.AbstractDocument.getPositions(AbstractDocument.java:1702)
at
org.eclipse.jface.text.source.AnnotationModel.getRegionAnnotationIterator(AnnotationModel.java:737)
at
org.eclipse.jface.text.source.AnnotationModel.getAnnotationIterator(AnnotationModel.java:699)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doPaint1(AnnotationRulerColumn.java:718)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doubleBufferPaint(AnnotationRulerColumn.java:532)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.access$3(AnnotationRulerColumn.java:508)
at
org.eclipse.jface.text.source.AnnotationRulerColumn$1.paintControl(AnnotationRulerColumn.java:280)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:217)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1425)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4001)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
!ENTRY org.eclipse.ui 4 0 2011-09-21 16:14:19.370
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IllegalStateException
at
org.eclipse.jface.text.projection.ProjectionMapping.toImageLine(ProjectionMapping.java:480)
at
org.eclipse.jface.text.TextViewer.modelLine2WidgetLine(TextViewer.java:5237)
at
org.eclipse.jface.text.JFaceTextUtil.modelLineToWidgetLine(JFaceTextUtil.java:224)
at
org.eclipse.jface.internal.text.source.DiffPainter.paintLine(DiffPainter.java:220)
at
org.eclipse.jface.internal.text.source.DiffPainter.paint(DiffPainter.java:158)
at
org.eclipse.jface.text.source.LineNumberChangeRulerColumn.doPaint(LineNumberChangeRulerColumn.java:190)
at
org.eclipse.jface.text.source.LineNumberRulerColumn.doubleBufferPaint(LineNumberRulerColumn.java:692)
at
org.eclipse.jface.text.source.LineNumberRulerColumn.access$10(LineNumberRulerColumn.java:662)
at
org.eclipse.jface.text.source.LineNumberRulerColumn$5.paintControl(LineNumberRulerColumn.java:606)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:217)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1425)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4001)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
!ENTRY org.eclipse.ui 4 0 2011-09-21 16:14:19.371
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jface.text.AbstractDocument.getOffset(AbstractDocument.java:526)
at
org.eclipse.jface.text.AbstractDocument.computeIndexInPositionList(AbstractDocument.java:500)
at
org.eclipse.jface.text.AbstractDocument.getStartingPositions(AbstractDocument.java:1772)
at
org.eclipse.jface.text.AbstractDocument.getPositions(AbstractDocument.java:1702)
at
org.eclipse.jface.text.source.AnnotationModel.getRegionAnnotationIterator(AnnotationModel.java:737)
at
org.eclipse.jface.text.source.AnnotationModel.getAnnotationIterator(AnnotationModel.java:699)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doPaint1(AnnotationRulerColumn.java:718)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.doubleBufferPaint(AnnotationRulerColumn.java:532)
at
org.eclipse.jface.text.source.AnnotationRulerColumn.access$3(AnnotationRulerColumn.java:508)
at
org.eclipse.jface.text.source.AnnotationRulerColumn$1.paintControl(AnnotationRulerColumn.java:280)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:217)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1425)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4001)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4632)
Al
On 9/21/2011 4:06 PM, Alan Holden wrote:
I pushed a build out (on dev) with this change, I'd recommend folks
having problems give it a shot to see if it improves anything. FWIW
it was related to the occurrence marking, so if you already had this
turned off you're probably seeing some /other/ error. :)
:Denny
--
The curriculum of the school did not neglect India's cultural,
analytical and scientific heritage, but was very involved also with
the rest of the world.
Amartya Sen
I sure did! I'd had trouble reproducing the bug, but got to a spot
that made it happen almost every time.
I haven't run into it since the change, so my hopes are up there, but
that "almost" makes it hard to know for sure.
I've got to merge develop into master, and then I'll get another
"stable" build out as well (assuming I don't hear that the latest dev
build is worse). That's a bug that needs to be killed, even if
there's some unpolished new stuff in the next release. Obviously
we've been struggling a bit on the new moon cycle (ha!), tho we'll get
back there.
So, the current update is on cfeclipse.org/update-dev -- please give
it a whirl and holler if there's anything worse than the current
stable. :)
:Denny
--
Confucius was a humanist and an agnostic.
Hu Shih