Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#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 3 4 > >> (Page 3 of 4)
  • Logged In: YES
    user_id=621016

    I tried all your suggestions, and I always receive the
    error. The user I'm logged in with is an Administrator.
    I
    have this same problem on other computers also running
    Windows XP.

    The .metadata/.log file included below is from a fresh
    workspace created under C:\workspace\ (Eclipse created
    it),
    and triggered by an attempt to load a .pl file that I
    copied into C:\workspace\ from the command line outside of
    Eclipse...

    !SESSION 2006-07-23 23:45:19.078 --------------------------
    -
    --------------------
    eclipse.buildId=M20060629-1905
    java.version=1.5.0_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32,
    NL=en_CA
    Command-line arguments: -os win32 -ws win32 -arch x86 -
    data c:\workspace

    !ENTRY org.eclipse.core.resources 4 77 2006-07-23
    23:45:37.281
    !MESSAGE C:\workspace is not a valid location for linked
    resources.

    !ENTRY org.eclipse.ui 4 0 2006-07-23 23:45:37.703
    !MESSAGE Unable to create editor ID
    org.epic.perleditor.editors.PerlEditor: An unexpected
    exception was thrown.
    !STACK 0
    java.lang.NullPointerException
    at
    org.eclipse.ui.texteditor.AddMarkerAction.getResource(AddMarkerAction.java:323)
    at
    org.eclipse.ui.texteditor.AddMarkerAction.update(AddMarkerAction.java:146)
    at
    org.eclipse.ui.texteditor.TextEditorAction.<init>(TextEditorAction.java:49)
    at
    org.eclipse.ui.texteditor.AddMarkerAction.<init>(AddMarkerAction.java:88)
    at
    org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createActions(AbstractDecoratedTextEditor.java:1343)
    at
    org.eclipse.ui.editors.text.TextEditor.createActions(TextEditor.java:131)
    at
    org.epic.perleditor.editors.PerlEditor.createActions(PerlEditor.java:431)
    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.epic.perleditor.editors.PerlEditor.createPartControl(PerlEditor.java:83)
    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.PartPane.setVisible(PartPane.java:290)
    at
    org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
    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:394)
    at
    org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)
    at
    org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
    at
    org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
    at
    org.eclipse.ui.internal.PartStack.add(PartStack.java:455)
    at
    org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102)
    at
    org.eclipse.ui.internal.PartStack.add(PartStack.java:441)
    at
    org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111)
    at
    org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
    at
    org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
    at
    org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
    at
    org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:819)
    at
    org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:718)
    at
    org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:679)
    at
    org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2586)
    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:2470)
    at
    org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:132)
    at
    org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:100)
    at
    org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
    at
    org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
    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: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)

     
  • Logged In: YES
    user_id=621016

    I tried all your suggestions, and I always receive the
    error. The user I'm logged in with is an Administrator.
    I
    have this same problem on other computers also running
    Windows XP.

    The .metadata/.log file included below is from a fresh
    workspace created under C:\workspace\ (Eclipse created
    it),
    and triggered by an attempt to load a .pl file that I
    copied into C:\workspace\ from the command line outside of
    Eclipse...

    !SESSION 2006-07-23 23:45:19.078 --------------------------
    -
    --------------------
    eclipse.buildId=M20060629-1905
    java.version=1.5.0_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32,
    NL=en_CA
    Command-line arguments: -os win32 -ws win32 -arch x86 -
    data c:\workspace

    !ENTRY org.eclipse.core.resources 4 77 2006-07-23
    23:45:37.281
    !MESSAGE C:\workspace is not a valid location for linked
    resources.

    !ENTRY org.eclipse.ui 4 0 2006-07-23 23:45:37.703
    !MESSAGE Unable to create editor ID
    org.epic.perleditor.editors.PerlEditor: An unexpected
    exception was thrown.
    !STACK 0
    java.lang.NullPointerException
    at
    org.eclipse.ui.texteditor.AddMarkerAction.getResource(AddMarkerAction.java:323)
    at
    org.eclipse.ui.texteditor.AddMarkerAction.update(AddMarkerAction.java:146)
    at
    org.eclipse.ui.texteditor.TextEditorAction.<init>(TextEditorAction.java:49)
    at
    org.eclipse.ui.texteditor.AddMarkerAction.<init>(AddMarkerAction.java:88)
    at
    org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createActions(AbstractDecoratedTextEditor.java:1343)
    at
    org.eclipse.ui.editors.text.TextEditor.createActions(TextEditor.java:131)
    at
    org.epic.perleditor.editors.PerlEditor.createActions(PerlEditor.java:431)
    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.epic.perleditor.editors.PerlEditor.createPartControl(PerlEditor.java:83)
    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.PartPane.setVisible(PartPane.java:290)
    at
    org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140)
    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:394)
    at
    org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144)
    at
    org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
    at
    org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
    at
    org.eclipse.ui.internal.PartStack.add(PartStack.java:455)
    at
    org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102)
    at
    org.eclipse.ui.internal.PartStack.add(PartStack.java:441)
    at
    org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111)
    at
    org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
    at
    org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
    at
    org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
    at
    org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:819)
    at
    org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:718)
    at
    org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:679)
    at
    org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2586)
    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:2470)
    at
    org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:132)
    at
    org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:100)
    at
    org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
    at
    org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at
    org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
    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: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)

     
  • Logged In: YES
    user_id=621016

    (Sorry for the delay in posting my response -- I've been
    trying since yesterday and SourceForge.Net was giving me
    web server errors, followed by SSL certificate mismatches;
    it seems to be okay now though).

     
  • Jan Ploski
    Jan Ploski
    2006-07-25

    Logged In: YES
    user_id=86907

    Can you please also send a .log file for a scenario in
    which you create a new Perl project and create a new Perl
    file within this project in Eclipse? I suspect that there
    may be different problems depending on whether the file
    resides in a project or not.

    You may be also interested in reading up about the
    workspace concept in Eclipse's online help.

     
  • Logged In: YES
    user_id=621016

    Yes! When I create a new Perl project, and create a new
    Perl file, everything works correctly. I can even run my
    script, and the expected console output appears in the
    window below.

    The problem only comes back if I attempt to open a .pl file
    that isn't part of the project. =(

    I don't have this problem with Java source -- Eclipse can
    open any .java file from anywhere, regardless of the active
    project/workspace. If I can do the same with Perl files,
    then I'll be able to move away from my current editor that
    only works on the Win32 or OS/2 platforms.

    (I'm going to read about workspaces in Eclipse' online
    help. Thanks for the tip!)

    After being locked into Windows-based solutions, the last
    thing I want is to get locked into something different. I
    have hundreds of Perl projects where I need to only edit a
    few files at a time (and I already have a way of tracking
    changes and version numbers that involves keeping older
    copies of the source code in sub-directories that are
    burried far away from the production Perl files), so
    setting up a workspace for each one would be a lot of work
    now and will create major file management challenges for me
    down the road.

    In short, I really want to use Eclipse with E-P-I-C to
    simply open /\.p[lm]$/ files as needed without the overhead
    of setting up projects and workspaces so that I can
    continue to work efficiently from any OS of my choosing. I
    hope that it will be possible to do this in the near
    future, and I'm certain that others who have given up on E-
    P-I-C because they can't simply open a Perl script will
    probably give it another try (which I anticipate could very
    well result in a much larger user base in the future).

    Thanks in advance.

     
  • 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

     
<< < 1 2 3 4 > >> (Page 3 of 4)