facebook

settings corrupted?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #217994 Reply

    Paul
    Participant

    I’m back to the original issue again – random ide features not working, or displaying alternate behavior from what is selected in the preferences.

    The IDE itself has not crashed since this first came up, so it’s a different cause it looks like – though there are two log entries from the last 2-3 days. The weirdness seems to have started just after the most recent entry, though I have pasted both below.

    Most Recent

    !SESSION Oct 17, 2004 14:00:06.281 ---------------------------------------------
    eclipse.buildId=unknown
    java.version=1.4.2_03
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    
    !ENTRY com.genuitec.eclipse.cross.easystruts.eclipse 1 1 Oct 17, 2004 14:00:06.282
    !MESSAGE 
    !STACK 0
    java.lang.ArrayIndexOutOfBoundsException: 0
        at com.genuitec.eclipse.struts.dialogs.JspFileFilter.openFileDialog(Unknown Source)
        at com.genuitec.eclipse.struts.dialogs.JspFileFilter.openPathFileDialog(Unknown Source)
        at com.genuitec.eclipse.struts.EditorUtils.browsePaths(Unknown Source)
        at com.genuitec.eclipse.struts.EditorUtils.browseWebApp(Unknown Source)
        at com.genuitec.eclipse.struts.dialogs.ForwardDialogPage.typePageChangeControlPressed(Unknown Source)
        at com.genuitec.eclipse.struts.dialogs.ConfigDialogPage$TypeFieldsAdapter.changeControlPressed(Unknown Source)
        at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField.changeControlPressed(StringButtonDialogField.java:56)
        at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringButtonDialogField$1.widgetSelected(StringButtonDialogField.java:113)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
        at org.eclipse.jface.window.Window.open(Window.java:648)
        at com.genuitec.eclipse.struts.dialogs.ConfigDialog.show(Unknown Source)
        at com.genuitec.eclipse.struts.dialogs.ConfigDialog.show(Unknown Source)
        at com.genuitec.eclipse.struts.wizards.NewActionMultipageWizardPage.addForward(Unknown Source)
        at com.genuitec.eclipse.struts.wizards.NewActionMultipageWizardPage.typePageCustomButtonPressed(Unknown Source)
        at com.genuitec.eclipse.struts.wizards.NewEasyStrutsWizardPage$TypeFieldsAdapter.customButtonPressed(Unknown Source)
        at org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField.buttonPressed(ListDialogField.java:202)
        at org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField.doButtonSelected(ListDialogField.java:451)
        at org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField.access$0(ListDialogField.java:447)
        at org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField$2.widgetSelected(ListDialogField.java:414)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
        at org.eclipse.jface.window.Window.open(Window.java:648)
        at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardAction$1.run(Unknown Source)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardAction.launchWizard(Unknown Source)
        at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardAction.runWithEvent(Unknown Source)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
        at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
        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:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
        at org.eclipse.core.launcher.Main.run(Main.java:704)
        at org.eclipse.core.launcher.Main.main(Main.java:688)

    The 2nd to last entry, also appearing to deal with a struts wizard issue.

    !SESSION Oct 15, 2004 17:12:25.278 ---------------------------------------------
    eclipse.buildId=unknown
    java.version=1.4.2_03
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    
    !ENTRY com.genuitec.eclipse.cross.easystruts.eclipse 1 1 Oct 15, 2004 17:12:25.278
    !MESSAGE error: Parse Fatal Error at line 5 column -1: Illegal character at end of document, <.
    
    !ENTRY com.genuitec.eclipse.cross.easystruts.eclipse 1 1 Oct 15, 2004 17:12:25.301
    !MESSAGE 
    !STACK 0
    org.xml.sax.SAXParseException: Illegal character at end of document, <.
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3339)
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3333)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:640)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at org.apache.commons.digester.Digester.parse(Digester.java:1586)
        at org.easystruts.struts.config.EasyStrutsConfigLoader.retriveBasicConfig(Unknown Source)
        at com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor.getStrutsConfig(Unknown Source)
        at com.genuitec.eclipse.struts.editor.model.ModelManager.getActionConfigs(Unknown Source)
        at com.genuitec.eclipse.struts.editor.modeler.model.StrutsConfigDiagram.synchronizeDiagram(Unknown Source)
        at com.genuitec.eclipse.struts.editor.modeler.core.StrutsEditor.resetInput(Unknown Source)
        at com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor.updateFlowModeler(Unknown Source)
        at com.genuitec.eclipse.struts.editor.multipage.StrutsConfigEditor.pageChange(Unknown Source)
        at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:151)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:978)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:963)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:833)
        at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3053)
        at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1917)
        at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:287)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
        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:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
        at org.eclipse.core.launcher.Main.run(Main.java:704)
        at org.eclipse.core.launcher.Main.main(Main.java:688)

    I’m not sure if these exceptions are causing my workspace corruption, something else, or what. I’m going to try and do without for now, I can’t keep rebuilding this thing. Hopefully this will point to an issue though that can be fixed. Debian Sarge, Eclipse 3.0.1 SDK freshly installed (per last issue above). Thanks.

    #217995 Reply

    Riyad Kalla
    Member

    If you create a new workspace does the problem go away? If so, and your workspaces keep getting corrupted over time I would start to wonder about memory/mobo/disk corruption issues… maybe a file system corruption… have you scanned your disk? (don’t know what filesystem you are using).

    This is not normal behavior, I’m using the same install/workspace/etc for the last 6 months… if this was happening this often believe me I would sit on the corner of the developers desk until we figured something out 😉

    #217998 Reply

    Paul
    Participant

    That’s occured to me – but I do other things on this machine as well, with zero issues aside from this. My JSPs/Java/XML files are all intact w/o issue, but I’ll check the disk to be sure. Any memory/cpu/hardware issue would manifest itself in other ways than just this I would have to think.

    Do you use the Struts features of ME on a regular basis? Both exceptions above reference easystruts….

    Thanks.

    #218001 Reply

    Riyad Kalla
    Member

    1) Try running memtestx86 overnight to uncover any hard-to-find errors

    2) Yes I use the struts featuers on a regular basis, but the editors more.

    #218045 Reply

    Paul
    Participant

    That appears to be a pretty useful little program. It ran last night from just before Dinner to this morning, 13 hrs 10 minutes, w/o a failure though, so memory doesn’t appear to be a problem. Same with the drive, no problems found there.

    I removed /configuration and the workspace, and started over again. I was clicking on preferences/myeclipse/subscription though, and a box popped up saying my trial period was expiring, would I like to buy? I clicked ok – and it tried to open a browser window, failing with an error. I hadn’t paid attention to this before, but that logged another exception in the .log file. I’m wondering if the last time I recreated this workspace if that started me down the wrong road (incorrect moz version causing catostrophic failure).

    To be safe after that I started over again, new /configuration and workspace, and this time closed the dialog w/o clicking okay when it popped up. This time there are no adverse entries in the log file I can see, and everything appears to be working as it should.

    #218048 Reply

    Riyad Kalla
    Member

    very interesting… there is a known problem when users have Version 1.7+ of Mozilla (firefox .8+) installed, and the SWT Browser is activated in any way (Preview from ME, Browser from ME, maybe even the order window) it causes Eclispe to completely crap on itself and actually ruins the workspace so you can’t restart Eclipse. The fix is to install Mozilla 1.6 and go through the proper config settings (scroll to the bottom of the HTML editing quickstart guide here to see how: http://www.myeclipseide.com/images/tutorials/quickstarts/htmleditor/#faq)

    I wonder if this is what is going on.

    Thanks for running memtest, that means your CPU/Memory/Mobo should be fine… Seti@Home or another equally stressful program is a nother good test incase you ever need to troubleshoot a problem (I don’t want you to run this, just giving you some helpful tips incase you need them).

    We are working on a fix for that PIA reaction that the SWT Browser has to not finding the right browser version installed 🙁

Viewing 6 posts - 16 through 21 (of 21 total)
Reply To: settings corrupted?

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