Error when calling the dev_appserver through com.google.cloud.tools:appengine-maven-plugin

37 views
Skip to first unread message

Montasir Asaira

unread,
Mar 28, 2017, 7:41:57 AM3/28/17
to Google Cloud Developers, Joshua Fox
Hi all,

I'm trying to run a standard Java appengine server locally using the new com.google.cloud.tools:appengine-maven-plugin:1.2.1 with Google Cloud SDK [148.0.1].

When I do that I get TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'NoneType' full stack trace can be found in TypeError.txt

I looked that in the SDK code and found that this only happens when trying to stop the metrics module which it seems didn't started in the first place so I gave the variables a hard-coded values in order to let the dev_appserver continue so I can see the actual error.

That's when I started getting a parsing error while reading my appengine-web.xml or that's what I think, full error can be found in ParseError.txt.

My pom.xml is attached as well.

What I tried:-

  • Older versions of the maven plugin 1.0.0 same results
  • I downloaded the sample app guestbook and tried running it, it worked fine.
  • Compared both my app and the sample structure, both are the same
  • Copied the appengine-web.xml from the sample into my project, still the same errors

The dev_appserver is not getting any useful error message, what is going on if you can help please, is this the right place to post about this topic ?


Regards,

ParseError.txt
TypeError.txt
pom.xml
Reply all
Reply to author
Forward
0 new messages