Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDT IDETipManager: JsonSyntaxException #128

Closed
jukzi opened this issue May 16, 2023 · 0 comments · Fixed by #129
Closed

JDT IDETipManager: JsonSyntaxException #128

jukzi opened this issue May 16, 2023 · 0 comments · Fixed by #129

Comments

@jukzi
Copy link
Contributor

jukzi commented May 16, 2023

Somehow Tip of Today must be broken:

Visible when running any PluginTest - for example FileSystemResourceManagerTest as Plugin Test

!ENTRY org.eclipse.tips.json 4 0 2023-05-16 09:32:37.173
!MESSAGE com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2 path $
!STACK 0
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2 path $
	at com.google.gson.JsonParser.parseReader(JsonParser.java:76)
	at org.eclipse.tips.json.JsonTipProvider.loadJsonObject(JsonTipProvider.java:113)
	at org.eclipse.tips.json.JsonTipProvider.loadNewTips(JsonTipProvider.java:84)
	at org.eclipse.jdt.tips.user.internal.JDTTipProvider.loadNewTips(JDTTipProvider.java:55)
	at org.eclipse.tips.ide.internal.IDETipManager$1.run(IDETipManager.java:93)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
	Suppressed: java.lang.IllegalArgumentException: Self-suppression not permitted
		at java.base/java.lang.Throwable.addSuppressed(Throwable.java:1072)
		at org.eclipse.tips.json.JsonTipProvider.loadJsonObject(JsonTipProvider.java:119)
		... 4 more
	Caused by: [CIRCULAR REFERENCE: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2 path $]
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2 path $
	at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1659)
	at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1465)
	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:551)
	at com.google.gson.stream.JsonReader.peek(JsonReader.java:433)
	at com.google.gson.JsonParser.parseReader(JsonParser.java:71)
	... 5 more
jukzi pushed a commit to jukzi/eclipse.platform.ua that referenced this issue May 16, 2023
@jukzi jukzi linked a pull request May 16, 2023 that will close this issue
jukzi pushed a commit to jukzi/eclipse.platform.ua that referenced this issue Jun 5, 2023
jukzi pushed a commit to jukzi/eclipse.platform.ua that referenced this issue Jun 5, 2023
jukzi pushed a commit to jukzi/eclipse.platform.ua that referenced this issue Jun 9, 2023
jukzi pushed a commit to jukzi/eclipse.platform.ua that referenced this issue Jun 9, 2023
akurtakov pushed a commit that referenced this issue Jun 9, 2023
@jukzi jukzi closed this as completed in #129 Jun 9, 2023
jukzi pushed a commit that referenced this issue Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant