#255 Unable to open .pl files after installing plug-in

open
nobody
Editor (234)
8
2006-07-24
2006-04-12
No

I'm new to EPIC. After installing today in Eclipse v3.
1 via the URI for downloading/updating, I get the
following error message when I attempt to open a simple
Perl script (a typical /print "Hello world!\n";/
script).

How can I get EPIC working? Am I missing some third-
party plug-in(s)? I saw no indication of this in the
FAQ. Thanks in advance.

Here's the error I received:

java.lang.IllegalArgumentException
at org.eclipse.ui.part.FileEditorInput.
<init>(FileEditorInput.java:43)
at org.epic.core.util.FileUtilities.
getFileEditorInput(FileUtilities.java:77)
at org.epic.perleditor.editors.PerlEditor.
doSetInput(PerlEditor.java:281)
at org.eclipse.ui.texteditor.
AbstractTextEditor$16.run(AbstractTextEditor.java:2360)
at org.eclipse.jface.operation.ModalContext.
runInCurrentThread(ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.
run(ModalContext.java:291)
at org.eclipse.jface.window.ApplicationWindow$1.
run(ApplicationWindow.java:624)
at org.eclipse.swt.custom.BusyIndicator.
showWhile(BusyIndicator.java:69)
at org.eclipse.jface.window.ApplicationWindow.
run(ApplicationWindow.java:621)
at org.eclipse.ui.internal.WorkbenchWindow.
run(WorkbenchWindow.java:2134)
at org.eclipse.ui.texteditor.AbstractTextEditor.
internalInit(AbstractTextEditor.java:2378)
at org.eclipse.ui.texteditor.AbstractTextEditor.
init(AbstractTextEditor.java:2405)
at org.eclipse.ui.internal.EditorManager.
createSite(EditorManager.java:778)
at org.eclipse.ui.internal.EditorReference.
createPartHelper(EditorReference.java:596)
at org.eclipse.ui.internal.EditorReference.
createPart(EditorReference.java:384)
at org.eclipse.ui.internal.
WorkbenchPartReference.getPart(WorkbenchPartReference.
java:552)
at org.eclipse.ui.internal.PartPane.
setVisible(PartPane.java:283)
at org.eclipse.ui.internal.presentations.
PresentablePart.setVisible(PresentablePart.java:126)
at org.eclipse.ui.internal.presentations.util.
PresentablePartFolder.select(PresentablePartFolder.
java:268)
at org.eclipse.ui.internal.presentations.util.
LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.
TabbedStackPresentation.
selectPart(TabbedStackPresentation.java:391)
at org.eclipse.ui.internal.PartStack.
refreshPresentationSelection(PartStack.java:1102)
at org.eclipse.ui.internal.PartStack.
setSelection(PartStack.java:1051)
at org.eclipse.ui.internal.PartStack.
showPart(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.
add(PartStack.java:442)
at org.eclipse.ui.internal.EditorStack.
add(EditorStack.java:109)
at org.eclipse.ui.internal.EditorSashContainer.
addEditor(EditorSashContainer.java:60)
at org.eclipse.ui.internal.EditorAreaHelper.
addToLayout(EditorAreaHelper.java:212)
at org.eclipse.ui.internal.EditorAreaHelper.
addEditor(EditorAreaHelper.java:202)
at org.eclipse.ui.internal.EditorManager.
createEditorTab(EditorManager.java:758)
at org.eclipse.ui.internal.EditorManager.
openEditorFromDescriptor(EditorManager.java:665)
at org.eclipse.ui.internal.EditorManager.
openEditor(EditorManager.java:628)
at org.eclipse.ui.internal.WorkbenchPage.
busyOpenEditorBatched(WorkbenchPage.java:2360)
at org.eclipse.ui.internal.WorkbenchPage.
busyOpenEditor(WorkbenchPage.java:2295)
at org.eclipse.ui.internal.WorkbenchPage.
access$9(WorkbenchPage.java:2287)
at org.eclipse.ui.internal.WorkbenchPage$9.
run(WorkbenchPage.java:2273)
at org.eclipse.swt.custom.BusyIndicator.
showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.
openEditor(WorkbenchPage.java:2268)
at org.eclipse.ui.internal.WorkbenchPage.
openEditor(WorkbenchPage.java:2241)
at org.eclipse.ui.internal.editors.text.
OpenExternalFileAction.run(OpenExternalFileAction.java:
129)
at org.eclipse.ui.internal.editors.text.
OpenExternalFileAction.run(OpenExternalFileAction.java:
98)
at org.eclipse.ui.internal.PluginAction.
runWithEvent(PluginAction.java:246)
at org.eclipse.ui.internal.WWinPluginAction.
runWithEvent(WWinPluginAction.java:223)
at org.eclipse.jface.action.
ActionContributionItem.
handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.
ActionContributionItem.access$2(ActionContributionItem.
java:488)
at org.eclipse.jface.action.
ActionContributionItem$5.
handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.
sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.
sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.
runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.
readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.
runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.
runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.
createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.
createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.
run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.
PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.
EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.
EclipseStarter.run(EclipseStarter.java:163)
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:334)
at org.eclipse.core.launcher.Main.basicRun(Main.
java:278)
at org.eclipse.core.launcher.Main.run(Main.java:
973)
at org.eclipse.core.launcher.Main.main(Main.java:
948)

Discussion

<< < 1 2 (Page 2 of 2)
  • Jan Ploski

    Jan Ploski - 2006-07-25

    Logged In: YES
    user_id=86907

    I will look into the opening external files problem when I
    get access to Windows XP in a week or so.

    I disagree with your lock-in remarks. If you like, we can
    talk about it in the Open Discussion forum.

     
  • Jan Ploski

    Jan Ploski - 2006-07-25

    Logged In: YES
    user_id=86907

    I will look into the opening external files problem when I
    get access to Windows XP in a week or so.

    I disagree with your lock-in remarks. If you like, we can
    talk about it in the Open Discussion forum.

     
  • Jan Ploski

    Jan Ploski - 2006-07-29

    Logged In: YES
    user_id=86907

    I just tested opening files on Windows XP, Eclipse 3.2,
    epic-devel, and I still cannot reproduce your problem. One
    more question: when you attempt to open such an external
    file, is a project named 'epic_links' created in your
    workspace (it should)? If so, you might try deleting this
    project to see if it helps.

     
  • Jan Ploski

    Jan Ploski - 2006-07-29

    Logged In: YES
    user_id=86907

    I can only reproduce the problem when attempting to open a
    file which is contained directly in the workspace folder
    (where no files should be lying around - the workspace
    folder is only supposed to contain projects). Opening files
    works correctly for me both with files outside of the
    workspace folder and with files contained in projects
    within the workspace folder.

    If it does not work for you for files outside of the
    workspace folder, please attempt to open such a file and
    send me the resulting .metadata/.log from your workspace.
    The log file which you have already provided highlights the
    problem with opening a file contained directly in the
    workspace folder, but does not give me a clue about what is
    happening when you open files external to the workspace.

     
  • doughnutty

    doughnutty - 2006-09-18

    Logged In: YES
    user_id=1600519

    I have a very similar problem. See below:

    ----------

    I want to use perl and I decided I might as well learn to
    use Eclipse at the same time.

    I installed the Java SDK from Sun - j2sdk1.4.2_12
    I installed Active Perl - perl 5.8.8
    I installed Eclipse - 3.2 for Windows
    I installed EPIC plugins from the Epic site and these four
    "modules" were installed - org.epic.debug_0.1.0;
    org.epic.ext.cbg.editor_0.3.0;
    org.epic.perleditor_0.1.1; org.epic.regexp_0.1.1
    The epic site suggested that Active Perl had a problem with
    padwalker and suggested that I download their version and so
    I did that.

    Instructions followed were - (Installation: Unzip the
    Padwalker_010_Perl5_8_x.zip file into your Perl
    installation folder (e.g. c:\Perl).)

    I needed some extra Perl modules so I used the perl package
    manager to download those into the C:\Perl\Site directory as
    well (I checked and these did not overwrite the Padwalker
    modules).

    I started Eclipse and it seemed to run okay. Did some
    tutorial edits and they worked fine on text files.

    Needed file associations for the Perl files and so I did
    that (according to documentation provided at the Epic web site).

    Created a couple of Perl files (*.pl) and this worked fine.
    Saved and closed a file then went to re-open it and got
    this error message.

    "Unable to create this part due to an internal error. Reason
    for the failure: Argument not valid"

    Tried looking for a solution within Eclipse - No luck
    Googled on the error message and found references to Ruby &
    PHP with very similar circumstances. Suggesting that this
    might be a generic (i.e. non-java) issue as opposed to a
    Perl only issue.

    Also found a reference to Bug 94252 on the Eclipse web site
    and while the message is the same the circumstances seem a
    little different. This bug relates to TinyOS with Eclipse.

    I reproduced the bug many times on my system and captured a
    full error path and a bunch of messages. Some of these are
    screen captures in an .RTF file but that is 10 megs long and
    so I have reproduced those as straight text below.

    I have searched for two days now and can't find a solution.

    Associated error messages follow:

    Event details
    Date: 2006-09-18 21:46:43.67
    Severity: Warning
    Message: Cannot bind to an undefined command:
    plug-in='org.epic.perleditor',
    id='org.epic.eclipse.perleditor.comment'
    Exception Stack Trace: An exception stack trace is not
    available.
    Session Data: eclipse.buildId=M20060629-1905

    --------------------------------

    Event details
    Date: 2006-09-18 21:46:43.67
    Severity: Warning
    Message: Warnings while parsing the key bindings from the
    ‘org.eclipse.ui.commands’ extension point
    Exception Stack Trace: An exception stack trace is not
    available.
    Session Data: eclipse.buildId=M20060629-1905

    -------------------------------------

    Event details
    Date: 2006-09-18 21:46:53.78
    Severity: Error
    Message: Unable to create editor ID
    org.epic.perleditor.editors.PerlEditor: Argument not valid
    Exception Stack Trace:
    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:7697)
    at
    org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:7791)
    at
    org.eclipse.jface.text.TextViewer.applyTextPresentation(TextViewer.java:4235)
    at
    org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4287)
    at
    org.eclipse.jface.text.presentation.PresentationReconciler.applyTextRegionCollection(PresentationReconciler.java:573)
    at
    org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:562)
    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.SourceViewer.setDocument(SourceViewer.java:453)
    at
    org.epic.perleditor.editors.PerlEditor.createActions(PerlEditor.java:173)
    at
    org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2682)
    at
    org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
    at
    org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:367)
    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:2588)
    at
    org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
    at
    org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
    at
    org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
    at
    org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
    at
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2478)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
    at
    org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
    at
    org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
    at
    org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:125)
    at
    org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:328)
    at
    org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:679)
    at
    org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:434)
    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:928)
    at
    org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    at
    org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    at
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    at
    org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at
    org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    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)

    Session Data: eclipse.buildId=M20060629-1905

    ----------------------------------------------

    Message from the Eclipse Editor screen follows (essentially
    the same as prior message)

    Unable to create this part due to an internal error. Reason
    for the failure: Argument not valid
    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:7697)
    at
    org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:7791)
    at
    org.eclipse.jface.text.TextViewer.applyTextPresentation(TextViewer.java:4235)
    at
    org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4287)
    at
    org.eclipse.jface.text.presentation.PresentationReconciler.applyTextRegionCollection(PresentationReconciler.java:573)
    at
    org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:562)
    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.SourceViewer.setDocument(SourceViewer.java:453)
    at
    org.epic.perleditor.editors.PerlEditor.createActions(PerlEditor.java:173)
    at
    org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2682)
    at
    org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
    at
    org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:367)
    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:2588)
    at
    org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
    at
    org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
    at
    org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
    at
    org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
    at
    org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2478)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
    at
    org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
    at
    org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
    at
    org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:125)
    at
    org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:328)
    at
    org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:679)
    at
    org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:434)
    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:928)
    at
    org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    at
    org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    at
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    at
    org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at
    org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    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)

    --------------------

    *.cgi; *.epl; *.ipl; *.pl & *.pm are all associated with -
    Epic Perl Editor (pictures of camels in appropriate places).

    Can you help?

    Regards Doug

     
  • doughnutty

    doughnutty - 2006-09-18

    Logged In: YES
    user_id=1600519

    Just to be really clear about the circumstances:

    1) It is possible to create a new *.pl file and edit it
    within this session.

    2) It is impossible to open an existing *.pl file no matter
    where it is located, inside the workspace or outside. This
    does NOT depend on how the file is opened as I tried double
    click, file open, import and every other option to open a
    file with the Perl editor and none worked.

    3) Eclipse -clean has been run a number of times with no
    real change.

    Regards Doug

    Regards Doug

     
  • doughnutty

    doughnutty - 2006-09-18

    Logged In: YES
    user_id=1600519

    The launch name "Perl Local" does not exist on my system.

    Regards Doug

     
  • doughnutty

    doughnutty - 2006-09-18

    Logged In: YES
    user_id=1600519

    Woooohoooooo!

    I have found at least part of the problem!

    Originally when I pointed the Eclipse updater at the EPIC
    site I used your suggested url ~/updates but this sat there
    for over an hour saying it was searching and so I canned the
    session and next time I linked to ~/updates-0.2.0 and this
    worked fine.

    It was a bit late (my excuse) and so I didn't read the
    pointer page very well and I thought that you guys had made
    a mistake in where you were pointing people and I thought I
    had the latest version of EPIC (obviously not).

    Somewhere along the way I found an error message that
    suggested that Eclipse needed the Apache Xerces module and
    so I downloaded that and things sort of worked.

    This brings us up to the point where I commented earlier.

    Having now revisted your site and re-read the download
    instructions I realised what the problem might be. I went
    back into Eclipse and did a Help/Update and re-pointed it to
    the ~/updates directory. This time it still took some time
    to search (about 10-15 minutes) but I was busy dealing with
    e-mail and so when I came back I found that this time it had
    worked using this link.

    Re-started Eclipse and the editor now works for Perl files.

    There are still a couple of things not right but I will go
    back to your documentation PDF and go back through the
    configuration sequence and see if that fixes everything else.

    More later ......

    Regards Doug

     
  • Randolf C. Richardson

    Logged In: YES
    user_id=621016

    Thanks for all your help folks. I am still keen to do move
    all my Perl development over to E-P-I-C in Eclipse, and
    eagerly anticipate any additional suggestions; my hope is
    to have a simple single-file download-and-install procedure
    that doesn't require me to kludge my configuration by
    jumping through a bunch of "temporary fix" hoops to get
    there (and I'm willing to wait for that).

    The things you've discovered so far give me a lot of hope
    for a solution revealing itself soon.

     
<< < 1 2 (Page 2 of 2)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks