[
https://issues.jboss.org/browse/JBIDE-25772?page=com.atlassian.jira.plugi...
]
Ondrej Dockal commented on JBIDE-25772:
---------------------------------------
My config.json from ./minishift folder was corrupted and I got this on starting devstudio
in new workspace:
Error Log showed error with message:
{code}
Error parsing /home/odockal/.minishift/config/config.json
{code}
and stack trace...
{code}
java.lang.IllegalArgumentException: Invalid character: b
at org.jboss.dmr.JSONParserImpl.invalid(JSONParserImpl.java:133)
at org.jboss.dmr.JSONParser.yyLex(JSONParser.java:584)
at org.jboss.dmr.JSONParser.yyParse(JSONParser.java:650)
at org.jboss.dmr.ModelNode.fromJSONString(ModelNode.java:1293)
at
org.jboss.tools.openshift.cdk.server.core.internal.detection.UnifiedMinishiftRuntimeDetector.getHypervisor(UnifiedMinishiftRuntimeDetector.java:257)
at
org.jboss.tools.openshift.cdk.server.core.internal.detection.UnifiedMinishiftRuntimeDetector.initializeServer(UnifiedMinishiftRuntimeDetector.java:237)
at
org.jboss.tools.openshift.cdk.server.core.internal.detection.AbstractCDKRuntimeDetector.initializeRuntime(AbstractCDKRuntimeDetector.java:71)
at
org.jboss.tools.runtime.core.internal.RuntimeDetector.initializeRuntime(RuntimeDetector.java:149)
at
org.jboss.tools.runtime.core.util.RuntimeInitializerUtil.initializeRuntimes(RuntimeInitializerUtil.java:56)
at
org.jboss.tools.runtime.core.util.RuntimeInitializerUtil.initializeRuntimesFromFolder(RuntimeInitializerUtil.java:36)
at
org.jboss.tools.runtime.ui.internal.startup.JBossRuntimeStartup.initializeCDKRuntimes(JBossRuntimeStartup.java:98)
at
org.jboss.tools.runtime.ui.internal.startup.JBossRuntimeStartup.initializeRuntimes(JBossRuntimeStartup.java:56)
at
org.jboss.tools.runtime.ui.internal.startup.RuntimeScanner$1.run(RuntimeScanner.java:79)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
{code}
User can detect where the problem is, I am satisfied. Thanks!
Verified on 11.3.0.AM3-v20180322-1027-B2194.
java.lang.IllegalArgumentException: JSON parser error after first
start of DevStudio
------------------------------------------------------------------------------------
Key: JBIDE-25772
URL:
https://issues.jboss.org/browse/JBIDE-25772
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdk, openshift, runtime-detection, server
Affects Versions: 4.5.3.AM2
Environment: DevStudio: 11.3.0.AM2-v20180301-2015-B2134
CDK 3.3.0
F27
Reporter: Josef Kopriva
Assignee: Rob Stryker
Fix For: 4.5.3.AM3
{code:java}
eclipse.buildId=11.3.0.AM2-v20180301-2015-B2134
java.version=1.8.0_161
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product com.jboss.devstudio.core.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product
com.jboss.devstudio.core.product
org.eclipse.core.jobs
Error
Tue Mar 06 09:55:15 CET 2018
An internal error occurred during: "Searching runtimes...".
java.lang.IllegalArgumentException: JSON parser error
at org.jboss.dmr.ModelNode.fromJSONString(ModelNode.java:1294)
at
org.jboss.tools.openshift.cdk.server.core.internal.detection.CDK3RuntimeDetector.getHypervisor(CDK3RuntimeDetector.java:142)
at
org.jboss.tools.openshift.cdk.server.core.internal.detection.CDK3RuntimeDetector.initializeServer(CDK3RuntimeDetector.java:123)
at
org.jboss.tools.openshift.cdk.server.core.internal.detection.AbstractCDKRuntimeDetector.initializeRuntime(AbstractCDKRuntimeDetector.java:59)
at
org.jboss.tools.runtime.core.internal.RuntimeDetector.initializeRuntime(RuntimeDetector.java:149)
at
org.jboss.tools.runtime.core.util.RuntimeInitializerUtil.initializeRuntimes(RuntimeInitializerUtil.java:56)
at
org.jboss.tools.runtime.core.util.RuntimeInitializerUtil.initializeRuntimesFromFolder(RuntimeInitializerUtil.java:36)
at
org.jboss.tools.runtime.ui.internal.startup.JBossRuntimeStartup.initializeCDKRuntimes(JBossRuntimeStartup.java:98)
at
org.jboss.tools.runtime.ui.internal.startup.JBossRuntimeStartup.initializeRuntimes(JBossRuntimeStartup.java:56)
at
org.jboss.tools.runtime.ui.internal.startup.RuntimeScanner$1.run(RuntimeScanner.java:79)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)