Jump to content
  • DataAdapter Editor installs as default *.xml editor

    Assigned User Massimo Rabbi
    CategoryBug report

    After installation of Jaspersoft Studio v5.5 Eclipse plugin into Eclipse 4.3.2 the DataAdapter Editor installs itself as the default editor for *.xml files.


    It should not install itself as the default editor.


    To workaround this go to Window/Preferences and navigate to General/Editors/File Associations

    Find *.xml in the File types list and then select the XML Editor in the Associated editors section. Once selected click the Default button and then OK.


    User Feedback

    Recommended Comments

    Changed Resolution from Open to Fixed

    Changed Status from New to Resolved

    Changed Assigned User from - to @mrabbi

    Hi,the current configuration does not force the installation as default editor. This option is set to false in the dedicated extension.Moreover the dedicated content-type extension has an associated describer class that tries to recognize if the XML is a valid data adapter.We will set the priority option to "low" in order to avoid conflicts with other already defined xml content types.Current content-type configuration: Current editor configuration: Regards,Massimo.
    Link to comment
    Share on other sites

    There is another problem with this issue: when one tries to open an XML file contained in a Jar, the following exception can be observed:

    java.lang.ClassCastException: org.eclipse.jdt.internal.ui.javaeditor.JarEntryEditorInput cannot be cast to org.eclipse.ui.IFileEditorInput

    at com.jaspersoft.studio.data.DataAdapterEditorPart.setInput(DataAdapterEditorPart.java:71)

    at com.jaspersoft.studio.editor.preview.ABasicEditor.init(ABasicEditor.java:160)

    Link to comment
    Share on other sites

  • Create New...