JetBrains / JetBrains/ruby-type-inference

Severe: malformed JSON

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
135
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Sometimes server reports Severe: JsonSyntaxException.

There are two main reason of the issue: part of xml/html instead of json and concatenation of two jsons:

```
SEVERE: !{"method_name":"updated?","call_info_argc":"-1","call_info_kw_args":"","args_info":"","visibility":"PUBLIC","path":"/Users/vkkoshelev/work/rails/activesupport/lib/active_support/file_update_checker.rb","lineno":"61","receiver_name":"ActiveSupport::FileUpdateChecker","return_type_name":"FalseClass","gem_name":"","gem_version":""}{"method_name":"multiline?","call_info_argc":"-1","call_info_kw_args":"","args_info":"","visibility":"PUBLIC","path":"/Users/vkkoshelev/work/rails/activesupport/lib/active_support/core_ext/regexp.rb","lineno":"4","receiver_name":"Regexp","return_type_name":"FalseClass","gem_name":"","gem_version":""}!
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 332 path $
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.