Skip to content

owlbot-java: NoneType object is not iterable #1300

@chingor13

Description

@chingor13

Owlbot postprocessor image updater is failing on the googleapis/java-deploy repository:

https://pantheon.corp.google.com/cloud-build/builds;region=global/dcab069c-3b7c-42d2-ab10-7ab2d52e21c2;step=9?project=repo-automation-bots

...
Generating missing pom.xml...
/owlbot
updating modules in cloud pom.xml
Traceback (most recent call last):
  File "/owlbot/src/fix-poms.py", line 486, in <module>
    main()
  File "/owlbot/src/fix-poms.py", line 422, in main
    update_cloud_pom(f"{artifact_id}/pom.xml", proto_modules, grpc_modules)
  File "/owlbot/src/fix-poms.py", line 96, in update_cloud_pom
    for m in dependencies
TypeError: 'NoneType' object is not iterable

Metadata

Metadata

Assignees

Labels

lang: javaIssues specific to Java.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions