Skip to content

JsonParseException: Unrecognized token 'PK' #56

Description

@galan

Library Version
master branch

Describe the bug
checkout, installed the lib, switching to cli dir and executing:

./jarviz analyze -a ~/dev/mylib.jar -f samples/filter.json

Resulted in

Java: Running /home/daniel/.jarviz/jarviz_0.1.5.jar
Analyze failed: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'PK': was expecting ('true', 'false' or 'null')
 at [Source: (StringReader); line: 1, column: 5]
	com.vrbo.jarviz.util.JsonUtils.fromJsonString(JsonUtils.java:78)
	com.vrbo.jarviz.AnalyzeCommand.main(AnalyzeCommand.java:145)

To Reproduce
Steps to reproduce the behavior. Please provide:

  • Jarviz version
    see above
  • Java version
    OpenJDK Runtime Environment Temurin-17.0.3+7 (build 17.0.3+7)
  • Node/NPM version
    not relevant

Expected behavior
generates some output file

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