Wowza Community

Verify Error in Wowza Streaming Engine Module with Google Cloud

I developed an external Wowza Module by using the Wowza SDK in order to update Google Cloud Datastore when the live stream goes on.

I used google-cloud-datastore-1.4.0 and WowzaStreamingEngine-4.7.1.

This error seems to occur when my module tries to put an Entity on Datastore.

Entity task = Entity.newBuilder(key)
        .set("id", id)
        .set("val", a_val)
        .build();
datastore.put(task);  // <- The point where Verify Error occures

And Error Message is

java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    com/google/api/AnnotationsProto.registerAllExtensions(Lcom/google/protobuf/ExtensionRegistryLite;)V @4: invokevirtual
  Reason:
    Type 'com/google/protobuf/GeneratedMessage$GeneratedExtension' (current frame, stack[1]) is not assignable to 'com/google/protobuf/ExtensionLite'
  Current Frame:
    bci: @4
    flags: { }
    locals: { 'com/google/protobuf/ExtensionRegistryLite' }
    stack: { 'com/google/protobuf/ExtensionRegistryLite', 'com/google/protobuf/GeneratedMessage$GeneratedExtension' }
  Bytecode:
    0x0000000: 2ab2 0003 b600 04b1

Could you tell me the way to solve this error.

thanks.