Skip to content

Context capture crash when pressing "Load strings" #9

@aphexcx

Description

@aphexcx

E/AndroidRuntime: FATAL EXCEPTION: ContextCapture
Process: com.postmates.android.courier.dev, PID: 23067
java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
    at com.smartling.android.review.context.service.ContextWorker.a(SourceFile:126)
    at com.smartling.android.review.context.service.ContextWorker.loadStrings(SourceFile:112)
    at com.smartling.android.review.context.service.ContextServiceHandler.a(SourceFile:111)
    at com.smartling.android.review.context.service.ContextServiceHandler.handleMessage(SourceFile:58)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:154)
    at android.os.HandlerThread.run(HandlerThread.java:61)

The offending line (decompiled .class file):

  @Nullable
  private String a(SmartlingProject var1) {
    Iterator var2 = var1.getTargetLocales().iterator();

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions