facebook

MyEclipse Linux Install / JSP Designer Question

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #235001 Reply

    jhickman
    Member

    I downloaded the most recent milestone of MyEclipseIDE (4.0 M3) yesterday and installed it (manual install). I wanted this particular release due to the new Visual Web Designer. When first opening a JSP, I get a message:

    Unable to create this part due to an internal error. Reason for the failure: Invalid thread state detected on write.

    With a stack trace:

    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.integration.Integrator.vU1(Unknown Source)
        at com.ibm.sse.editor.StructuredTextEditor.init(StructuredTextEditor.java:1846)
        at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:152)
        at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:132)
        at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createSourcePage(HTMLMultiPageEditorPart.java:396)
        at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:244)
        at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:585)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
        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:391)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
        at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
        at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:212)
        at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:202)
        at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:753)
        at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:665)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:628)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2323)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
        at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2204)
        at org.eclipse.ui.internal.ReopenEditorMenu.open(ReopenEditorMenu.java:265)
        at org.eclipse.ui.internal.ReopenEditorMenu.access$2(ReopenEditorMenu.java:249)
        at org.eclipse.ui.internal.ReopenEditorMenu$3.widgetSelected(ReopenEditorMenu.java:217)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        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:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)

    After closing, and retrying the JSP, it opens with the older JSP editor without warnings or errors. I’ve tried opening several different JSP’s with different content as well as creating a new JSP with no content, but it has the same affect.

    Here’s the snippet from .log file with OS and argument information

    !ENTRY com.genuitec.eclipse.webdesigner 1 0 2005-08-16 12:41:51.521
    !MESSAGE No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
    !SESSION 2005-08-16 12:42:17.307 -----------------------------------------------eclipse.buildId=I20050627-1435
    java.version=1.5.0
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Command-line arguments:  -os linux -ws gtk -arch x86
    
    !ENTRY org.eclipse.ui 4 0 2005-08-16 12:42:44.153
    !MESSAGE Unable to create editor ID com.genuitec.eclipse.webdesigner.jsp: Invalid thread state detected on write.
    !STACK 0
    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.integration.Integrator.vU1(Unknown Source)
        at com.ibm.sse.editor.StructuredTextEditor.init(StructuredTextEditor.java:1846)
        at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:152)
        at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:132)
        at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createSourcePage(HTMLMultiPageEditorPart.java:396)
        at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:244)
        at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:585)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
    #235004 Reply

    jhickman
    Member

    aparently it happens with the web browser as well. This time, when I first start eclipse, I immediately open the MyEclipseIDE web browser view, and it says:

    Unable to create view:  Invalid thread state detected on write.

    I close the view, and try to reopen it, and this time, it kills the JVM.

    #235008 Reply

    Riyad Kalla
    Member

    This problem stems from the fact that you installed and are trying to run Eclipse and MyEclipse as different users. This is allowed only with a registered copy of MyEclipse but without a subscription the install of Eclipse and MyEclipse that you are using needs to be installed under the same user (With the same perms).

    #235013 Reply

    jhickman
    Member

    I didn’t even check to see if the subscription carried over when installing the new version. I do have a subscription, and I enter it in the “Update Subscription” window, but for some reason, it won’t keep the values.

    I’m not sure what you’re referring to with your reply. Do you mean that the MyEclipse “Subscriber” name has to match my local linux user that I’m running eclipse from?

    #235016 Reply

    jhickman
    Member

    I have an update. I did the work around for the subscription loss problem in Milestone 3 and now I don’t get the error, but now, when opening a JSP, it shows the Source and the Preview tabs for the editor, but doesn’t start any sort of Visual Web Designer stuff. It appears to me as the older, plain JSP editor from previous versions.

    From the package explorer, I have right clicked, and open with the JSP Designer, but it does the same thing. No dialogs with errors/warnings, and even the .log file doesn’t change.

    Are there requirements I need to have installed to get the Visual Web Designer to work? I tried installing GEF from the eclipse update site, but that didn’t do anything to help my situation.

    #235031 Reply

    Scott Anderson
    Participant

    it shows the Source and the Preview tabs for the editor, but doesn’t start any sort of Visual Web Designer stuff.

    Ah, sorry about that, but the new designer is “Windows only” for the 4.0 release. It will take us awhile longer to deliver one for Linux.

    #235072 Reply

    jhickman
    Member

    @support-scott wrote:

    Ah, sorry about that, but the new designer is “Windows only” for the 4.0 release. It will take us awhile longer to deliver one for Linux.

    Okay. I wasn’t aware of that. I must have missed it in the documentation. Is there any timeframe set for that support in linux?

    Thanks!

    #235084 Reply

    Riyad Kalla
    Member

    The crossplatform designer hasn’t been committed to an exact release or deadline yet.

    #238026 Reply

    jakegage
    Member

    This message has not been recovered.

    #238087 Reply

    Scott Anderson
    Participant

    This message has not been recovered.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: MyEclipse Linux Install / JSP Designer Question

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