facebook

Unable to create part when opening *.js files [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #216209 Reply

    Brandon Rife
    Member

    Double clicking on *.js files in package explorer displays the error dialog, “Unable to create part”. Error log contains the following exception:

    java.lang.UnsupportedOperationException
    at org.eclipse.ui.texteditor.ChainedPreferenceStore.setDefault(ChainedPreferenceStore.java:348)
    at org.eclipse.ui.texteditor.MarkerAnnotationPreferences.initializeDefaultValues(MarkerAnnotationPreferences.java:74)
    at com.ibm.sse.editor.javascript.JSEditor.configureSourceViewerDecorationSupport(Unknown Source)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.getSourceViewerDecorationSupport(AbstractDecoratedTextEditor.java:910)
    at com.ibm.sse.editor.javascript.JSEditor.createSourceViewer(Unknown Source)

    Win2K, Sun JDK 1.4.2.05, Eclipse 3.01, MyEclipse 3.8.2

    #216248 Reply

    Riyad Kalla
    Member

    If you right click > Open With, what is the default editor set to? Can you try and shut down eclipse, then restart it with the -clean command line argument?

    #216258 Reply

    Brandon Rife
    Member

    Right-clicking indicates that “MyEclpse Javascript Editor” is the default editor. Running Eclipse with -clean didn’t seem to help. The same error occured when attempting to open a *.js file.

    #216259 Reply

    Riyad Kalla
    Member

    Are you using the Eclipse SDK install, or the Platform install? MyEclipse requires the Eclipse 3.0(.1) SDK Install (86 meg or so).

    #216266 Reply

    Brandon Rife
    Member

    I’m using the SDK. I’ve traced the problem to a conflict with another plugin: OxygenXML (http://www.oxygenxml.com/). When I remove oxygen, no problems. Sort of scary that one plugin can affect another like that. Any insight as to what could be going on?

    #216270 Reply

    Riyad Kalla
    Member

    Hmmm not really, I will check with the devs though, that is odd.

    #216272 Reply

    Brandon Rife
    Member

    BTW, I use the same combination of plugins in Linux (Mandrake) and the same thing happens.

    #216343 Reply

    Scott Anderson
    Participant

    We’re not familiar with the plugins used in Oxygen. It’s likely that we use incompatible versions of some common plugin. Do you see any that bear the same name as those used in MyEclipse?

    #216356 Reply

    Scott Anderson
    Participant

    Upon further review, we determined what causes the incompatibility between the two plugins. Oxygen changes some of the common text editor preferences in such a way that it aggravates an existing bug in the Javascript editor. We’ve added a fix that will be available for 3.8.3.

    #216453 Reply

    Brandon Rife
    Member

    Thanks – you guys are tops!

    #220310 Reply

    When will 3.8.3 (or at least a hint how to fix this manually) be available?

    #220314 Reply

    Riyad Kalla
    Member

    We are shooting for 3.8.3 to come out at the end of next week or early the following week. So far QA has been really productive/clean.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Unable to create part when opening *.js files [Closed]

You must be logged in to post in the forum log in