You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logfile:
2015-08-20 15:33:34,490 [ZAP-ProxyThread-404] ERROR ZAP$UncaughtExceptionLogger - Exception in thread "ZAP-ProxyThread-404"
net.sf.json.JSONException: A JSONObject text must begin with '{' at character 1 of 1
at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:499)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:972)
at net.sf.json.JSONObject._fromString(JSONObject.java:1201)
at net.sf.json.JSONObject.fromObject(JSONObject.java:165)
at net.sf.json.JSONObject.fromObject(JSONObject.java:134)
at org.zaproxy.zap.extension.plugnhack.PlugNHackAPI.handleApiAction(PlugNHackAPI.java:106)
at org.zaproxy.zap.extension.api.API.handleApiRequest(Unknown Source)
at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(Unknown Source)
at org.parosproxy.paros.core.proxy.ProxyThread.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The text was updated successfully, but these errors were encountered:
Steps to reproduce the issue:
http://zap/JSON/pnh/action/monitor/?zapapiformat=JSON&id=1&message=testing
Logfile:
2015-08-20 15:33:34,490 [ZAP-ProxyThread-404] ERROR ZAP$UncaughtExceptionLogger - Exception in thread "ZAP-ProxyThread-404"
net.sf.json.JSONException: A JSONObject text must begin with '{' at character 1 of 1
at net.sf.json.util.JSONTokener.syntaxError(JSONTokener.java:499)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:972)
at net.sf.json.JSONObject._fromString(JSONObject.java:1201)
at net.sf.json.JSONObject.fromObject(JSONObject.java:165)
at net.sf.json.JSONObject.fromObject(JSONObject.java:134)
at org.zaproxy.zap.extension.plugnhack.PlugNHackAPI.handleApiAction(PlugNHackAPI.java:106)
at org.zaproxy.zap.extension.api.API.handleApiRequest(Unknown Source)
at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(Unknown Source)
at org.parosproxy.paros.core.proxy.ProxyThread.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
The text was updated successfully, but these errors were encountered: