Tuesday, July 22, 2014

Generate Cloud Endpoint Client Library

Aging, this buggy, troublesome, terrible ..... Eclipse brings another nightmare to me.














I followed each steps carefully in the tutorial, and I even couldn't find the error log in Eclipse yet.



Where is the Error Log exactly?

Okay, eventually, I found the log file in my workspace C:\WorkSpace\.metadata

I must admit Eclipse has broken all my personal records, and has become the worst and the most unproductive IDE at all times.

The exact error is .... holy sh*t

!ENTRY com.google.gdt.eclipse.core 4 0 2014-07-22 17:17:30.983
!MESSAGE Unexpected Exception
!STACK 0
java.lang.NullPointerException
at com.google.gdt.eclipse.suite.ext.update.UpdateSiteURLGenerator.computeCompositeUpdateSiteURL(UpdateSiteURLGenerator.java:221)
at com.google.gdt.eclipse.suite.ext.update.UpdateSiteURLGenerator.generateEndpointsClassURL(UpdateSiteURLGenerator.java:121)
at com.google.gdt.eclipse.suite.ext.update.UpdateSitePingManager.sendGenEndpointsClassPing(UpdateSitePingManager.java:115)
at com.google.gdt.eclipse.suite.ext.update.EndpointsUsageReporter.onGenerateEndpointClass(EndpointsUsageReporter.java:30)
at com.google.gdt.eclipse.appengine.swarm.wizards.GenerateSwarmApiClassAction$1.run(GenerateSwarmApiClassAction.java:115)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!ENTRY com.google.gdt.eclipse.appengine.swarm 4 0 2014-07-22 17:17:34.060
!MESSAGE Unexpected Exception
!STACK 0
java.lang.reflect.InvocationTargetException
at com.google.gdt.eclipse.appengine.swarm.wizards.GenerateSwarmApiClassAction$1.run(GenerateSwarmApiClassAction.java:118)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.NullPointerException
at com.google.gdt.eclipse.suite.ext.update.UpdateSiteURLGenerator.computeCompositeUpdateSiteURL(UpdateSiteURLGenerator.java:221)
at com.google.gdt.eclipse.suite.ext.update.UpdateSiteURLGenerator.generateGaeBackendDeployURL(UpdateSiteURLGenerator.java:78)
at com.google.gdt.eclipse.suite.ext.update.AnalyticsPingManager.projectDetailsString(AnalyticsPingManager.java:183)
at com.google.gdt.eclipse.suite.ext.update.AnalyticsPingManager.sendGenEndpointsClassPing(AnalyticsPingManager.java:143)
at com.google.gdt.eclipse.suite.ext.update.EndpointsUsageReporter.onGenerateEndpointClass(EndpointsUsageReporter.java:31)
at com.google.gdt.eclipse.appengine.swarm.wizards.GenerateSwarmApiClassAction$1.run(GenerateSwarmApiClassAction.java:115)
... 1 more
Root exception:
java.lang.NullPointerException
at com.google.gdt.eclipse.suite.ext.update.UpdateSiteURLGenerator.computeCompositeUpdateSiteURL(UpdateSiteURLGenerator.java:221)
at com.google.gdt.eclipse.suite.ext.update.UpdateSiteURLGenerator.generateGaeBackendDeployURL(UpdateSiteURLGenerator.java:78)
at com.google.gdt.eclipse.suite.ext.update.AnalyticsPingManager.projectDetailsString(AnalyticsPingManager.java:183)
at com.google.gdt.eclipse.suite.ext.update.AnalyticsPingManager.sendGenEndpointsClassPing(AnalyticsPingManager.java:143)
at com.google.gdt.eclipse.suite.ext.update.EndpointsUsageReporter.onGenerateEndpointClass(EndpointsUsageReporter.java:31)
at com.google.gdt.eclipse.appengine.swarm.wizards.GenerateSwarmApiClassAction$1.run(GenerateSwarmApiClassAction.java:115)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

After spending a whole day, I decided to download the latest ADT SDK, and finally I could build my every first endpoints class by using the GPE. In addition, I found the error log


Yet, Eclipse won't let my headache go away. For sure, I have to reset and download all libraries, and, this time, the AVD manager and the SDK manager were gone missing in Eclipse interface.

No comments:

Post a Comment

Applying SMA10/20, SMA20/50 as trading signals

This is the comparison for results before and after applying SMA10/20 and SMA20/50 in the stock trader. Background Trading 3 stock ma...