Eclipse IBM MobileFirst Platform v7.1 Application stack overflow error - java

I made the configuration to Eclipse Juno Service Release 2 and Eclipse Mars.2 Release (4.5.2) on Windows 7 Prof SP1 and Mac OS Sierra. I already have installed Java 1.7.0_79 for the project purposes (I can't update Java nor Eclipse). I need to deploy an IBM MobileFirst Platform v7.1 app.
I'm trying to clean an Eclipse project with MobileFirst Platform plugin added, but when I run the command (menubar > Project > Clean > only myProject) I have the modal:
Problem Occurred. Validating 'my project' has encountered a problem.
An internal error occurred during: validating myProject
If I click in details button, it shows the message:
An internal error occurred during: ... java.lang.StackOverflowError.
I edited the file eclipse.ini, more precisely the -Xms and -Xmx properties, from 512m to 1024m, and from 1024m to 3072m.
Here is my eclipse.ini content file:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms1024m
-Xmx3072m
What else I need to do to avoid the stackOverflowError? Thanks.

Related

Eclipse Installation Errors

I have been trying to install Eclipse on my Windows 10 Dell PC.
Here's how my eclipse.ini file looks like originally:-
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.551.v20171108-1834
-product
org.eclipse.epp.package.java.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
--add-modules=ALL-SYSTEM
I have been trying to do the following:-
Changed version from 1.8 to 1.7 as I have installed Java 1.7
Added this before -vmargs
-vm
C:\Program Files\Java\jdk1.7.0_80\bin\javaw.exe
Also changing -Xmx1024m to -Xmx512m
But still some or the other error occurs and I am totally clueless about what is happening
I get errors like
Cannot create Java Virtual Machine
or
An error has occurred. See log \some\path in configuration folder whose content I am unable to understand
I don't have any workspace where I can delete .metadata/.plugins some file path to something call .snap where I can delete that
Also, tried -clean command, that doesn't works too.
I would start with cleaning your system, that means uninstall Java completely with all of its versions. Either that, or try to upload that log you cannot understand, maybe some of us will and it will shine a light on your situation.

Eclipse indigo not working properly

i am working with eclipse indigo , but it gives me strange behavior .
when i start eclipse indigo by double clicking on eclipse.exe it is not working ,it is showing (Not Responding) message continuously.
but if i start it from the command prompt than it is working fine .
i don't know what is the reason behind that.
i am attaching screen shot
1) eclipse which is not responding
2) command prompt from where it is working fine
Command Prompt
Eclipse Not Responding
following is the my eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms80m
-Xmx1024m

Java heap Space error in Eclipse again and again

I am getting Java Heap Space error in Eclipse again and again so I change config of Eclipse. But still no effect. I am not able to work properly because of it. Please help me to solve this issue.
Config:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSi512M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersionXms512m
-=1.7-Xmx1024m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=1024M
Turn off Lint and problem solved. You can do it by Window -> Preferences -> Android -> Lint Error Checking -> then untick checkboxes at top of page

Java crashes with Java was started but returned exit code=1

I use eclipse for android development.
Sometimes, if Google Chrome is running, it crashes and Eclipse also.
And I get message Java was started but returned exit code=1.
Full message is in print screen.
and my eclipse.ini :
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vm
C:/Program Files/Java/jdk1.7.0_51/jre/bin/server/jvm.dll
-vmargs
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=512m
If your JDK version is 32bit then download Eclipse or STS of 32 bit.
If your JDK version is 64bit then download Eclipse or STS of 64 bit.This worked for me

Eclipse won't open after update from Ninite.com

I had Eclipse Juno installed on my Win 8 laptop. I then went to http://ninite.com/ and along with about 10 other applications, chose Eclipse and JDK. I ran the Ninite installer and after I came back my eclipse was closed. I've restarted my computer, but I cannot open my eclipse anymore. I don't know where Eclipse was located before, but searching my C drive, I see that an eclipse folder exists on the root of the C drive. I click it, and click eclipse.exe and nothing happens. Any ideas at all?
Eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
java -version
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
Running eclipse.exe from cmd doesn't produce any output.
C:\eclipse>eclipse.exe
HIT ENTER
C:\eclipse>
Grab a copy of Eclipse from the eclipse.org site and backup/delete the eclipse folder on your hard-drive. then extract the bundle you got from Eclipse.org in its place.
Try looking at the eclipse log-files.
http://wiki.eclipse.org/FAQ_Where_can_I_find_that_elusive_.log_file%3F

Categories

Resources