facebook

Matisse is broken for me – just installed and not working

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #265132 Reply

    zambizzi
    Member

    I followed these instructions and successfully installed the Matisse editor:

    http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.eclipse.dehory.doc/doc/install/index.html

    I created a new Java project and added a JFrame in a new package in the src folder.

    I got 7 or 8 popup error messages w/ this stack trace:

    
    Annotation: Some errors occurred when trying to load the form file.
    The form cannot be opened.
    java.net.MalformedURLException: unknown protocol: c
        at java.net.URL.<init>(Unknown Source)
        at java.net.URL.<init>(Unknown Source)
        at java.net.URL.<init>(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at org.openide.xml.XMLUtil.parse(XMLUtil.java:36)
        at org.netbeans.modules.form.GandalfPersistenceManager.canLoadForm(GandalfPersistenceManager.java:182)
        at org.netbeans.modules.form.FormEditor.recognizeForm(FormEditor.java:337)
        at org.netbeans.modules.form.FormEditor.loadFormData(FormEditor.java:209)
        at org.netbeans.modules.form.FormEditor.loadFormDesigner(FormEditor.java:149)
        at org.netbeans.modules.form.FormDesigner.componentShowing(FormDesigner.java:1516)
        at com.genuitec.eclipse.dehory.DeHoryFormEditor.setFocus(DeHoryFormEditor.java:229)
        at org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEditorPart.java:742)
        at org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEditorPart.java:715)
        at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:309)
        at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:117)
        at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:600)
        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.WorkbenchPage.activatePart(WorkbenchPage.java:595)
        at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3203)
        at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:588)
        at org.eclipse.ui.internal.WorkbenchPage.showEditor(WorkbenchPage.java:2622)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2584)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
        at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:287)
        at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:164)
        at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:190)
        at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:174)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267)
        at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:306)
        at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:653)
        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)
    [catch] at org.eclipse.core.launcher.Main.main(Main.java:952)
    

    The perspective is open but the form designer is blank…and the same error occurs when I try to open the .java file that corresponds to the .form file – it’s completely unusable.

    I just installed MyEclipse 5.1.0.GA (all-in-one) a few days ago…I’m using JDK 6 but have the source level set to 5.0. I’m on WinXP.

    Any ideas?

    #265193 Reply

    Riyad Kalla
    Member

    zambizzi,
    Are you behind a proxy by chance? That is what the error is originating from (not being able to validate the XML file) and we thought we had fixed this issue in 5.0…

    #265206 Reply

    zambizzi
    Member

    @support-rkalla wrote:

    zambizzi,
    Are you behind a proxy by chance? That is what the error is originating from (not being able to validate the XML file) and we thought we had fixed this issue in 5.0…

    Nope, no proxy.

    Do you think it might be a case of the documentation being out of date? I followed the links through your site to here:

    http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.eclipse.dehory.doc/doc/install/index.html

    …which says this in the preface:

    This document was written using Sun JDK 1.4.2, Eclipse 3.1.2 and MyEclipse 4.1.1

    Also, the URL for installing Matisse from the update console in that documentation has “4.0” in it:

    3.
    If you want to install using the Genuitec servers, select the New Remote Site… button and input:

    * Name: Matisse4MyEclipse
    * URL: http://downloads.myeclipseide.com/downloads/products/matisse4myeclipse/updates-4.0

    I ask because you say “5.0” and I’m not sure if you mean Matisse or MyEclipse, or both?

    Maybe I just have the wrong version of Matisse installed?

    #265212 Reply

    Riyad Kalla
    Member

    Actually when you go to Help > Software Updates > Find and INstall, then select “Search for new features” and select MyEclipse Discovery site, that should get you the correct version of Matisse listed (you are right, the URL is wrong, it should be updates-5.0, but that should automatically be installed in the update manager by MyEclipse itself when you install it).

    You mentioned you are using the all-in-one installer and that is all correct, the exception you are seeing is when the XML parser cannot get internet access and validate the form… it’s very strange.

    Do you have any custom XML parser libraries in your JRE’s lib/ext directory?

    #265216 Reply

    zambizzi
    Member

    @support-rkalla wrote:

    Actually when you go to Help > Software Updates > Find and INstall, then select “Search for new features” and select MyEclipse Discovery site, that should get you the correct version of Matisse listed (you are right, the URL is wrong, it should be updates-5.0, but that should automatically be installed in the update manager by MyEclipse itself when you install it).

    You mentioned you are using the all-in-one installer and that is all correct, the exception you are seeing is when the XML parser cannot get internet access and validate the form… it’s very strange.

    Do you have any custom XML parser libraries in your JRE’s lib/ext directory?

    Excellent, this works now! I uninstalled the old, incorrect version and followed your instructions…it’s great!

    Thanks!

    #265217 Reply

    Riyad Kalla
    Member

    Great I’m glad it’s working now, thanks for following up.

    #265256 Reply

    Hello,

    I’ve a problem with Matisse too. When I try to open a .form, I get this error message:

    !ENTRY org.eclipse.ui 4 0 2007-01-28 15:14:11.765
    !MESSAGE Unable to create editor ID com.genuitec.eclipse.dehory.formeditor: An unexpected exception was thrown.
    !STACK 0
    java.lang.NullPointerException
    at javax.swing.text.JTextComponent.getCaretPosition(JTextComponent.java:1664)
    at javax.swing.text.JTextComponent$AccessibleJTextComponent.getCaretPosition(JTextComponent.java:2832)
    at javax.swing.text.JTextComponent$AccessibleJTextComponent.<init>(JTextComponent.java:2533)
    at javax.swing.JTextField$AccessibleJTextField.<init>(JTextField.java:930)
    at javax.swing.JTextField.getAccessibleContext(JTextField.java:910)
    at org.openide.explorer.view.TreeViewCellEditor.createTreeCellEditor(TreeViewCellEditor.java:188)
    at javax.swing.tree.DefaultTreeCellEditor.<init>(DefaultTreeCellEditor.java:132)
    at javax.swing.tree.DefaultTreeCellEditor.<init>(DefaultTreeCellEditor.java:114)
    at org.openide.explorer.view.TreeViewCellEditor.<init>(TreeViewCellEditor.java:77)
    at org.openide.explorer.view.TreeView.initializeTree(TreeView.java:267)
    at org.openide.explorer.view.BeanTreeView.initializeTree(BeanTreeView.java:49)
    at org.openide.explorer.view.TreeView.<init>(TreeView.java:198)
    at org.openide.explorer.view.TreeView.<init>(TreeView.java:190)
    at org.openide.explorer.view.BeanTreeView.<init>(BeanTreeView.java:43)
    at org.netbeans.modules.form.ComponentInspector.createComponents(ComponentInspector.java:153)
    at org.netbeans.modules.form.ComponentInspector.<init>(ComponentInspector.java:136)
    at org.netbeans.modules.form.ComponentInspector.getDefault(ComponentInspector.java:99)
    at org.netbeans.modules.form.ComponentInspector.getInstance(ComponentInspector.java:114)
    at org.netbeans.modules.form.FormDesigner.<init>(FormDesigner.java:158)
    at com.genuitec.eclipse.dehory.DeHoryFormEditor.createPartControl(DeHoryFormEditor.java:52)
    at com.genuitec.eclipse.dehory.DehoryEditor.createPartControl(DehoryEditor.java:202)
    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:820)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:719)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:680)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2593)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
    at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2477)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:419)
    at com.genuitec.eclipse.dehory.NewFormWizard$1.run(NewFormWizard.java:222)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3143)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2845)
    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(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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)

    This problems also occurs with a fresh install of Eclipse+MyEclipseIDE+Matisse too.

    #265296 Reply

    Riyad Kalla
    Member

    mservices,
    can you create a new Matisse form, save it and edit it. I’m wondering if the problem is just with this particular form, or all forms.

    #265375 Reply

    Hi,

    this message appears with all forms. I’ve found out, that this is a Java 6-problem. When I use Eclipse with Java 5 everything is OK but with Java 6 Matisse won’t work.

    #265393 Reply

    Riyad Kalla
    Member

    Thank you for posting your findings, I’ve made a note of it.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Matisse is broken for me – just installed and not working

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