[JBoss JIRA] (JBIDE-26099) SSP Server does not work correctly when running in Apache Felix
by Denis Golovin (JIRA)
Denis Golovin created JBIDE-26099:
-------------------------------------
Summary: SSP Server does not work correctly when running in Apache Felix
Key: JBIDE-26099
URL: https://issues.jboss.org/browse/JBIDE-26099
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: stack-server-protocol
Reporter: Denis Golovin
Assignee: Rob Stryker
Priority: Critical
When running ssp distribution with apache felix findServerBeans request fails with exception below:
{code}Jun 15, 2018 12:12:01 AM org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer fireError
SEVERE: Unable to invoke no-args constructor for class org.jboss.tools.ssp.api.dao.DiscoveryPath. Register an InstanceCreator with Gson for this type may fix this problem.
java.lang.RuntimeException: Unable to invoke no-args constructor for class org.jboss.tools.ssp.api.dao.DiscoveryPath. Register an InstanceCreator with Gson for this type may fix this problem.
at com.google.gson.internal.ConstructorConstructor$14.construct(ConstructorConstructor.java:226)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:210)
at com.google.gson.Gson.fromJson(Gson.java:887)
at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.fromJson(MessageTypeAdapter.java:298)
at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.parseParams(MessageTypeAdapter.java:229)
at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.read(MessageTypeAdapter.java:115)
at org.eclipse.lsp4j.jsonrpc.json.adapters.MessageTypeAdapter.read(MessageTypeAdapter.java:51)
at com.google.gson.Gson.fromJson(Gson.java:887)
at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.parseMessage(MessageJsonHandler.java:113)
at org.eclipse.lsp4j.jsonrpc.json.MessageJsonHandler.parseMessage(MessageJsonHandler.java:108)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:182)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:92)
at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:95)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.UnsupportedOperationException: Cannot allocate class org.jboss.tools.ssp.api.dao.DiscoveryPath
at com.google.gson.internal.UnsafeAllocator$4.newInstance(UnsafeAllocator.java:104)
at com.google.gson.internal.ConstructorConstructor$14.construct(ConstructorConstructor.java:223)
... 17 more
{code}
Running server-wildfly with maven
{code}mvn exec:java -f server-wildfly{code}
works fine
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (JBDS-4703) Auto build is not working for maven project
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBDS-4703?page=com.atlassian.jira.plugin.... ]
Ondrej Dockal closed JBDS-4703.
-------------------------------
Cannot reproduce anymore in devstudio 12.0.0.AM3-v20180614-1606-B2737.
> Auto build is not working for maven project
> -------------------------------------------
>
> Key: JBDS-4703
> URL: https://issues.jboss.org/browse/JBDS-4703
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: maven
> Affects Versions: 12.0.0.AM1
> Environment: F27, F28, Win10
> Red Hat JBoss Developer Studio
> Version: 12.0.0.AM1
> Build id: AM1-v20180508-1631-B2428
> Build date: 20180508-1631
> Reporter: Josef Kopriva
> Assignee: Nick Boldt
> Priority: Critical
> Fix For: 12.0.0.AM3
>
> Attachments: test.zip
>
>
> Auto build is not working.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months