errors when eclipse loading - eclipse

In my Eclipse, I see error messages coming in a window, and every project has a red X.
Here are some of the errors:
An internal error occurred during: "Android Library Update".
java.lang.NullPointerException
parseSdkContent failed
java.lang.NullPointerException
An internal error occurred during: "Initializing Java Tooling".
java.lang.NullPointerException
Parsing Data for android-3 failed
java.lang.NullPointerException
Why is this?
WHAT I DID: I deleted the eclipse folder and downloadd again, and now it works properly!

The error messages indicate that your Android SDK installation (outside Eclipse) is somehow corrupted. The SDK installation is in the path which you specified in Window->Preferences->Android->SDK location.
You can delete that folder (with Eclipse being closed), download a new version from http://developer.android.com/sdk/index.html and run the Android SDK manager again afterwards in Eclipse (to check if there are more updates or drivers to be installed). That should fix your issues.
Your emulator devices remain untouched during this process, they are stored in a different directory.

Related

Error publishing to bluemix. "Development Mode on"

I'm trying to publish an application to bluemix.
1. I have enabled development mode. Right click the application -> Enable Development Mode.
2. I make a change in a servlet.
3. Right click on "Bluemix Server" -> Publish.
Then it throws the error: 'Publishing to IBM Bluemix...' has encountered a problem.
An internal error occurred during: "Publishing to IBM Bluemix..."
The details: An internal error occurred during: "Publishing to IBM Bluemix...".
com/ibm/cftools/branding/internal/CloudFoundryBluemixServer.isSso()Z
Eclipse Neon 4.6.0
I'm runing java:
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
IBM Bluemix tools: 1.0.13 v20160902_1659
the .log file:
!ENTRY org.eclipse.core.jobs 4 2 2016-11-11 10:52:27.692
!MESSAGE An internal error occurred during: "Publishing to IBM Bluemix...".
!STACK 0
java.lang.NoSuchMethodError: com.ibm.cftools.branding.internal.CloudFoundryBluemixServer.isSso()Z
at com.ibm.cftools.branding.internal.CloudFoundryBluemixServer.createServerConnection(CloudFoundryBluemixServer.java:254)
at com.ibm.cftools.branding.internal.CloudFoundryBluemixServerBehaviour.publishModule(CloudFoundryBluemixServerBehaviour.java:562)
at com.ibm.cftools.branding.internal.CloudFoundryBluemixServerBehaviour.publishModules(CloudFoundryBluemixServerBehaviour.java:433)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:987)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3172)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
If you are hitting this issue you may either:
Update your Eclipse dependencies to the latest provided by Eclipse Tools for Cloud Foundry (Eclipse CFT). In the workbench, select Help (menu item) > Check for Updates. This should provide you with a list of plug-ins to upgrade.
Or, failing this, you may install Eclipse Neon.1 or higher to resolve the issue, as Eclipse Neon.1 includes the latest version of these dependencies.

Eclipse : Errors occurred during the build

Every time I try to run my project as an Android Application this error shows up:
Errors occurred during the build. Errors running builder 'Android
Package Builder' on project 'projectname'.
com/android/dx/command/dexer/Main : Unsupported major.minor version
52.0
Everything was fine before I shut down my laptop when a update came and i didn't wait until it ends. I toked of the power adapter from the wall and next day the laptop won't turn on. I formatted it then reinstalled Eclipse, JDK and SDK's and then this error shows up.

Eclipse Error occurred during initialization of VM google app engine

Just did a fresh install of Eclips mars.2 and installed the google app engine plug in.
Imported an existing maven project, and trying to run it on the "Google App Engine at Llocal host"
Getting this error when I run it. I'm not even sure where to start on this, I'm just following the tutorial.
Any ideas?
Error occurred during initialization of VM
agent library failed to init: instrument
Error opening zip file or JAR manifest missing : C:\Stuff\Programming

IBM Worklight 6.0 - Build issues

I am just running a test app, and my build fails with the following logs, I have tried restarting, changing workpace, creating test app but dint work. please let me know.
ipad build failed: Cannot overwrite template file '/Users/mspssmac-pc232938/Documents/Projects/FnApp/testApp/apps/testApp/ipad/native/Settings.bundle/Root.plist'
[2013-08-23 12:04:10] FWLST1040E: iphone build failed: Cannot overwrite template file '/Users/mspssmac-pc232938/Documents/Projects/FnApp/testApp/apps/testApp/iphone/native/Settings.bundle/Root.plist'
[2013-08-23 12:04:10] A core eclipse exception has occurred: Failed to read project description file from location '/Users/mspssmac-pc232938/Documents/Projects/FnApp/testApp/apps/testApp/android/native/.project'.
Thanks
djrecker
Try deleting the native folder
Try running Eclipse with the -clean flag
Is this a shared workspace between Eclipses? Does it work with a local workspace?
See if this helps: Worklight on OS X, iPhone and Android builds fail due to missing info.plist and other files
You have also asked this here: IBM Worklight - Build failed
A common issue for all seems to be:
A core eclipse exception has occurred: Failed to read project
description file from location ... [path to .project file]

unable to open mkb files in windows

Am getting an error while opening .mkb files of marmalade in windows.
It shows the following error while trying to open the sample applications .mkb file :
C:\Marmalade\6.2\s3e\makefile_builder\mkb.py
C:\Marmalade\6.2\examples\IwGx\IwGxBasicLighting.mkb
Building project: c:/Marmalade/6.2/examples/IwGx/IwGxBasicLighting.mkb
Executing: 'c:\marmalade\6.2\s3e\bin\mdev.bat update'
Downloading: http://source.madewithmarmalade.com/packages/6.2/Packages
error: error downloading url: http://source.madewithmarmalade.com/packages/6.2/Packages (<urlopen error (10060, 'Operation timed out')>)
c:/marmalade/6.2/modules/iwutil/iwutil.mkf(19) :
error: Executing 'c:\marmalade\6.2\s3e\bin\mdev.bat update' failed. (return code 1)
FAILED (error code=3)*
Thanks!
You need to have any active internet connection to open the mkb. Marmalade needs to download certain update files for license check and module updates to work correctly. Since you might be running marmalade for the first time, it throws the error.