facebook

Editor Window Problems

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #328824 Reply

    Derek Cook
    Participant

    Hi,

    I’m not sure if it’s related to me updating to OSX Mountain Lion a week or so ago, but I’ve just noticed the following issues in the Java Editor

    1) Line numbers are not scrolling when you scroll the window. I.e if you open a file and the line number is shown as Line 1 (with the window showing the top of the file), and go to the end of a large file, the editor window contents is shown correctly, but the first line in the viewport is still numbered line 1

    2) If you double click in the left margin to create a break point, the break point is created, but the break point symbol is not shown

    3) The markers in the right margin (e.g. error indicators, search results, etc.) are not being displayed

    I updated from MyEclipse 10.5 to 10.6 but that has made the problem neither better or worse!

    #328847 Reply

    support-joy
    Member

    Derek,

    Sorry to hear you are running into this issue. Please provide below details to help me investigate further –
    1. Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details > [Copy to Clipboard] and paste the same here
    2. Attach a screenshot of the issue to help me get a visual
    3. Clear your .log file located at [your workspace dir]/.metadata/.log, replicate the issue and attach file here.

    I have escalated your issue to dev team. They would get back to you.
    Sorry for the inconvenience.

    #328852 Reply

    Brian Fernandes
    Moderator

    dacook,

    No fixes to such issues were made in MyEclipse 10.6, so the update would not change the situation. I have a few additional questions:

    1) Are you running a retina display machine by any chance? I’m assuming not.

    2) Your installation summary will tell us whether you are running a Cocoa version of MyEclipse or Carbon. Using the latter may cause such issues.

    3) Could you also try switching to a new workspace and import one of your projects there to see if the issue persists? Issues like the missing marker and breakpoint displays could be caused by preference changes (indirectly through possible workspace corruption).

    #328862 Reply

    Scott Anderson
    Participant

    dacook,

    I’ve got a MacBook Pro with the following configuration:
    OS/X Mountain Lion
    MyEclipse 10.6 – 64-bit Cocoa version
    Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
    Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)

    I tested the three issues you detailed in your first post and none of them are reproducible in my configuration. This is good news as it means there’s simply an environment configuration issue somewhere. The questions asked in the prior support responses are the keys to figuring that out and getting you a working environment as quickly as possible.

    #328869 Reply

    Derek Cook
    Participant

    Hello,

    Thanks for the responses. When I get five minutes, I’ll dig out the info you are looking for, but please note that up until last week, MyEclipse was working fine in this area. I’m a hardware/software engineer myself and I know that software has no wearout mechanism, it doesn’t get better or worse in terms of failure modes, so something has changed to cause this latent defect to surface. OSX Mountain Lion is the big change in my system in the past few weeks, but as I don’t use MyEclipse much in the summer (when the weather is nice, I’d much rather be outside!) it’s hard to say if that’s a contributing factor or not.

    Anyway bear with me, and I’ll get the info I can

    #329015 Reply

    Derek Cook
    Participant

    @support-joy wrote:

    Derek,

    Sorry to hear you are running into this issue. Please provide below details to help me investigate further –
    1. Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details > [Copy to Clipboard] and paste the same here
    2. Attach a screenshot of the issue to help me get a visual
    3. Clear your .log file located at [your workspace dir]/.metadata/.log, replicate the issue and attach file here.

    I have escalated your issue to dev team. They would get back to you.
    Sorry for the inconvenience.

    Hi,

    Sorry for the delay in replying, but it’s been a bit crazy around here

    1) No, it’s not a retina display machine, it’s an iMac 12,1 purchase at the start of the year, running OS X 10.8 (12A269)

    2) My installation summary (note there was no “copy to clipboard” button – there were two unlabelled buttons in the lower left corner

    *** Date:
    Friday, August 10, 2012 9:31:22 AM BST

    *** System properties:
    OS=MacOSX
    OS version=10.8.0
    OS arch=i386
    Profile arch=x86
    Window system=carbon
    Java version=1.6.0_33
    Workspace=file:/myeclipse Workspace/
    VM Args=-Dmac.experimental=true
    -Xmx512m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -Dorg.eclipse.swt.internal.carbon.smallFonts
    -XstartOnFirstThread
    -Djava.class.path=/Applications/MyEclipse/MyEclipse 10.app/Contents/Profile/myeclipse.app/Contents/MacOS//../../../../../../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20130729
    Number of users: 1

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.6
    Build id: 10.6-20120727

    Blueprint: MyEclipse 10

    com.genuitec.myeclipse.database – 10.6.0.me201207261914
    com.genuitec.myeclipse.desktop – 10.6.0.me201207261914
    com.genuitec.myeclipse.editor – 10.6.0.me201207261914
    com.genuitec.myeclipse.enterprise.workbench – 10.6.0.me201207261914
    com.genuitec.myeclipse.geronimo – 10.6.0.me201207261914
    com.genuitec.myeclipse.glassfish – 10.6.0.me201207261914
    com.genuitec.myeclipse.icefaces.feature – 10.6.0.me201207261914
    com.genuitec.myeclipse.jboss – 10.6.0.me201207261914
    com.genuitec.myeclipse.jetty – 10.6.0.me201207261914
    com.genuitec.myeclipse.jonas – 10.6.0.me201207261914
    com.genuitec.myeclipse.jrun – 10.6.0.me201207261914
    com.genuitec.myeclipse.jsf – 10.6.0.me201207261914
    com.genuitec.myeclipse.maven – 10.6.0.me201207261914
    com.genuitec.myeclipse.oracle – 10.6.0.me201207261914
    com.genuitec.myeclipse.orion – 10.6.0.me201207261914
    com.genuitec.myeclipse.persistence – 10.6.0.me201207261914
    com.genuitec.myeclipse.pulse – 10.6.0.me201207261914
    com.genuitec.myeclipse.reports – 10.6.0.me201207261914
    com.genuitec.myeclipse.resin – 10.6.0.me201207261914
    com.genuitec.myeclipse.struts – 10.6.0.me201207261914
    com.genuitec.myeclipse.sun – 10.6.0.me201207261914
    com.genuitec.myeclipse.tomcat – 10.6.0.me201207261914
    com.genuitec.myeclipse.uml2 – 10.6.0.me201207261914
    com.genuitec.myeclipse.visualvm – 10.6.0.me201207261914
    com.genuitec.myeclipse.visualvm.server – 10.6.0.me201207261914
    com.genuitec.myeclipse.weblogic – 10.6.0.me201207261914
    com.genuitec.myeclipse.websphere – 10.6.0.me201207261914
    com.genuitec.myeclipse.ws – 10.6.0.me201207261914
    org.eclipse.birt – 2.6.1.me201207261914
    org.eclipse.datatools.connectivity.feature – 1.9.0.me201207261914
    org.eclipse.datatools.enablement.feature – 1.9.0.me201207261914
    org.eclipse.datatools.sqldevtools.feature – 1.9.0.me201207261914
    org.eclipse.jpt.jpa.feature – 3.0.0.me201207261914
    org.eclipse.jpt.jpadiagrameditor.feature – 1.0.0.me201207261914
    org.eclipse.jst.common.fproj.enablement.jdt – 3.3.0.me201207261914
    org.eclipse.jst.enterprise_ui.feature – 3.3.0.me201207261914
    org.eclipse.jst.server_adapters.ext.feature – 3.3.0.me201207261914
    org.eclipse.jst.server_adapters.feature – 3.2.100.me201207261914
    org.eclipse.jst.server_ui.feature – 3.3.0.me201207261914
    org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201207261914
    org.eclipse.m2e.feature – 1.0.0.me201207261914
    org.eclipse.sapphire.platform – 0.3.0.201106221325
    org.eclipse.wst.common.fproj – 3.3.0.me201207261914
    org.eclipse.wst.server_adapters.feature – 3.2.100.me201207261914
    org.springframework.ide.eclipse.feature – 2.9.1.me201207261914

    org.eclipse.cvs – 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C
    org.eclipse.egit – 1.3.0.201202151440-r
    org.eclipse.egit.psf – 1.3.0.201202151440-r
    org.eclipse.equinox.p2.core.feature – 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129
    org.eclipse.equinox.p2.extras.feature – 1.0.1.v20110906-1605-7A4FD4DiVOMap8cHSc6vPuny4gqO
    org.eclipse.equinox.p2.rcp.feature – 1.0.1.v20110906-1605-782EqBqNKGVkiV-PUsgz-uny4gqO
    org.eclipse.equinox.p2.user.ui – 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl
    org.eclipse.help – 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx
    org.eclipse.jdt – 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1
    org.eclipse.jgit – 1.3.0.201202151440-r
    org.eclipse.jsf.feature – 3.3.0.me201207261914
    org.eclipse.mylyn.context_feature – 3.6.5.v20120215-0100
    org.eclipse.mylyn_feature – 3.6.5.v20120215-0100
    org.eclipse.pde – 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E–0
    org.eclipse.platform – 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
    org.eclipse.rcp – 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272

    Eclipse startup command=-os
    macosx
    -ws
    carbon
    -arch
    x86
    -showsplash
    -launcher
    /Applications/MyEclipse/MyEclipse 10.app/Contents/Profile/myeclipse.app/Contents/MacOS/myeclipse
    -name
    Myeclipse
    –launcher.library
    /Applications/MyEclipse/MyEclipse 10.app/Contents/Profile/myeclipse.app/Contents/MacOS//../../../../../../Common/plugins/org.eclipse.equinox.launcher.carbon.macosx_1.1.100.v20110502/eclipse_1406.so
    -startup
    /Applications/MyEclipse/MyEclipse 10.app/Contents/Profile/myeclipse.app/Contents/MacOS//../../../../../../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    –launcher.overrideVmargs
    -install
    /Applications/MyEclipse/MyEclipse 10.app/Contents/Profile
    -configuration
    /Applications/MyEclipse/MyEclipse 10.app/Contents/Profile/configuration
    -keyring
    /Users/derek/.eclipse_keyring
    -showlocation
    -vm
    /System/Library/Frameworks/JavaVM.framework

    3) I’ve attached the log file and screen shot of the problem. Note the following in the screen shot

    • The status bar shows that I am on line 3339, but the line numbers in the left margin do not match
    • I have inserted a space in a variable name to create error, which is shown as an underline, but not as a marker in the right line
    • If I scroll all the way to line one of the file, the line numbers are stuck at 2893 as the first line number; i.e. the line numbers are not scrolling at all. They are stuck at different numbers for different files as well
    Attachments:
    You must be logged in to view attached files.
    #329016 Reply

    Derek Cook
    Participant

    Here is another example. I am in the debugger, you can see that I am on line 2115 and have set a break point (by double clicking the left margin) but the line numbering is again wrong, and there is no break point symbol

    Attachments:
    You must be logged in to view attached files.
    #329018 Reply

    Derek Cook
    Participant

    @Support-Brian wrote:

    dacook,

    3) Could you also try switching to a new workspace and import one of your projects there to see if the issue persists? Issues like the missing marker and breakpoint displays could be caused by preference changes (indirectly through possible workspace corruption).

    I tried this and all the problems persisted in the new workspace

    #329019 Reply

    Derek Cook
    Participant

    @Support-Brian wrote:

    dacook,

    2) Your installation summary will tell us whether you are running a Cocoa version of MyEclipse or Carbon. Using the latter may cause such issues.

    Please note that I need to used the Carbon version based on the statements made in this thread, unless the situation has changed re the availability of the HTML editors

    https://www.genuitec.com/forums/topic/no-html-editor-in-eclipse-10/&highlight=

    Also please note, that all of this has been running fine until a week ago since the start of the year

    #329023 Reply

    Derek Cook
    Participant

    PS: I just tried running MyEclipse from the terminal with the -clean option. No difference. I have noticed that when starting up, the line numbers and annotations are correct. I set the line number the cursor was on to 2100 before quitting and, remember, above I set a break piunt in Line 2115. See the first image below. On the second image I have changed the line to 2013 but the contents of the left margin are unchanged

    Attachments:
    You must be logged in to view attached files.
    #329033 Reply

    Scott Anderson
    Participant

    Derek,

    Thanks for posting all the requested information as it is now clear what is causing these display issues. It’s simply that you’ve installed MyEclipse using the “Carbon” windowing system (the older discontinued one from Apple) instead of Cocoa.

    *** System properties:
    OS=MacOSX
    OS version=10.8.0
    OS arch=i386
    Profile arch=x86
    Window system=carbon
    Java version=1.6.0_33
    Workspace=file:/myeclipse Workspace/
    VM Args=-Dmac.experimental=true
    -Xmx512m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -Dorg.eclipse.swt.internal.carbon.smallFonts
    -XstartOnFirstThread
    -Djava.class.path=/Applications/MyEclipse/MyEclipse 10.app/Contents/Profile/myeclipse.app/Contents/MacOS//../../../../../../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

    It would appear that with Mountain Lion Apple is starting to drift even further from maintaining compatibility and this is what is causing the display issues. The easiest way to correct the issue is just to re-run the MyEclipse installer, select “Install Another” and select either 32 or 64 bit Cocoa when prompted during the installation process.

    Given what you’ve found, I’ll recommend that we drop Carbon as an option going forward.

    #329045 Reply

    Derek Cook
    Participant

    Hi,

    So my theory about it being to do with the recent Mountain Lion Upgrade was not that far off then. 😉

    But do the HTML Editors now work under Cocoa? As per the link I gave above

    https://www.genuitec.com/forums/topic/no-html-editor-in-eclipse-10/&highlight=

    The post on page 2 from support-swapna on Jan 10 2012 at 10:34PM states that

    The Visual Designers are available on the Mac, but only on 32 bit Carbon install.
    Sorry for the inconvenience caused.

    Has this now been updated to work on Cocoa? I need the visual HTML Editors as well, and it’s the main reason why I went for MyEclipse as opposed to vanilla Eclipse. So it will be no good to me if the HTML editors are still Carbon only.

    #329056 Reply

    Scott Anderson
    Participant

    Derek,

    So my theory about it being to do with the recent Mountain Lion Upgrade was not that far off then. 😉

    I’d say it was dead on. Apple moved away from Carbon a couple of years ago so it’s not too unimaginable to see their backward compatibility for it start to slide as OS/X continues to evolve.

    But do the HTML Editors now work under Cocoa?… Has this now been updated to work on Cocoa?

    All of the source-based editors and in-editor previews work on Cocoa, but the WYSIWYG drag-and-drop HTML editor does not. The underlying technology we used to build cross-platform support for those visual editors (XULRunner) has been abandoned by Mozilla and is no longer maintained. We’ve been evaluating possible alternatives but have not found one that is suitable as of yet. However, with so much attention being given to HTML5 in the industry we are hopeful we’ll find a solution and be able to update the visual design features on all platforms in a future release. If you have Parallels or VMWare installed, one alternative would be to run a Windows VM and that version of MyEclipse, although I realize this is likely a rather unsavory option.

    #329075 Reply

    Derek Cook
    Participant

    Thanks, Scott

    What sort of timeline are we talking of for resolving this on Cocoa?

    I don’t have the products you talk about, I have something called Crossover, which I could try and see if Windows MyEclipse runs under that, although as you say, that’s not the right solution. Once you get used to a Mac, going back to Windows always seems a backwards step!

    I just tried the HTML editor and it still works under Mountain Lion, albeit exhibiting the problem reported above, so I guess I could also keep this carbon version as as a Pulse configuration? That would be my preferred choice until you have a fix.

    #329082 Reply

    Derek Cook
    Participant

    Hi,

    I’ve downloaded and installed the 64 bit Cocoa version, and I can confirm that this works fine and it is not exhibiting the reported problem. Although of course I lose the visual editors, which is a pain, but I’ve kept the 32 bit Carbon version installed as well as I can live with the reported bug on the visual editors, and this is the least evil option compared to trying to contaminate my Mac with Windoze applications! 😉

    However, getting the visual editors working on Cocoa surely has to be the way ahead and considered to be a priority by Genuitec. As mentioned, I have subscribed to MyEclipse (as opposed to using free vanilla Eclipse) for many years now for these very handy facilities, so I will be probably reconsider renewing my subscription (in a year or so) if these features are still not available then.

Viewing 15 posts - 1 through 15 (of 24 total)
Reply To: Editor Window Problems

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