[JBoss JIRA] (JBIDE-26101) CreateServer request fails when ssp is running in Apache Felix
by Denis Golovin (JIRA)
Denis Golovin created JBIDE-26101:
-------------------------------------
Summary: CreateServer request fails when ssp is running in Apache Felix
Key: JBIDE-26101
URL: https://issues.jboss.org/browse/JBIDE-26101
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: stack-server-protocol
Environment: server is running in Apache Felix as
{code}java -jar bin/felix.jar{code}
server/createServer request fails with exceptions
{code}SEVERE: Internal error: java.lang.reflect.InvocationTargetException
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:63)
at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:116)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:252)
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:181)
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:183)
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.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:61)
... 11 more
Caused by: java.lang.NoClassDefFoundError: org/jboss/tools/ssp/server/spi/model/polling/IPollResultListener
at org.jboss.tools.ssp.server.wildfly.servertype.impl.JBossServerFactory.createServerDelegate(JBossServerFactory.java:41)
at org.jboss.tools.ssp.server.model.ServerModel.createServer(ServerModel.java:97)
at org.jboss.tools.ssp.server.ServerManagementServerImpl.createServer(ServerManagementServerImpl.java:215)
... 16 more
Caused by: java.lang.ClassNotFoundException: org.jboss.tools.ssp.server.spi.model.polling.IPollResultListener not found by org.jboss.tools.ssp.server [12]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 19 more
{code}
Reporter: Denis Golovin
Assignee: Rob Stryker
Priority: Critical
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (JBIDE-26099) SSP Server does not work correctly when running in Apache Felix
by Denis Golovin (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26099?page=com.atlassian.jira.plugi... ]
Denis Golovin closed JBIDE-26099.
---------------------------------
Verified, works for me now.
> 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
> Affects Versions: 4.6.0.AM2
> Reporter: Denis Golovin
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.6.0.Final
>
>
> 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-4706) Use "Red Hat Developer Studio" instead of "Red Hat JBoss Developer Studio" in graphics & text
by Bob Davis (JIRA)
[ https://issues.jboss.org/browse/JBDS-4706?page=com.atlassian.jira.plugin.... ]
Bob Davis commented on JBDS-4706:
---------------------------------
Ok - I can coordinate with brand, Erika and the Middleware team on that.
As long as it's not a problem for legal.
Bob
> Use "Red Hat Developer Studio" instead of "Red Hat JBoss Developer Studio" in graphics & text
> ---------------------------------------------------------------------------------------------
>
> Key: JBDS-4706
> URL: https://issues.jboss.org/browse/JBDS-4706
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Task
> Components: build, installer
> Affects Versions: 12.0.0.AM1
> Reporter: Nick Boldt
> Assignee: Jeff MAURY
> Priority: Blocker
> Fix For: 12.0.0.AM3
>
> Attachments: DevStudio_iconproduction.zip, JBossPerspective.jpg, about_devstudio.png, devstudio12-central.png, devstudio_banner.png, heading.png, installer01.png, installer02.png, splash.bmp, uninstall.ico
>
>
> Branding has requested that we rename devstudio from "Red Hat JBoss Developer Studio" to "Red Hat Developer Studio".
> We'll need to collect graphics for use in the product and its website on https://devstudio.redhat.com/12/staging/updates/
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (JBIDE-26099) SSP Server does not work correctly when running in Apache Felix
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26099?page=com.atlassian.jira.plugi... ]
Rob Stryker resolved JBIDE-26099.
---------------------------------
Resolution: Done
* a06bbc7 - (HEAD -> master, origin/master, origin/HEAD) Add 0-arg constructors for all daos for OSGi case (12 seconds ago) <Rob Stryker>
I seriously don't know what is causing this issue. Why would 0-arg be required in one case and not another? This is very strange to me.
Either way, I added stub 0-arg constructors for all daos. Seems to fix the issue.
> 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
> Affects Versions: 4.6.0.AM2
> Reporter: Denis Golovin
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.6.0.Final
>
>
> 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] (JBIDE-26099) SSP Server does not work correctly when running in Apache Felix
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26099?page=com.atlassian.jira.plugi... ]
Rob Stryker updated JBIDE-26099:
--------------------------------
Affects Version/s: 4.6.0.AM2
> 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
> Affects Versions: 4.6.0.AM2
> Reporter: Denis Golovin
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.6.0.Final
>
>
> 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] (JBIDE-26099) SSP Server does not work correctly when running in Apache Felix
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26099?page=com.atlassian.jira.plugi... ]
Rob Stryker updated JBIDE-26099:
--------------------------------
Fix Version/s: 4.6.0.Final
> 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
> Affects Versions: 4.6.0.AM2
> Reporter: Denis Golovin
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.6.0.Final
>
>
> 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] (JBIDE-26100) base does not compile on JDK9/10
by Jeff MAURY (JIRA)
Jeff MAURY created JBIDE-26100:
----------------------------------
Summary: base does not compile on JDK9/10
Key: JBIDE-26100
URL: https://issues.jboss.org/browse/JBIDE-26100
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: runtime-detection
Affects Versions: 4.6.0.AM3
Reporter: Jeff MAURY
Assignee: Jeff MAURY
Fix For: 4.6.0.Final
base does not compile on JDK9-10: the import jdk.internal.dynalink.support.RuntimeContextLinkRequestImpl is not found
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months