For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 27 replies, 9 voices, and was last updated 20 years, 8 months ago by
Andy Bentley.
-
AuthorPosts
-
arjan.tijmsMemberI’ve recently upgraded to MyEclipse 3.8.3 usin the update site. For the rest of my specs, see my previous post.
I’m experiencing a lot of Erratic behaviour. It’s actually too much to write down here, and some things I want to verify to see if it can be reproduced on other machines before posting about it. Among the problems are:
1) Validator does not stop. When I edit a JSP file (the one I choose is 700 lines), and start writing new code, e.g. inserting an empty <% %> all the yellow and red lines that are always in every JSP file starts to blink more badly than they already do. The markers at the right side of the editor are repeatedly cleared and re-drawn, looking like a kind of ‘christmas tree’ effect. This goes on for minutes. In preferences->Validation I disabled HTML validating, JSP validating, and thereafter everything there, but this does not help.
2) Marking of errors in Java code on JSP pages that aren’t there. For example, in a perfectly good block of code I get a curly red line under a brace. The marker at the right side of the editor sais:
“Multiple annotation found at this line:
-Syntax error: insert “}” to complete block
-Syntax error: insert “else statement” to complete block
-Syntax error: insert “}” to complete method body
-Syntax error: insert “;” to complete LocalVariableDeclarationStatement
-Syntax error: insert “finally” to complete TryStatement
-Syntax error: insert “}” to complete classbody
-Syntax error: insert “}” to complete statement”Then there are a dozen more error markers like these in my file.
However, the file runs without any compilation problems on Orion 2.05. On top of that, validating the file with the context menu option sais the JSP file is valid.
For the structure of my files and projects, see my previous postings about JSP editor problems.3) CTRL-C does not always work in JSP editor, or only works after a few attempts. When I try to copy something to the clipboard using the CTRL-C shortcut it sometimes does not work. Whenever it fails for the first time, it starts failing. Often (but not always), it helps to press CTRL-C two or three times on the same selection. When pressing CTRL-C more than once does not work, it helps to use the menu entry Edit->Copy. Of course this latter method is not something I’d like to do all the time.
4) Overall slow editing in the JSP editor. This is on a P4 2.8Ghz, P4 3Ghz, and Athlon 2000XP, all with enough memory given to Eclipse (minimal 256, maximum 512). I really noticed this after first working in a .java file and then starting to type something n the JSP editor.
5) Characters being typed appear in the wrong order. This is usually in combination with other erratic behaviour, things have already slown down, the christmas tree show is in effect, etc. What happens is that I type “example” and in the editor appears something like “lpemaxe”.
6) Maybe related to 5), as this also happens when the editor is already showing other signs of very erratic behaviour. What happens is that the cursor is at one spot in the text, and what I type appears at another spot.
7) Probaly related to 5) also, again the same kind of situation. When I try to type, I get a dialog box saying something along the lines of “The command failed because of the command failed” (not exaxtly, I forgot to wrote this one down).
8) Erratic code completion. Sometimes, the editor does not want to do any code completion anymore. I’m in a legal context, and when I try CTRL-space it sais content assistance is not available. Odly enough, it does work on static methods when I use the class name to access the static method instead of an object name. At other times it gives a very strange message: “Duplicate field [name of current jsp file – suffix].e”. E.g. when my file is named bar.jsp and I’m trying to code complete a method I get the message “Duplicate field in Bar.e”. Also notice that the B gets capitalized, while the file name has no such capitalisation.
All erratic behaviour happens a multiple machines, with different installations. At least some of these problems are easily reproducable on every machine, so it’s unlikely that something is screwed up with a particular installation.
Some of the exceptions I’ve been seeing last night (these ones are taken from a XP installation):
!ENTRY com.ibm.sse.editor 4 4 Dec 17, 2004 00:27:08.858
!MESSAGE Original Error: org.eclipse.jface.text.BadLocationException: null
!STACK 0
Original Error: org.eclipse.jface.text.BadLocationException: null
at com.ibm.sse.model.internal.text.BasicStructuredDocumentRegion.getText(Unknown Source)
at com.ibm.sse.model.xml.internal.document.TextImpl.getData(Unknown Source)
at com.ibm.sse.model.xml.internal.document.TextImpl.getData(Unknown Source)
at com.ibm.sse.model.xml.internal.document.TextImpl.isWhitespace(Unknown Source)
at com.ibm.sse.model.html.validate.HTMLDocumentContentValidator.validateContent(Unknown Source)
at com.ibm.sse.model.html.validate.HTMLDocumentContentValidator.validate(Unknown Source)
at com.ibm.sse.model.html.validate.CompositeValidator.validate(Unknown Source)
at com.ibm.sse.model.xml.internal.validate.AbstractPropagatingValidator.validate(Unknown Source)
at com.ibm.sse.model.html.validate.DocumentPropagatingValidator.validate(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validate(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validateFile(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validateDelta(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validate(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.validator.ReconcileStepForValidator.validate(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.StructuredReconcileStep.reconcile(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.validator.ValidatorStrategy.reconcile(Unknown Source)
at com.ibm.sse.editor.StructuredTextReconciler.processPartial(Unknown Source)
at com.ibm.sse.editor.StructuredTextReconciler.runStrategies(Unknown Source)
at com.ibm.sse.editor.StructuredTextReconciler.process(Unknown Source)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204)
!ENTRY com.ibm.sse.editor 4 4 Dec 17, 2004 00:27:08.889
!MESSAGE Original Error: org.eclipse.jface.text.BadLocationException: null
!STACK 0
Original Error: org.eclipse.jface.text.BadLocationException: null
at com.ibm.sse.model.internal.text.BasicStructuredDocumentRegion.getText(Unknown Source)
at com.ibm.sse.model.xml.internal.document.TextImpl.getData(Unknown Source)
at com.ibm.sse.model.xml.internal.document.TextImpl.getData(Unknown Source)
at com.ibm.sse.model.xml.internal.document.TextImpl.isWhitespace(Unknown Source)
at com.ibm.sse.model.html.validate.HTMLDocumentContentValidator.validateContent(Unknown Source)
at com.ibm.sse.model.html.validate.HTMLDocumentContentValidator.validate(Unknown Source)
at com.ibm.sse.model.html.validate.CompositeValidator.validate(Unknown Source)
at com.ibm.sse.model.xml.internal.validate.AbstractPropagatingValidator.validate(Unknown Source)
at com.ibm.sse.model.html.validate.DocumentPropagatingValidator.validate(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validate(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validateFile(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validateDelta(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validate(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.validator.ReconcileStepForValidator.validate(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.StructuredReconcileStep.reconcile(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.validator.ValidatoxStrategy.reconcile(Unknown Source)
at com.ibm.sse.editor.StructuredTextReconciler.processPartial(Unknown Source)
at com.ibm.sse.editor.StructuredTextReconciler.runStrategies(Unknown Source)
at com.ibm.sse.editor.StructuredTextReconciler.process(Unknown Source)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204)
!ENTRY com.ibm.sse.editor 4 4 Dec 17, 2004 00:27:08.889
!MESSAGE Original Error: org.eclipse.jface.text.BadLocationException: null
!STACK 0
Original Error: org.eclipse.jface.text.BadLocationException: null
at com.ibm.sse.model.internal.text.BasicStructuredDocumentRegion.getText(Unknown Source)
at com.ibm.sse.model.xml.internal.document.TextImpl.getData(Unknown Source)
at com.ibm.sse.model.xml.internal.document.TextImpl.getData(Unknown Source)
at com.ibm.sse.model.xml.internal.document.TextImpl.isWhitespace(Unknown Source)
at com.ibm.sse.model.html.validate.HTMLDocumentContentValidator.validateContent(Unknown Source)
at com.ibm.sse.model.html.validate.HTMLDocumentContentValidator.validate(Unknown Source)
at com.ibm.sse.model.html.validate.CompositeValidator.validate(Unknown Source)
at com.ibm.sse.model.xml.internal.validate.AbstractPropagatingValidator.validate(Unknown Source)
at com.ibm.sse.model.html.validate.DocumentPropagatingValidator.validate(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validate(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validateFile(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validateDelta(Unknown Source)
at com.ibm.etools.validation.html.HTMLValidator.validate(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.validator.ReconcileStepForValidator.validate(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.StructuredReconcileStep.reconcile(Unknown Source)
at com.ibm.sse.editor.internal.reconcile.validator.ValidatorStrategy.reconcile(Unknown Source)
at com.ibm.sse.editor.StructuredTextReconciler.processPartial(Unknown Source)
at com.ibm.sse.editor.StructuredTextReconciler.runStrategies(Unknown Source)
at com.ibm.sse.editor.StructuredTextReconciler.process(Unknown Source)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:204)
!ENTRY com.ibm.sse.model 4 4 Dec 17, 2004 00:27:14.639
!MESSAGE null
!STACK 0
org.eclipse.jface.text.BadLocationException
at com.ibm.sse.model.internal.text.MinimalDocument.get(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocumentRegion.getText(Unknown Source)
at com.ibm.sse.model.jsp.parser.JSPReParser.isTaglibOrInclude(Unknown Source)
at com.ibm.sse.model.jsp.parser.JSPReParser.isBreakingChange(Unknown Source)
at com.ibm.sse.model.jsp.parser.JSPReParser.containsBreakingChange(Unknown Source)
at com.ibm.sse.model.jsp.parser.JSPReParser.quickCheck(Unknown Source)
at com.ibm.sse.model.internal.text.StructuredDocumentReParser.checkHeuristics(Unknown Source)
at com.ibm.sse.model.internal.text.StructuredDocumentReParser.reparse(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.updateModel(Unknown Aource)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source)
at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5601)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2536)
at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:4979)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5002)
at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1734)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1730)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3067)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:2970)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1473)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!ENTRY org.eclipse.ui 4 4 Dec 17, 2004 00:28:35.467
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Dec 17, 2004 00:28:35.483
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.jface.text.DefaultPositionUpdater.update(DefaultPositionUpdater.java:227)
at org.eclipse.jface.text.AbstractDocument.updatePositions(AbstractDocument.java:1028)
at org.eclipse.jface.text.AbstractDocument.updateDocumentStructures(AbstractDocument.java:616)
at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:704)
at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:998)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.updateParentDocument(Unknown Source)
at com.ibm.sse.model.jsp.parser.JSPReParser.reparse(Unknown Source)
at com.ibm.sse.model.internal.text.StructuredDocumentReParser.reparse(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.updateModel(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source)
at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5601)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2536)
at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:4979)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5002)
at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1734)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1730)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3067)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:2970)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1473)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!ENTRY org.eclipse.ui 4 0 Dec 17, 2004 00:28:35.483
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.jface.text.DefaultPositionUpdater.update(DefaultPositionUpdater.java:227)
at org.eclipse.jface.text.AbstractDocument.updatePositions(AbstractDocument.java:1028)
at org.eclipse.jface.text.AbstractDocument.updateDocumentStructures(AbstractDocument.java:616)
at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:704)
at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:998)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.updateParentDocument(Unknown Source)
at com.ibm.sse.model.jsp.parser.JSPReParser.reparse(Unknown Source)
at com.ibm.sse.model.internal.text.StructuredDocumentReParser.reparse(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.updateModel(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source)
at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5601)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2536)
at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:4979)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5002)
at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1734)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1730)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3067)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:2970)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1473)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!ENTRY org.eclipse.ui 4 4 Dec 17, 2004 00:35:51.452
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Dec 17, 2004 00:35:51.452
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at com.ibm.sse.model.html.text.rules.StructuredTextPartitionerForHTML.createPartition(Unknown Source)
at com.ibm.sse.model.jsp.text.rules.StructuredTextPartitionerForJSP.setInternalPartition(Unknown Source)
at com.ibm.sse.model.text.rules.StructuredTextPartitioner.internalGetPartition(Unknown Source)
at com.ibm.sse.model.text.rules.StructuredTextPartitioner.computePartitioning(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.computePartitioning(Unknown Source)
at org.eclipse.jface.text.TextUtilities.computePartitioning(TextUtilities.java:423)
at org.eclipse.jface.text.TextViewer.shift(TextViewer.java:3673)
at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3436)
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:757)
at com.ibm.sse.editor.StructuredTextViewer.doOperation(Unknown Source)
at org.eclipse.ui.texteditor.ShiftAction$1.run(ShiftAction.java:85)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.texteditor.ShiftAction.run(ShiftAction.java:83)
at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationCodeTrigger.verifyKey(AbstractTextEditor.java:604)
at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:403)
at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:55)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:613)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5000)
at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1734)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1730)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3067)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:2970)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1473)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclixseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!ENTRY org.eclipse.ui 4 4 Dec 17, 2004 00:35:53.436
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Dec 17, 2004 00:35:53.436
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at com.ibm.sse.model.html.text.rules.StructuredTextPartitionerForHTML.createPartition(Unknown Source)
at com.ibm.sse.model.jsp.text.rules.StructuredTextPartitionerForJSP.setInternalPartition(Unknown Source)
at com.ibm.sse.model.text.rules.StructuredTextPartitioner.internalGetPartition(Unknown Source)
at com.ibm.sse.model.text.rules.StructuredTextPartitioner.computePartitioning(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.computePartitioning(Unknown Source)
at org.eclipse.jface.text.TextUtilities.computePartitioning(TextUtilities.java:423)
at org.eclipse.jface.text.TextViewer.shift(TextViewer.java:3673)
at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3436)
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:757)
at com.ibm.sse.editor.StructuredTextViewer.doOperation(Unknown Source)
at org.eclipse.ui.texteditor.ShiftAction$1.run(ShiftAction.java:85)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.texteditor.ShiftAction.run(ShiftAction.java:83)
at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationCodeTrigger.verifyKey(AbstractTextEditor.java:604)
at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:403)
at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:55)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:613)
at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5000)
at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4747)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1734)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1730)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3067)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:2970)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1473)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!ENTRY org.eclipse.ui 4 4 Dec 17, 2004 00:35:57.998
!MESSAGE Unhandled event loop exception
December 17, 2004 at 2:31 pm #221445
Riyad KallaMemberarjan,
We take your comments very seriously and appreciate the detail you have provided. I have sent this in for some of the devs to look at.December 17, 2004 at 3:18 pm #221466
Scott AndersonParticipantArjan,
First, it would be peculiar to have problems in 3.8.3 in the JSP editor that were not in 3.8.2 as the changes between the two versions were extremely minor. From your description and the stack you provided “Original Error: org.eclipse.jface.text.BadLocationException: null ” it appears that the JSP you’re editing and having trouble with has broken the JSP document partiitioner. We do have a couple of other examples that users have provided of particular JSP’s breaking the partitioner and these are typically large, complex, JSP pages of varying types. Although you didn’t report it, I’d also assume that syntax highlighting becomes inconsistent or disappears after a certain location in the page. All the symptoms you’ve described are consistent with a partioner break, however you didn’t say how many files are exhibiting these issues? Typically it will be very few or one.
In the next release we’re going to concentrate on diagnosing and solving as many of these issues as possible, so any additional information or example code you can provide would certainly help.
December 21, 2004 at 6:41 am #221643
arjan.tijmsMemberThanks for the reply.
The above mentioned problems weren’t introduced with 3.8.3 really. They have been with us since the 3.8 series. I posted about various JSP editor problems earlier, but since the idea was that everything JSP related would be fixed with 3.8.3, I just stopped filing the bug reports before that release. Sorry for the confusion.
I’ll send in some example pages to your support adress. Hope it will help.
Kind regards
December 21, 2004 at 8:28 am #221653
Scott AndersonParticipantArjan,
I’ll send in some example pages to your support adress.
Examples that don’t work help us greatly. Thanks for the assistance.
December 31, 2004 at 3:32 pm #222044
lal_mohan_2004MemberRecently I upgraded MyEclipse to 3.8.3 hoping that this will solve the slow JSP editor issue but its not. I have to switch to different editor for JSP’s otherwise it is unusable. I have turned of JSP validation but it doesn’t help. I’m using Eclipse 3.0.1.
Is this a configuration issue or bug ?
I could not reach anybody in support to talk about this issue.
Thanks,
MohanDecember 31, 2004 at 5:14 pm #222048
Scott AndersonParticipantMohan,
Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum as well as precisely what you’re experiencing? Just saying something is “slow” without example times doesn’t help us characterize the issue so we can’t tell if this is a known problem, a new one, or a configuration issue.
January 3, 2005 at 6:58 am #222082
arjan.tijmsMemberScott,
Did you receive my example files yet? I send them to you a while back but haven’t gotten any confirmation yet.
If you have received them, do you already have some idea in what direction a possible solution to our problem lies?
Btw, before the 3.8.3 release, there were a lot of users posting about JSP editor problems. Above you say that very little was actually changed:
3.8.3 [,] 3.8.2 […] the changes between the two versions were extremely minor
However, right now I don’t see a lot of users posting about JSP bugs. One would say that if there were a lot of bugs that bothered a lot of people and very little was changed, there would still have to be a lot of users with JSP problems, right?
January 3, 2005 at 10:13 am #222091
Scott AndersonParticipantArjan,
Did you receive my example files yet? I send them to you a while back but haven’t gotten any confirmation yet.
Yes, we did. I normally send a reply email thanking the submitter but was apparently remiss in not doing that this time. Sorry to leave you hanging as we do appreciate the examples. I started with a clean install of 3.8.3, created a new Web project and dropped the files you sent into the web root. I noticed several validation errors for missing classes, which all were legitimate since you didn’t send your entire project. However, I didn’t see any of the issues you’re describing. Could you try the same test? Please use a new workspace and a new web project and just the four files you sent to test. Can you replicate any validation errors that are not correct? If so, can you please point them out specifically here and I’ll look to see if I can replicate them. I fear that the issue might be some sort of workspace or installation problem on your end, but we need to validate to be sure.
However, right now I don’t see a lot of users posting about JSP bugs. One would say that if there were a lot of bugs that bothered a lot of people and very little was changed, there would still have to be a lot of users with JSP problems, right?
Actually, there were a lot of users posting problems with 3.8.0 and that number has grown smaller and smaller with each subsequent release. However, there are still some known issues with partitioning a few very complex JSP page styles that we’re still working on that didn’t make it into 3.8.3.
January 3, 2005 at 10:38 am #222097
PatrynMemberLesser and lesser bugs…so so…plainly spoken: I have given up to send bugs concerning the jsp editor.
The jsp mode isnt usable sinde 3.8 for me and some other here in this company (with a bundle license) and thats just that.3.8.3 is _some_ better than 3.8.2, but there are a lot of annoyances, some described above, some in older postings.
In a few cases it is frustrating to send bugs and talk about the problem and you cannot reproduce in simplest cases. I also have not so much time in my every day work to send minimized example projects, and that one time i took this time that also produced only: “On my system that isnt so, so you have for sure wrong installed”.
Really: 3.8.3 has some nice features, e.g. deployment to externally lunched web containers, or it has less bug like this include stuff.
So nice work, but you really need to resolve the basic stuff, jsp…not this kitchen sink bugzilla stuff.
But thats only my opinion.—
AndreJanuary 3, 2005 at 11:07 am #222106
Scott AndersonParticipantAndre,
You’re correct that we still have some bugs in the JSP editor and like I said we’re actively working to close as many of them as we can with each new release. But, like you’ve observed there is more work to be done. In fact, I believe one of the still open bugs contains an example file that you provided earlier and we’re using that file to validate the fixes we’re working on right now.
So nice work, but you really need to resolve the basic stuff, jsp…not this kitchen sink bugzilla stuff.
Actually, doing one does not necessarily affect the other. You see, we have different developers with varying sets of skills on the team. To fix the JSP problems takes a completely different skillset than the Bugzilla stuff, so please don’t think we’re ignoring fixing problems. We are assigning out the work on a prioritized basis as the people with the skills become available to work on them. The JSP issues you mention are in the partitioner which basically can only be worked on by the most senior members of the team due to the complexities around language parsers. I realize that this isn’t proceeding at the speed you’d like but please be aware the it remains a very high priority item for us and we’re continuing to address these issues in each release.
January 4, 2005 at 3:28 am #222143
PatrynMemberThank you for the response,
its not only the create part problem, we also have this “shuffle input” stuff (much less than before, but may be because of deactivationg much), we have warnings where all is ok and have no warnings, where nothing is ok (also better than before) and so on.
I understand really good, that this plain feature “JSP” is indeed one of the most complex stuff. Our problem is: 1) there was a time, this feature worked. 2) there were given out _final_ versions, that where unbelieveable unworkable with…to the astnishment of: “is there any testing” 3) it is our main feature, this whole other stuff is only “nice to have” for us.
If the bugs would be resolved, it would be a really nice IDE! Very good ideas indeed.
Ah…one major annoyance…windows file looking of libs, is that an eclipse or myeclipse problem? Is there any solution. Its really annoying, i cannot update in cvs or remove files without closing myeclipse completely, do it externally and reopen.
—
AndréJanuary 4, 2005 at 4:23 pm #222193
Scott AndersonParticipantAh…one major annoyance…windows file looking of libs, is that an eclipse or myeclipse problem?
Actually, it appears the lib locking issue is Windows-specific since it does not occur on other platforms. Windows JVMs seem to lock any library they have loaded for a period of time. However, the locks do expire after a bit, at least in my experience.
January 19, 2005 at 3:15 am #223048
klaas.joostenMemberHello,
I’m just working in a .jsp file and has only tekst and a lot of <br> (200 lines) in it.
If I work in this files, after a wile I’m not able to copy and past any somtimes my PC is jamed.
Is very frustrating to work with.I hope it gets fixed soon. 🙂
greetings
Klaas
sorry for my english, I’m dyslectic.
January 19, 2005 at 7:48 am #223058
Riyad KallaMemberKlaas,
We are hoping these more problomatic issues with the JSP editor will be fixed in the 3.8.4 release. There was a lot of work done to fix the “Broken Syntax highlighting with complex files”, “Can’t edit in <Script> tags” and all keystroke/lockup issues. -
AuthorPosts
