#112 Running under Eclipse 3.1M4/JRE1.5

closed-works-for-me
nobody
Editor (234)
5
2005-01-14
2004-12-29
Peter L Jones
No

I'm trying to run EPIC under Eclipse 3.1M4 and JRE1.5.

I get the following on attempting to open the editor:
> Problems Opening Editor
> (X) Cannot open default editor on test.pl. Unable to
instantiate editor:
> org.epic.perleditor.editors.PerlEditor
java.lang.NoClassDefFoundError:
> cbg/editor/ColoringSourceViewerConfiguration

Also, in Window->Preferences->Perl EPIC, the Editor
subentry will not display, nor will the Templates entry.

My Perl version is from
ActivePerl-5.8.6.811-MSWin32-x86-122208.msi

I updated EPIC using
http://e-p-i-c.sf.net/updates/testing and appear to
have org.epic.{...}:
> ext.cbg.editor 0.3.0
> perleditor 0.1.9
> regexp 0.1.2
> debug 0.2.4

There are also .jars for debug 0.2.0 and perleditor
0.1.2 in eclipse/plugins.

Any ideas on which bit is causing the problem would be
appreciated! :-)

Discussion

  • Peter L Jones
    Peter L Jones
    2004-12-29

    Eclipse error log

     
    Attachments
  • LeO
    LeO
    2005-01-05

    Logged In: YES
    user_id=703323

    Q: Do you have complete downloaded?

    Seems like you are missing the
    ColoringSourceViewerConfiguration-class. I do not guess it's a
    particular issue for M4 resp. 1.5. I hardly remember, but I
    guess it was already an issue either here or in the Help-forum.
    Try a search.

     
  • Peter L Jones
    Peter L Jones
    2005-01-06

    Logged In: YES
    user_id=6366

    Searching on ColoringSourceViewerConfiguration here reveals
    only this bug. In the Help forum it reveals only the
    message to which I replied, pointing to this bug.

    It does appears to be an issue for new-comers to EPIC - i.e.
    it looks like perhaps the current release provided here
    isn't complete. Can you point to something specific I
    should have downloaded/installed beyond the latest release
    pointed to by SourceForge?

     
  • Peter L Jones
    Peter L Jones
    2005-01-06

    Logged In: YES
    user_id=6366

    Not mentioned above, this is with the "released" version:
    org.epic.updatesite_0.3.0_20040711.zip -- I've not tried 0.3.8.

     
  • Peter L Jones
    Peter L Jones
    2005-01-06

    Logged In: YES
    user_id=6366

    (Sorry for the disjointed messages...) The
    org.epic.updatesite_0.3.0_20040711.zip contains:
    org.epic.updatesite\.project
    org.epic.updatesite\.sitebuild
    org.epic.updatesite\features
    org.epic.updatesite\plugins
    org.epic.updatesite\site.xml
    org.epic.updatesite\.sitebuild\build.log
    org.epic.updatesite\.sitebuild\CVS
    org.epic.updatesite\.sitebuild\sitebuild.xml
    org.epic.updatesite\.sitebuild\CVS\Entries
    org.epic.updatesite\.sitebuild\CVS\Repository
    org.epic.updatesite\.sitebuild\CVS\Root
    org.epic.updatesite\features\.cvsignore
    org.epic.updatesite\features\org.epic.feature.main_0.3.0.jar
    org.epic.updatesite\plugins\.cvsignore
    org.epic.updatesite\plugins\org.epic.debug_0.2.0.jar
    org.epic.updatesite\plugins\org.epic.ext.cbg.editor_0.3.0.jar
    org.epic.updatesite\plugins\org.epic.perleditor_0.1.2.jar
    org.epic.updatesite\plugins\org.epic.regexp_0.1.2.jar

    The content is appropriately located under Eclipse\plugins
    and Eclipse\features.

     
  • Peter L Jones
    Peter L Jones
    2005-01-14

    Logged In: YES
    user_id=6366

    Okay, I finally got around to uninstalling, cleaning
    everything up and installing via Eclipse Update. EPIC 0.3.8
    is now running okay on Eclipse 3.1M4.

    Propose this gets closed (WFM!).

     
  • Peter L Jones
    Peter L Jones
    2005-01-14

    • status: open --> open-works-for-me
     
  • LeO
    LeO
    2005-01-14

    • status: open-works-for-me --> closed-works-for-me
     
  • LeO
    LeO
    2005-01-14

    Logged In: YES
    user_id=703323

    So, is there anything like 'magic' trick you did, or just
    make new clean version of EPIC and then start again? Would
    be good to know, if next time somebody else runs in the same
    problem.

    I'll close it.

     
  • Peter L Jones
    Peter L Jones
    2005-01-14

    Logged In: YES
    user_id=6366

    I had both 0.3.0 and 0.3.8 installed by the look of my
    Eclipse plugins directory. I cleared both, cleared
    everything under eclipse/configuration/ (except config.ini
    and .settings), installed 0.3.8 afresh, then started Eclipse
    with -clean.

    I'd put my money on it being a conflict between the two
    versions... I'm not sure when 0.3.8 actually got there, I
    have to say; maybe I managed an auto-update from the update
    site without noticing it pulling 0.3.8 down?

     
  • Logged In: NO

    I had the same problem. When opening a .pl file, I get the message
    "could not instantiate editor", and java.lang.NoClassDefFoundError:
    cbg/editor/ColoringSourceViewerConfiguration

    I tried a manual install of the plugin, and using the Help/Software
    Updates.

    When I try and open Window Menu -> Preferences -> EPIC -> editor, I
    get "An error has occurred. See error log for details."

     
  • Logged In: NO

    Additional note: At the same time, I added EMF/SDO/XSD. I expected the
    usual prompt to retart Ecplise. After restart, I kept getting the "there are
    updates" prompt. I clicked yes, and it would re-download three or four
    "updates". Click "Install" the unsigned software. Restart. Prompt: "there
    are updates"....

    I see no other entries on this site for ColoringSourceViewerConfiguration.
    It appears to me that EPIC has an undocumented (or unsupported)
    dependency on a class called "ColoringSourceViewerConfiguration". There
    is no indication where to download the package containing
    ColoringSourceViewerConfiguration.

     
  • Peter L Jones
    Peter L Jones
    2005-01-30

    Logged In: YES
    user_id=6366

    Can I ask whether my solution (uninstall, clean up, clear
    down, restart, re-install 0.3.8) has been tried and failed?
    (I also updated to the EMF/SDO/XSD package.)

     
  • Logged In: NO

    pljones,
    I haven't tried your solution yet. I only had one version of the plug-in
    installed. I may have to do that, but I was hoping to find that it was a
    path problem. It seems so basic: full install, class missing. I've been
    continuing to use Eclipse for Java development, and vi for perl. I'm
    enduring it until I after deliver some code.
    Thanks,
    --Monte

     
  • Logged In: NO

    pljones,
    I made another run at the EPIC install, this time successfully.
    Nutshell version:
    Removed all eclipse/configuration except config.ini
    Removed all *epic* files in plugins dir
    Disabled 0.3.0 in Help->Software updates-> Manage Configurations
    Downloaded & installed 0.3.10, restarted Eclipse
    Opened helloworld.pl, and saw no errors!

    The verbose ordeal-blog version:

    cd /Applications/eclipse/plugins
    ls *epic*
    org.epic.debug_0.2.0.jar org.epic.feature.main_0.3.0.jar
    org.epic.regexp_0.1.2.jar
    org.epic.ext.cbg.editor_0.3.0.jar org.epic.perleditor_0.1.2.jar

    mv *epic* ~/BKP/eclipsePlugins/
    ls -1 | grep -i epic

    eclipse -clean -vmargs -Xmx256m
    "Eclipse stores your projects in a directory called a workspace. Select
    the workspace directory to use for this session. [eclipse logo spash is up,
    preventing any user input].
    kill -9 5002 (where 5002==pid of showsplash.)
    no user input possible
    Tried
    -showsplash 0
    -showsplash false
    -showsplash -1

    Same result.
    omitted -clean, Same result.,

    Opened Eclipse with regular desktop icon, and the splash page came up
    and went away, as it should.

    finally (!) saw epic 3.0 under Help->Software updates-> Manage
    Configurations

    There was no "remove", so I chose "disable" and restarted the
    workbench.
    ...
    Help->Software updates-> Manage Configurations
    Scan for updates
    java.lang.nullPointerException
    cancel
    Help->Software updates-> Find and Install
    [x]epic, Next
    Select the features to install:
    [none listed]

    I poked around sourceforge and found that 0.3.8 was nowhere to be
    found. There was a 0.3.9, and a recommendation to install 0.3.10, which
    corrects some "missing files". I plugged in the test URL as an Eclipse
    "New Remote Site": http://e-p-i-c.sourceforge.net/updates/testing/

    Downloaded 0.3.10, restarted Eclipse, and opened helloworld.pl, and saw
    no errors!

    Judging by the veiled reference on e-p-i-c.sourceforge.net, they left out
    ColoringSourceViewerConfiguration from
    0.3.8, and maybe 0.3.9. I don't know why Eclipse thought 0.3.0 was
    installed, or whether that affected the problem.

    Thanks much,
    --Monte