Error: Unable to find property 'application' on class: com.google.apphosting.utils.confi g.IndexYamlReader$IndexYaml

709 views
Skip to first unread message

Sridhar Nalam

unread,
Oct 18, 2013, 9:12:02 AM10/18/13
to google-a...@googlegroups.com
I am trying to vacuum unused indexes from hosted app engine java application. Before this i successfully deleted the unused indexes with command 

>appengine-java-sdk-1.8.5\bin\appcfg.cmd vacuum_indexes C:\MyGAEJavaApp\war

But this time, Exactly dont know what happed, its showing error as:-

Please visit https://developers.google.com/appengine/downloads for the latest SDK.
********************************************************
Reading application configuration data...
Oct 18, 2013 3:50:11 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml

INFO: Successfully processed C:/MyGAEJavaApp/war\WEB-INF/appengine-web.xml
Oct 18, 2013 3:50:11 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:/MyGAEJavaApp/war\WEB-INF/web.xml
Oct 18, 2013 3:50:11 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:/MyGAEJavaApp/war\WEB-INF/cron.xml
Oct 18, 2013 3:50:11 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed C:/MyGAEJavaApp/war\WEB-INF/queue.xml
Oct 18, 2013 3:50:11 PM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
INFO: Successfully processed C:/MyGAEJavaApp/war\WEB-INF/datastore-indexes.
xml
Oct 18, 2013 3:50:11 PM com.google.apphosting.utils.config.IndexesXmlReader readConfigXml
INFO: Successfully processed C:\MyGAEJavaApp\war\WEB-INF\appengine-generate
d\datastore-indexes-auto.xml

Beginning interaction for module default...
10% Found 4 local index definitions.

Error Details:
Line 0, column 12: Unable to find property 'application' on class: com.google.apphosting.utils.confi
g.IndexYamlReader$IndexYaml

Unable to perform vacuum_indexes
Unable to perform vacuum_indexes
Please see the logs [C:\Users\sridhar_pc\AppData\Local\Temp\appcfg922191814490203325.log] for furthe
r information.

Log file is:-

com.google.appengine.tools.admin.AdminException: Unable to perform vacuum_indexes
at com.google.appengine.tools.admin.AppAdminImpl.vacuumIndexes(AppAdminImpl.java:346)
at com.google.appengine.tools.admin.AppCfg$VacuumIndexesAction.execute(AppCfg.java:1605)
at com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:327)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:210)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:121)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:117)
Caused by: com.google.apphosting.utils.config.AppEngineConfigException: Line 0, column 12: Unable to find property 'application' on class: com.google.apphosting.utils.config.IndexYamlReader$IndexYaml
at com.google.apphosting.utils.config.IndexYamlReader.parseMultiple(IndexYamlReader.java:158)
at com.google.appengine.tools.admin.IndexDeleter.diffIndexesOnServer(IndexDeleter.java:72)
at com.google.appengine.tools.admin.IndexDeleter.deleteUnusedIndexes(IndexDeleter.java:186)
at com.google.appengine.tools.admin.AppAdminImpl.vacuumIndexes(AppAdminImpl.java:342)
... 5 more
Caused by: com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader$YamlReaderException: Line 0, column 12: Unable to find property 'application' on class: com.google.apphosting.utils.config.IndexYamlReader$IndexYaml
at com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.readValueInternal(YamlReader.java:259)
at com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.readValue(YamlReader.java:150)
at com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.read(YamlReader.java:106)
at com.google.appengine.repackaged.net.sourceforge.yamlbeans.YamlReader.read(YamlReader.java:91)
at com.google.apphosting.utils.config.IndexYamlReader.parseMultiple(IndexYamlReader.java:203)
at com.google.apphosting.utils.config.IndexYamlReader.parseMultiple(IndexYamlReader.java:156)
... 8 more

Somebody please help me to solve this issue. 

Thank you.

 


appcfg684191747556582183.log

Vinny P

unread,
Oct 21, 2013, 7:12:56 PM10/21/13
to google-a...@googlegroups.com
On Fri, Oct 18, 2013 at 8:12 AM, Sridhar Nalam <sridha...@kawanan.com> wrote:
I am trying to vacuum unused indexes from hosted app engine java application. Before this i successfully deleted the unused indexes with command 

>appengine-java-sdk-1.8.5\bin\appcfg.cmd vacuum_indexes C:\MyGAEJavaApp\war

But this time, Exactly dont know what happed, its showing error as:- 
Error Details:
Line 0, column 12: Unable to find property 'application'



Rerun the command using the 1.8.6 SDK: https://developers.google.com/appengine/downloads 
It looks like something changed within the App Engine backend this release.
 
 
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

kest...@pogoapps.com

unread,
Oct 22, 2013, 1:54:19 PM10/22/13
to google-a...@googlegroups.com
I'm getting the exact same error, but using the Google maven plugin, which I'm pretty sure just calls appcfg under the covers. I tried using 1.8.4 and then using 1.8.6, but in both cases I got the same error.

The confusing part is why I'm getting a YAML parser error when I'm not actually using a YAML config file; we're using java and an XML file.

William

unread,
Oct 22, 2013, 4:13:51 PM10/22/13
to google-a...@googlegroups.com
I'm having the same issue.  I tired to use sdk-1.8.6 and still have get the same error as reported here.

husayt

unread,
Oct 23, 2013, 7:26:32 AM10/23/13
to google-a...@googlegroups.com
We have the same issue and I use appengine 1.8.6.
It seems like a bug in GAE.

Ryan Huebsch

unread,
Oct 23, 2013, 9:45:38 AM10/23/13
to google-a...@googlegroups.com
This is a known issue with the Java SKDs. Please see the issue tracker for more details and potential workarounds:


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Vizay Soni

unread,
May 2, 2014, 7:42:32 AM5/2/14
to google-a...@googlegroups.com
Yes, Getting the same issue.

I am using GAE 1.8.2 version.

any solutions yet?

Vinny P

unread,
May 3, 2014, 1:39:38 AM5/3/14
to google-a...@googlegroups.com
On Fri, May 2, 2014 at 6:42 AM, Vizay Soni <vs4v...@gmail.com> wrote:
Yes, Getting the same issue.

I am using GAE 1.8.2 version.

any solutions yet?


The Google poster above you ( https://groups.google.com/d/msg/google-appengine/GPrigTyq8No/M02XBgHHk-oJ ) seems to indicate that the problem is solved in the 1.8.7 App Engine release. Is that solution not working for you?

Saurabh Mittal

unread,
Nov 3, 2017, 9:01:13 AM11/3/17
to Google App Engine
I am using 1.9.56 and getting error "Unable to find property 'env' on class: com.google.apphosting.utils.config.AppYaml"
Reply all
Reply to author
Forward
0 new messages