facebook

testNG and Maven4Eclipse plugin hate eachother ;)

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

    edbras
    Member

    Hi,
    Since I started using the Maven4Eclipse plugin I am not able to run 2 testNG xml files through an eclipse launch.
    I dropped this in the testNG group, but would like if you could have a look at it and maybe try to reproduce it.
    The link to the topic containing all the detail:
    https://groups.google.com/forum/?hl=en&fromgroups#!topic/testng-users/A_MmPGlE6ns

    Looking forward to your reaction,
    Ed

    #323623 Reply

    support-joy
    Member

    Ed,

    I have gone through the weblink, you have not included the version of ME and .log file contents. Please provide below information to help me investigate further –
    1. Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details and copy and paste the same here
    2. Clear your .log file located at [your workspace dir]/.metadata/.log, replicate the issue and attach the file here
    3. You mention performing updates and re-installing. How did you re-install? Using pulse / all-in-one installer?

    #323626 Reply

    edbras
    Member

    Hereby the requested info:

    1) INstallation summary:
    —-

    *** Date:
    donderdag 23 februari 2012 12:05:41 uur CET

    ** System properties:
    OS=Windows7
    OS version=6.1.0
    Java version=1.6.0_23

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 10.0
    Build id: 10.0-20111028

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.0
    Build id: 10.0-20111028

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86_64
    -launcher
    C:\Users\ed\AppData\Local\MyEclipse\MyEclipse 10\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Users\ed\AppData\Local\MyEclipse\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_3.2.0.v201103301700\eclipse_3215.dll
    -startup
    C:\Users\ed\AppData\Local\MyEclipse\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -install
    C:\Users\ed\AppData\Local\MyEclipse\MyEclipse 10
    -configuration
    C:\Users\ed\AppData\Local\MyEclipse\MyEclipse 10\configuration
    -vm
    C:\Program_Files\Java\jdk1.6.0_23\jre\bin\server\jvm.dll
    —–

    2) FInd attached a clean log.
    Note the testNG marker almost at the end of the logging

    3) I used the all-in-one installer but only installed Hibernate, Jetty, Maven, Db Tools, Spring, Tomcat, Web services.

    Extra note: I did a clean install as my eclipse was getting very slow and copy/paste didn’t work sometimes (CTR C, CTR V). See my other post about the copy/paste problem.
    MyEclipse is running faster now, also as I optimized my vmarg settings in the .myeclipse.ini with the help of stackoverflow.
    However, the annoying COPY/PASTE error still remains :(… And I have no idea how to solve that “in a good way”.
    It seems that my app is busy and somehow blocks to perform copy/paste actions. However, it does react to other keyboard input (just normal typing).
    Any idea how to solve this?
    I think it has to do with the EGIT plugin as it occurs since I start using that plugin.
    I all run the latest version of all plugins. For my plugin usage: see the other copy/paste post.

    – Ed

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

    edbras
    Member

    I think I am getting crazy 🙁
    I just noticed a new update of testNG: 6.2.4.
    So through workspace center I installed the new testNG version, performed the restart, and now Eclipse simple hangs 🙁
    The screen tells that it’s opening the Workpace center 20% and the log contains outofMemor exceptions 🙁
    I even started with the standard .myeclipse.ini, and with the -clean option, but it had no effect.
    Any idea how to fix this?
    Attached:
    myeclipse.ini
    log file (the log was empty before starting eclipse).

    – Ed

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

    edbras
    Member

    I wasn’t able to solve it.
    I started a new workspace by simple removing the old one such that Myeclipse automatically creates a new one.
    However, I notices that this new workspace with no projects starts with the “Memory low” popup warning :(…
    And I even had that Myeclipse simple crashed after 2 minutes configuring my workspace layout with the exception below in the log.

    Even when I start the with the original myeclipse.ini, it with an empty workspace it starts with the Memory popup warning.

    Something is very wrong here and I think it’s one of the plugin’s…
    How can I detect which plugin is giving problems?
    – Ed

    —-

    eclipse.buildId=unknown
    java.version=1.6.0_23
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=nl_NL
    Framework arguments: ;C:\Users\ed\AppData\Local\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\jre\bin\server\jvm.dll -Xss500k -Dosgi.requiredJavaVersion=1.6 -Xms512m -Xmx2048m -XX:NewSize=8m -XX:PermSize=512m -XX:MaxPermSize=756m -XX:MaxPermHeapExpansion=50m -XX:ReservedCodeCacheSize=256 -XX:CMSInitiatingOccupancyFraction=70 -XX:+UseCMSInitiatingOccupancyOnly -Xincgc -XX:+UseParNewGC -XX:+CMSConcurrentMTEnabled -XX:ConcGCThreads=2 -XX:ParallelGCThreads=2 -XX:+CMSIncrementalPacing -XX:CMSIncrementalDutyCycleMin=0 -XX:CMSIncrementalDutyCycle=5 -XX:GCTimeRatio=49 -XX:MaxGCPauseMillis=20 -XX:GCPauseIntervalMillis=1000 -XX:+UseCMSCompactAtFullCollection -XX:+CMSClassUnloadingEnabled -XX:+DoEscapeAnalysis -XX:+UseCompressedOops -XX:+AggressiveOpts -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses -XX:+CMSPermGenSweepingEnabled -Dorg.eclipse.swt.internal.gtk.disablePrinting ; Incremental GC collector: overcomes GC pauses but will decrease GC performance. ; It can’t work together with the option UseParallelGC ;-Xincgc ; Alternative to using UseParNewGC is: ; -XX:+UseParallelGC ; For the differences, see: ; http://stackoverflow.com/questions/2101518/difference-between-xxuseparallelgc-and-xxuseparnewgc ; http://java.sun.com/docs/hotspot/gc1.4.2/faq.html ; More Ref’s: ; http://stackoverflow.com/questions/6137429/is-it-possible-to-add-comments-to-eclipse-ini-file
    Command-line arguments: -os win32 -ws win32 -arch x86_64 ;C:\Users\ed\AppData\Local\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\jre\bin\server\jvm.dll -Xss500k -Dosgi.requiredJavaVersion=1.6 -Xms512m -Xmx2048m -XX:NewSize=8m -XX:PermSize=512m -XX:MaxPermSize=756m -XX:MaxPermHeapExpansion=50m -XX:ReservedCodeCacheSize=256 -XX:CMSInitiatingOccupancyFraction=70 -XX:+UseCMSInitiatingOccupancyOnly -Xincgc -XX:+UseParNewGC -XX:+CMSConcurrentMTEnabled -XX:ConcGCThreads=2 -XX:ParallelGCThreads=2 -XX:+CMSIncrementalPacing -XX:CMSIncrementalDutyCycleMin=0 -XX:CMSIncrementalDutyCycle=5 -XX:GCTimeRatio=49 -XX:MaxGCPauseMillis=20 -XX:GCPauseIntervalMillis=1000 -XX:+UseCMSCompactAtFullCollection -XX:+CMSClassUnloadingEnabled -XX:+DoEscapeAnalysis -XX:+UseCompressedOops -XX:+AggressiveOpts -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses -XX:+CMSPermGenSweepingEnabled -Dorg.eclipse.swt.internal.gtk.disablePrinting ; Incremental GC collector: overcomes GC pauses but will decrease GC performance. ; It can’t work together with the option UseParallelGC ;-Xincgc ; Alternative to using UseParNewGC is: ; -XX:+UseParallelGC ; For the differences, see: ; http://stackoverflow.com/questions/2101518/difference-between-xxuseparallelgc-and-xxuseparnewgc ; http://java.sun.com/docs/hotspot/gc1.4.2/faq.html ; More Ref’s: ; http://stackoverflow.com/questions/6137429/is-it-possible-to-add-comments-to-eclipse-ini-file

    !ENTRY org.eclipse.mylyn.tasks.ui 2 0 2012-02-23 15:25:30.012
    !MESSAGE No search provider was registed. Tasks search is not available.

    !ENTRY org.eclipse.jface 2 0 2012-02-23 15:25:31.820
    !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2012-02-23 15:25:31.820
    !MESSAGE A conflict occurred for CTRL+F9:
    Binding(CTRL+F9,
    ParameterizedCommand(Command(org.eclipse.mylyn.tasks.ui.command.activateTask,Activate Task,
    ,
    Category(org.eclipse.ui.category.navigate,Navigate,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(CTRL+F9,
    ParameterizedCommand(Command(RunSQLAction,Run SQL,
    Run SQL,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)

    !ENTRY org.eclipse.ui 4 0 2012-02-23 15:26:44.211
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.OutOfMemoryError: PermGen space
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.getMethod0(Class.java:2670)
    at java.lang.Class.getMethod0(Class.java:2679)
    at java.lang.Class.getMethod0(Class.java:2679)
    at java.lang.Class.getMethod0(Class.java:2679)
    at java.lang.Class.getMethod(Class.java:1603)
    at org.eclipse.ui.internal.handlers.WidgetMethodHandler.getMethodToExecute(WidgetMethodHandler.java:265)
    at org.eclipse.ui.internal.handlers.WidgetMethodHandler.isHandled(WidgetMethodHandler.java:247)
    at org.eclipse.ui.internal.handlers.WidgetMethodHandler.updateEnablement(WidgetMethodHandler.java:57)
    at org.eclipse.ui.internal.handlers.WidgetMethodHandler$1.handleEvent(WidgetMethodHandler.java:49)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
    at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2822)
    at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:2403)
    at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:5152)
    at org.eclipse.swt.widgets.Table.WM_SETFOCUS(Table.java:6261)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4598)
    at org.eclipse.swt.widgets.Table.windowProc(Table.java:5893)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
    at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
    at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1098)
    at org.eclipse.swt.widgets.Control.setSavedFocus(Control.java:3599)
    at org.eclipse.swt.widgets.Decorations.restoreFocus(Decorations.java:821)
    at org.eclipse.swt.widgets.Shell.open(Shell.java:1248)
    at org.eclipse.jface.window.Window.open(Window.java:797)
    at org.eclipse.ui.internal.views.markers.ExtendedMarkersView.openFiltersDialog(ExtendedMarkersView.java:1173)
    at org.eclipse.ui.internal.views.markers.ConfigureContentsDialogHandler.execute(ConfigureContentsDialogHandler.java:35)
    at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)

    #323635 Reply

    edbras
    Member

    This is a very expensive day 4me, as I don’t seem to do any work with MyEclipse :(…
    Below is a screenshot on how myeclipse starts with a clean workspace, and no projects.

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

    Scott Anderson
    Participant

    Ed,

    First, this is very peculiar and I’ve been doing some experimentation to see if I can figure out what’s going on. I’ve got a Windows 7 64-bit installation of MyEclipse 10 with all options installed.

    To try to verify the memory issues I installed TestNG using the MyEclipse Configuration Center’s “Software” tab. I just searched for it in “Browse Software”, added it to the profile and restarted. When the workspace came back up the memory usage looked fine for the size of my workspace.

    Can you answer the following for me so we might be able to see what’s going on here?

    1) Please restart MyEclipse, dismiss any memory dialog, and close the configuration center. Can you turn on the “Show Heap Status” checkbox in Preferences > General so we can get a more exact view of memory usage. What does the heap status at the bottom of the window report?
    2) Restart MyEclipse again so it comes into the MyEclipse perspective, not the configuration center. How’s the memory usage now? I’m trying to determine if the configuration center is using a lot of ram for some reason.
    3) What method did you use to install TestNG? Did you install it as I did or do something else?
    4) If the memory usage in the MyEclipse perspective looks OK in the status bar, can you clear your log file and then see if you can run TestNG as you’d like? If not, what errors are you seeing now?

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: testNG and Maven4Eclipse plugin hate eachother ;)

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