Skip to content

DATA-GEN with %gen(json_DataGen(pJson)) #166

Description

@openmax

Hello,

I’m using the JWT plugin for authentication and I’ve encountered a problem in data-gen when handling "application/json".

Specifically, the issue seems related to this section of code:

data-gen problem %data(handle : 'doc=string') %gen(json_DataGen(pJson));

The error I receive is:
MCH3601 – Undefined pointer error

To verify the issue, I also tested the demo example in the noxdb project:

/JSONPARS9J.JSON-data-gen.rpgle

I encountered the same error there as well.

Thanks
Massimo F.

PS. os/400 7.5 and using NOXDB from this repository : noxDB @ dd27628

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions