facebook

Visual JSP Designer linux

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #269738 Reply

    jugn78
    Member

    Hi. I am evaluating the application (MyEclipse, I need an application like this for a project) but I am working in linux and the Visual JSP Designer only opens the source tab and the preview tab. The first time I try to open a JSP I get the next error:

    com.genuitec.eclipse.core.GenuitecCoreRTException: Invalid thread state detected on write.
    at com.genuitec.eclipse.core.A.Ä…(Unknown Source)
    at com.genuitec.eclipse.core.A.ă(Unknown Source)
    at com.genuitec.eclipse.core.A.�(Unknown Source)
    at com.genuitec.eclipse.core.C.Ä‚(Unknown Source)
    at com.genuitec.eclipse.core.C.Ä‚(Unknown Source)
    at com.genuitec.eclipse.core.C.Č(Unknown Source)
    at com.genuitec.eclipse.core.C.<init>(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.�(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.�(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.ă(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.isLicenseValid(Unknown Source)
    at com.genuitec.eclipse.core.vU.�(Unknown Source)
    at com.genuitec.eclipse.core.vU.A__111164asdfae2342fa(Unknown Source)
    at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.pageChange(WebDesignerMultiPageEditor.java:552)
    at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:690)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:280)
    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:822)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:721)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:682)
    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:2485)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:275)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139)
    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:1085)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
    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:585)
    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)

    and then it let me open the editor but, as I said, only with the source and preview tab. I have uncommented the line:

    export MOZILLA_FIVE_HOME=””

    from the script that starts eclipse, I do not know if I have to do something else.

    I am testing MyEclipse 5.1.1 GA.

    Thanks.

    #269743

    Loyal Water
    Member

    Can you try using the -clean command to clean your workspace. That should do the trick.
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    #269768

    jugn78
    Member

    I have used the -clean parameter but did not help. I found that, to make work the Visual Designer in linux, there is an extra parameter that has to be added to the script.

    -Dlinux.experimental=true

    I added that parameter and now I can see the tabs (Design and Design/Source), but when I add a JSF component (a button, image, etc.) sometimes it works and most of the time it crash (whole eclipse). I have added the JSF support to the project but it is not really stable. (Maybe thats why the parameter is called experimental).

    I have tested it with sun jdk 1.5.0 and sun jdk 1.4.2 but I get the same error. I have the eclipse gtk version. There is a Motif version but I do not know if it will make a difference, will it ?, I mean, uninstall myEclipse, uninstall eclipse, download the motif version, install every thing again to get the same error :S, so, I would like to know if you know if this could help first.

    Thanks.

    #269914

    Riyad Kalla
    Member

    jugn78,
    Unfortunately we are aware of the instability of the designer on Linux which is why it’s marked experimental right now, until we get a chance to debug further and see what is going wrong.

    For the time being I’m sorry but I would encourage you not to use the designer on Linux. I know we are going to work on this for our 6.0 release and see if we can improve the situation.

    #271059

    joril
    Member

    @support-rkalla wrote:

    For the time being I’m sorry but I would encourage you not to use the designer on Linux. I know we are going to work on this for our 6.0 release and see if we can improve the situation.

    Hi! I’m sorry, any estimate of when 6.0M1 will be released? I mean.. In two weeks, four, six..? 🙂 Thanks!

    #271065

    Loyal Water
    Member

    The 6.0M1 is planned for early july. We dont have a concrete date yet.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Visual JSP Designer linux

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