#246 Editor crashes in eclipse3.2 on windows using cygwin

v0.3.11
closed-duplicate
nobody
Editor (234)
5
2006-08-05
2006-02-16
No

In eclipse 3.2.0 build I20051215-1506
with EPIC 0.3.12 on windows XP using cygwin
I get the following error when I open an existing
perl script:

java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.SWT.error(SWT.java:3267)
at org.eclipse.swt.SWT.error(SWT.java:3206)
at org.eclipse.swt.SWT.error(SWT.java:3177)
at
org.eclipse.swt.custom.StyledText.setStyleRanges
(StyledText.java:7703)
at
org.eclipse.swt.custom.StyledText.setStyleRanges
(StyledText.java:7798)
at
org.eclipse.jface.text.TextViewer.applyTextPresentatio
n(TextViewer.java:4235)
at
org.eclipse.jface.text.TextViewer.changeTextPresentati
on(TextViewer.java:4287)
at
org.eclipse.jface.text.presentation.PresentationReconc
iler.applyTextRegionCollection
(PresentationReconciler.java:573)
at
org.eclipse.jface.text.presentation.PresentationReconc
iler.processDamage(PresentationReconciler.java:562)
at
org.eclipse.jface.text.presentation.PresentationReconc
iler.access$3(PresentationReconciler.java:558)
at
org.eclipse.jface.text.presentation.PresentationReconc
iler$InternalListener.inputDocumentChanged
(PresentationReconciler.java:118)
at
org.eclipse.jface.text.TextViewer.fireInputDocumentCha
nged(TextViewer.java:2440)
at
org.eclipse.jface.text.TextViewer.setDocument
(TextViewer.java:2489)
at
org.eclipse.jface.text.source.SourceViewer.setDocument
(SourceViewer.java:502)
at
org.eclipse.jface.text.source.projection.ProjectionVie
wer.setDocument(ProjectionViewer.java:370)
at
org.eclipse.jface.text.source.SourceViewer.setDocument
(SourceViewer.java:434)
at
org.epic.perleditor.editors.PerlEditor.createActions
(PerlEditor.java:128)
at
org.eclipse.ui.texteditor.AbstractTextEditor.createPar
tControl(AbstractTextEditor.java:2661)
at
org.eclipse.ui.texteditor.StatusTextEditor.createPartC
ontrol(StatusTextEditor.java:53)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.
createPartControl
(AbstractDecoratedTextEditor.java:341)
at
org.epic.perleditor.editors.PerlEditor.createPartContr
ol(PerlEditor.java:605)
at
org.eclipse.ui.internal.EditorReference.createPartHelp
er(EditorReference.java:598)
at
org.eclipse.ui.internal.EditorReference.createPart
(EditorReference.java:374)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart
(WorkbenchPartReference.java:552)
at
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEdi
tor(EditorAreaHelper.java:260)
at
org.eclipse.ui.internal.EditorManager.setVisibleEditor
(EditorManager.java:1222)
at org.eclipse.ui.internal.EditorManager$5.run
(EditorManager.java:941)
at org.eclipse.core.runtime.SafeRunner.run
(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run
(Platform.java:785)
at
org.eclipse.ui.internal.EditorManager.restoreState
(EditorManager.java:936)
at
org.eclipse.ui.internal.WorkbenchPage.restoreState
(WorkbenchPage.java:2624)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState
(WorkbenchWindow.java:1852)
at
org.eclipse.ui.internal.Workbench.doRestoreState
(Workbench.java:2643)
at org.eclipse.ui.internal.Workbench.access$14
(Workbench.java:2592)
at org.eclipse.ui.internal.Workbench$17.run
(Workbench.java:1541)
at
org.eclipse.ui.internal.Workbench.runStartupWithProgre
ss(Workbench.java:1293)
at
org.eclipse.ui.internal.Workbench.restoreState
(Workbench.java:1539)
at org.eclipse.ui.internal.Workbench.access$12
(Workbench.java:1518)
at org.eclipse.ui.internal.Workbench$15.run
(Workbench.java:1401)
at org.eclipse.core.runtime.SafeRunner.run
(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run
(Platform.java:785)
at
org.eclipse.ui.internal.Workbench.restoreState
(Workbench.java:1345)
at
org.eclipse.ui.internal.WorkbenchConfigurer.restoreSta
te(WorkbenchConfigurer.java:183)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindow
s(WorkbenchAdvisor.java:700)
at org.eclipse.ui.internal.Workbench.init
(Workbench.java:1073)
at org.eclipse.ui.internal.Workbench.runUI
(Workbench.java:1695)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbenc
h(Workbench.java:397)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:143)
at
org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:106)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.
run(PlatformActivator.java:109)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLa
uncher.runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLa
uncher.start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:379)
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:338)
at org.eclipse.core.launcher.Main.basicRun
(Main.java:282)
at org.eclipse.core.launcher.Main.run
(Main.java:977)
at org.eclipse.core.launcher.Main.main
(Main.java:952)

Discussion

  • Dave Evans

    Dave Evans - 2006-05-10

    Logged In: YES
    user_id=623469

    Very similar stack trace for me on an Intel Mac running Eclipse 3.2RC3 and
    Epic 0.3.0 as well as Epic 0.3.12

    !ENTRY org.eclipse.ui 4 0 2006-05-10 11:19:17.346
    !MESSAGE Unable to create editor ID org.epic.perleditor.editors.PerlEditor:
    Argument not valid
    !STACK 0
    java.lang.IllegalArgumentException: Argument not valid
    at org.eclipse.swt.SWT.error(SWT.java:3358)
    at org.eclipse.swt.SWT.error(SWT.java:3297)
    at org.eclipse.swt.SWT.error(SWT.java:3268)
    at org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:
    7696)
    at org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:
    7790)
    then the same trace after that pretty much...

     
  • Sterling Hanenkamp

    Logged In: YES
    user_id=113624

    I got the same error under Linux using MyEclipse 5 M1 (which
    is a commercial distribution of Eclipse 3.2).

    My stack trace looks exactly the same as reported by
    owlmonkey for 0.3.12. I had the same problem with 0.3.10.

     
  • Jan Ploski

    Jan Ploski - 2006-08-05

    Logged In: YES
    user_id=86907

    Closing as duplicate of:

    https://sourceforge.net/tracker/index.php?
    func=detail&aid=1408436&group_id=75859&atid=545274

    Fixed as of 0.4.0.

     
  • Jan Ploski

    Jan Ploski - 2006-08-05
    • status: open --> closed-duplicate
     

Log in to post a comment.