Skip to Content

Hi all,

i came across a strange error last week and it had cost me a lot of time and nerves. I had created a BPM model with custom tech tasks, as usual I imported some complex types from ESR and set them as In / Output structure. But when the structure changed and i tried to reopen the wizard for custom tech… nothing happened. I restarted the NWDS several times, “reinstalled” it, tried different version etc. I clicked the hell out of this button but nothing happened… The log gave me the same error every time:

CampareBug1.png

I searched around in SCN for a solution but could not find any. So i was stalking a bit in the Eclipse community and found this Bug report:

–> https://bugs.eclipse.org/bugs/show_bug.cgi?id=361121

According to this, the error occurs due to badly implemented comparators which where silently ignored in 1.6 but since 1.7 they crash. Because i can’t do any changes on the SAP Plugins, the workaround was quite simple. Allow the Arrays util to use LegacyMergeSort. Just add “-Djava.util.Arrays.useLegacyMergeSort=true” to your ini file and it works again. Issue took so many time and the solution was so easy. I hope SAP is working on this one.

Have fun.

BR,

Tobias

To report this post you need to login first.

8 Comments

You must be Logged on to comment or reply to a post.

  1. Rene Funke

    Hi Tobias,

    I am experiencing exactly the same behaviour and getting frustrated.

    When adding your recommended parameter to my eclipse.ini, Eclipse won’t start anymore. Where and how should it be added to the file?

    Thanx a mil.

    At the Moment my eclipse.ini reads as follows:

    -startup
    plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
    –launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
    -product
    org.eclipse.epp.package.jee.product
    –launcher.defaultAction
    openFile
    –launcher.XXMaxPermSize
    256M
    -showsplash
    org.eclipse.platform
    –launcher.XXMaxPermSize
    256m
    –launcher.defaultAction
    openFile
    –launcher.appendVmargs
    -vmargs
    -Dosgi.requiredJavaVersion=1.7
    -Xms256m
    -Xmx1024m

    (0) 
    1. Tobias Hamdorf Post author

      Hi Rene, sorry for the late reply but i have been on vacation for the last two weeks. I just added it on the end of the ini file:

      […]
      -vmargs
      -Dosgi.requiredJavaVersion=1.7
      -Xms256m
      -Xmx1024m
      -Djava.util.Arrays.useLegacyMergeSort=true

      (1) 

Leave a Reply