ExpediaGroup / jarviz

Jarviz is dependency analysis and visualization tool designed for Java applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JsonParseException: Unrecognized token 'PK'

galan opened this issue · comments

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

Got this error too.

JARVIZ: jarviz_0.1.5.jar
JAVA: openjdk version "1.8.0_382"
NODE/NPM: v12.22.9 / 8.5.1