[JBoss JIRA] (JBDS-4844) JavaTextDocumentService codeLens method uses null reference.
by Jeff MAURY (Jira)
[ https://issues.redhat.com/browse/JBDS-4844?page=com.atlassian.jira.plugin... ]
Jeff MAURY updated JBDS-4844:
-----------------------------
Fix Version/s: 12.x
> JavaTextDocumentService codeLens method uses null reference.
> ------------------------------------------------------------
>
> Key: JBDS-4844
> URL: https://issues.redhat.com/browse/JBDS-4844
> Project: Red Hat CodeReady Studio (devstudio)
> Issue Type: Bug
> Components: quarkus
> Affects Versions: 12.15.0.GA
> Reporter: Jeremy Whiting
> Priority: Minor
> Fix For: 12.x
>
>
> When starting JBoss Tools initially I see this nice stack trace.
> ??$ ~/java/eclipse/jbds-12/studio/codereadystudio &
> [2] 11558
> [whitingjr@burtha-f31] ~ $ log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.storage.file.FileSnapshot).
> log4j:WARN Please initialize the log4j system properly.
> May 28, 2020 9:52:40 AM com.redhat.microprofile.ls.MicroProfileLanguageServer initialize
> INFO: Initializing MicroProfile server 0.0.6-20200415-0830 with /usr/lib/jvm/java-11-openjdk-11.0.4.11-4.fc31.x86_64
> May 28, 2020 9:52:40 AM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError
> 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:67)
> at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
> at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
> at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
> at com.redhat.microprofile.ls.commons.ParentProcessWatcher.lambda$apply$0(ParentProcessWatcher.java:140)
> at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
> at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
> at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.lang.reflect.InvocationTargetException
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$null$0(GenericEndpoint.java:65)
> ... 12 more
> Caused by: java.lang.NullPointerException
> at com.redhat.microprofile.ls.JavaTextDocumentService.codeLens(JavaTextDocumentService.java:154)
> at com.redhat.microprofile.ls.MicroProfileTextDocumentService.codeLens(MicroProfileTextDocumentService.java:198)
> ... 17 more
> (Red Hat CodeReady Studio:11588): Gtk-CRITICAL **: 10:00:48.705: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar??
> I can ignore it. JBoss Tools loads and I can use it as an IDE.
> $ uname -a
> Linux burtha-f31 5.6.13-200.fc31.x86_64 #1 SMP Thu May 14 23:26:14 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
> $ java -version
> openjdk version "11.0.4" 2019-07-16
> OpenJDK Runtime Environment 18.9 (build 11.0.4+11)
> OpenJDK 64-Bit Server VM 18.9 (build 11.0.4+11, mixed mode, sharing)
> $
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-1528) Deploy or EAR/WAR should suggest deploying ds.xml too
by Josef Kopriva (Jira)
[ https://issues.redhat.com/browse/JBIDE-1528?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-1528.
--------------------------------
Closing, nothing to do.
> Deploy or EAR/WAR should suggest deploying ds.xml too
> ------------------------------------------------------
>
> Key: JBIDE-1528
> URL: https://issues.redhat.com/browse/JBIDE-1528
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: server
> Reporter: Samuel Mendenhall
> Priority: Major
> Fix For: 2.1.0.CR1
>
>
> Create a Seam project, deploy it, then remove it from the jboss server in the servers view. Right click on the project and Run As -> Run on Server then the main project ear/war will only be added to the project. The datasource file is no longer there, therefore, when the war is deployed it will fail because it needs the datasource. If I right click on the server and go to Add and Remove Projects, only the main project shows up, the datasouce does not.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-8782) Hot deployment of JAX-RS (RESTEasy) endpoints
by Josef Kopriva (Jira)
[ https://issues.redhat.com/browse/JBIDE-8782?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-8782.
--------------------------------
Closing, nothing to do.
> Hot deployment of JAX-RS (RESTEasy) endpoints
> ---------------------------------------------
>
> Key: JBIDE-8782
> URL: https://issues.redhat.com/browse/JBIDE-8782
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: server
> Reporter: Burrsitis Sutter
> Priority: Major
>
> Provide for hot deployment of JAX-RS (RESTEasy) services/endpoints. At this moment, adding a new JAX-RS endpoint (with AS6) seems to require server restart. Editing an already deployed JAX-RS service (again on AS6) seems to require "Full Publish".
> package com.burrsutter.jqueryresteasy;
> import javax.ws.rs.Path;
> import javax.ws.rs.GET;
> import javax.ws.rs.Produces;
> @Path("/helloworldjson")
> public class HelloWorldJSON {
> @GET
> @Produces("application/json")
> public String sayHello() {
> return "{ \"hello\" : \"world\" }";
> }
> }
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-6066) Wizard for Session Beans doesn't support "No-Interface Session Beans"
by Josef Kopriva (Jira)
[ https://issues.redhat.com/browse/JBIDE-6066?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-6066.
--------------------------------
Closing, nothing to do.
> Wizard for Session Beans doesn't support "No-Interface Session Beans"
> ---------------------------------------------------------------------
>
> Key: JBIDE-6066
> URL: https://issues.redhat.com/browse/JBIDE-6066
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 3.1.0.GA
> Reporter: Juergen Zimmermann
> Priority: Major
> Attachments: screenshot-wizard-session-bean.jpg
>
>
> I'm not sure if this is part of WTP or JBoss Tools.
> EJB 3.1 is implemented in JBoss 6.0.0.M2 and provides "no-interface session beans" in addition to stateless/stateful session beans.
> However, when using the wizard to create a new session bean, then only stateless or stateful session beans with either a local or remote interface can be created. I'll provide a screenshot to illustrate the issue.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-2481) Stacktrace after clicking JBoss "New-Server" icon
by Josef Kopriva (Jira)
[ https://issues.redhat.com/browse/JBIDE-2481?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-2481.
--------------------------------
Closing, nothing to do.
> Stacktrace after clicking JBoss "New-Server" icon
> -------------------------------------------------
>
> Key: JBIDE-2481
> URL: https://issues.redhat.com/browse/JBIDE-2481
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Reporter: Georg Sendt
> Priority: Critical
> Attachments: jboss_new_server.gif
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> I got the following stacktrace after clicking "New Server" icon (see screenshot)
> java.lang.NoClassDefFoundError: org/eclipse/wst/server/ui/internal/wizard/ClosableWizardDialog
> at org.jboss.tools.jst.web.ui.action.server.SelectServerActionDelegate.newServer(SelectServerActionDelegate.java:132)
> at org.jboss.tools.jst.web.ui.action.server.SelectServerActionDelegate.access$1(SelectServerActionDelegate.java:130)
> at org.jboss.tools.jst.web.ui.action.server.SelectServerActionDelegate$3.widgetSelected(SelectServerActionDelegate.java:120)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> Environment
> eclipse.buildId=I20080617-2000
> Windows XP
> jdk1.5.0_15
> org.jboss.ide.eclipse.archives.core (2.1.1.GA) "JBossTools Archives Core Plugin" [Active]
> org.jboss.ide.eclipse.archives.ui (2.1.1.GA) "JBossTools Archives UI Plugin" [Starting]
> org.jboss.ide.eclipse.as.classpath.core (1.1.2.GA) "JBoss AS Classpath Core Plug-in" [Starting]
> org.jboss.ide.eclipse.as.classpath.ui (1.1.2.GA) "JBoss AS Classpath Ui Plug-in" [Starting]
> org.jboss.ide.eclipse.as.core (1.1.2.GA) "JBoss AS Core Plug-in" [Active]
> org.jboss.ide.eclipse.as.ui (1.1.2.GA) "JBoss AS Ui Plug-in" [Active]
> org.jboss.ide.eclipse.as.ui.mbeans (1.1.2.GA) "Mbeans Plug-in" [Active]
> org.jboss.ide.eclipse.core (2.1.1.GA) "JBoss Core Plug-in" [Active]
> org.jboss.ide.eclipse.firstrun (2.1.1.GA) "JBossIDE First Run Plug-in" [Active]
> org.jboss.ide.eclipse.freemarker (1.0.1.GA) "FreeMarker IDE" [Starting]
> org.jboss.ide.eclipse.help (2.1.1.GA) "JBossIDE for Eclipse Help Plug-in" [Starting]
> org.jboss.ide.eclipse.jdt.core (2.1.0.GA) "JBoss Development Core Plug-in" [Starting]
> org.jboss.ide.eclipse.jdt.core (2.1.1.GA) "JBoss Development Core Plug-in" [Starting]
> org.jboss.ide.eclipse.jdt.j2ee.core (2.1.1.GA) "JBoss Development J2EE Core Plug-in" [Starting]
> org.jboss.ide.eclipse.jdt.j2ee.ui (2.1.1.GA) "JBoss Development J2EE UI Plug-in" [Starting]
> org.jboss.ide.eclipse.jdt.j2ee.xml.ui (2.1.1.GA) "JBoss Development J2EE XML UI Plug-in" [Starting]
> org.jboss.ide.eclipse.jdt.ui (2.1.1.GA) "JBoss Development UI Plug-in" [Starting]
> org.jboss.ide.eclipse.ui (2.1.1.GA) "JBoss UI Plug-in" [Starting]
> org.jboss.ide.eclipse.xdoclet.assist (2.0.0.GA) "XDoclet Assist Plug-in" [Starting]
> org.jboss.ide.eclipse.xdoclet.core (2.0.0.GA) "XDoclet Core Plug-in" [Starting]
> org.jboss.ide.eclipse.xdoclet.run (2.0.0.GA) "XDoclet Runner Plug-in" [Starting]
> org.jboss.ide.eclipse.xdoclet.ui (2.0.0.GA) "XDoclet UI Plug-in" [Starting]
> org.jboss.tools.common (2.1.1.GA) "Red Hat Common" [Active]
> org.jboss.tools.common.gef (2.1.0.GA) "GEF Common" [Starting]
> org.jboss.tools.common.gef (2.1.1.GA) "GEF Common" [Starting]
> org.jboss.tools.common.kb (2.1.1.GA) "JBoss Tools Prompting Knowledgebase" [Active]
> org.jboss.tools.common.model (2.1.1.GA) "Model" [Active]
> org.jboss.tools.common.model.ui (2.1.1.GA) "JBoss Tools UI Plugin" [Active]
> org.jboss.tools.common.projecttemplates (2.1.1.GA) "JBoss Tools Project Templates" [Active]
> org.jboss.tools.common.text.ext (2.1.1.GA) "Text Editors Extensions" [Active]
> org.jboss.tools.common.text.xml (2.1.1.GA) "Xml Editor Plug-in" [Active]
> org.jboss.tools.common.verification (2.1.1.GA) "org.jboss.tools.common.verification" [Active]
> org.jboss.tools.common.verification.ui (2.1.1.GA) "JBoss Tools Verification Framework" [Active]
> org.jboss.tools.esb.core (1.0.0.GA) "pluginName" [Active]
> org.jboss.tools.esb.ui (1.0.0.GA) "ESB XML" [Starting]
> org.jboss.tools.hibernate.ui.veditor (3.2.3.GA) "Visual Editor Plugin" [Starting]
> org.jboss.tools.hibernate.ui.view (3.2.3.GA) "View Plug-in" [Starting]
> org.jboss.tools.hibernate.xml (2.1.1.GA) "Hibernate 3.0 XML" [Active]
> org.jboss.tools.hibernate.xml.ui (2.1.1.GA) "Hibernate 3.0 XML UI" [Starting]
> org.jboss.tools.jsf (2.1.1.GA) "JBoss Tools JSF" [Active]
> org.jboss.tools.jsf.text.ext (2.1.1.GA) "Jsf Text Editors Extensions" [Active]
> org.jboss.tools.jsf.text.ext.facelets (2.1.1.GA) "Facelets Text Editors Extensions" [Starting]
> org.jboss.tools.jsf.ui (2.1.1.GA) "JBoss Tools JSF UI" [Active]
> org.jboss.tools.jsf.verification (2.1.1.GA) "JSF Verification" [Active]
> org.jboss.tools.jsf.vpe.adf (2.1.1.GA) "ADF support for JBoss Visual Page Editor Plug-in" [Resolved]
> org.jboss.tools.jsf.vpe.ajax4jsf (2.1.1.GA) "Ajax4jsf VPE Plug-in" [Active]
> org.jboss.tools.jsf.vpe.facelets (2.1.1.GA) "Facelets Plug-in" [Active]
> org.jboss.tools.jsf.vpe.jsf (2.1.1.GA) "JSF support for JBoss Visual Page Editor Plug-in" [Active]
> org.jboss.tools.jsf.vpe.myfaces (2.1.1.GA) "MyFaces support for JBoss Visual Page Editor Plug-in" [Active]
> org.jboss.tools.jsf.vpe.richfaces (2.1.1.GA) "Richfaces VPE Support Plug-in" [Active]
> org.jboss.tools.jsf.vpe.seam (2.1.1.GA) "Seam VPE support Plug-in" [Active]
> org.jboss.tools.jsf.vpe.tomahawk (2.1.1.GA) "Tomahawk VPE Support Plug-in" [Active]
> org.jboss.tools.jst.firstrun (2.1.1.GA) "JBoss AS Initialization Plug-in" [Active]
> org.jboss.tools.jst.jsp (2.1.1.GA) "Jsp Editor Plug-in" [Active]
> org.jboss.tools.jst.server.jetty (2.1.1.GA) "Jetty Generic Server Definition Plug-in" [Starting]
> org.jboss.tools.jst.server.jrun (2.1.1.GA) "JRun Generic Server Definition Plug-in" [Starting]
> org.jboss.tools.jst.server.resin (2.1.1.GA) "Resin Generic Server Definition Plug-in" [Starting]
> org.jboss.tools.jst.web (2.1.1.GA) "Web" [Active]
> org.jboss.tools.jst.web.debug (2.1.1.GA) "Web Debug" [Starting]
> org.jboss.tools.jst.web.debug.ui (2.1.1.GA) "Web Debug UI" [Starting]
> org.jboss.tools.jst.web.tiles (2.1.1.GA) "Web Tiles" [Active]
> org.jboss.tools.jst.web.tiles.ui (2.1.1.GA) "JBoss Tools Tiles" [Starting]
> org.jboss.tools.jst.web.ui (2.1.1.GA) "Web UI" [Active]
> org.jboss.tools.jst.web.verification (2.1.1.GA) "WEB Verification" [Active]
> org.jboss.tools.seam.core (2.1.2.GA) "Seam Core Plug-in" [Active]
> org.jboss.tools.seam.text.ext (2.1.2.GA) "Seam Text Editors Extensions" [Active]
> org.jboss.tools.seam.ui (2.1.2.GA) "Seam GUI Tools" [Active]
> org.jboss.tools.seam.xml (2.1.2.GA) "JBoss Tools Seam XML" [Active]
> org.jboss.tools.seam.xml.ui (2.1.2.GA) "Seam XML" [Starting]
> org.jboss.tools.struts (2.0.0) "org.jboss.tools.struts" [Active]
> org.jboss.tools.struts.debug (2.1.0.GA) "Red Hat Struts Debugger" [Starting]
> org.jboss.tools.struts.text.ext (2.1.0.GA) "Struts Text Editors Extensions" [Starting]
> org.jboss.tools.struts.ui (2.1.0.GA) "JBoss Tools Struts UI" [Active]
> org.jboss.tools.struts.validator.ui (2.1.0.GA) "JBoss Tools Struts Validator" [Starting]
> org.jboss.tools.struts.verification (2.1.0.GA) "Struts Verification" [Active]
> org.jboss.tools.struts.vpe.struts (2.1.0.GA) "Struts support for JBoss Visual Page Editor Plug-in" [Resolved]
> org.jboss.tools.vpe (2.1.1.GA) "Visual Page Editor" [Active]
> org.jboss.tools.vpe.html (2.1.1.GA) "HTML support for JBoss Visual Page Editor Plug-in" [Active]
> org.jboss.tools.vpe.jsp (2.1.1.GA) "JSP support for JBoss Visual Page Editor Plug-in" [Starting]
> org.jboss.tools.vpe.ui.palette (2.1.0.GA) "JBoss Tools Palette" [Starting]
> org.jboss.tools.vpe.ui.palette (2.1.1.GA) "JBoss Tools Palette" [Starting]
> org.jboss.tools.vpe.xulrunner (2.1.1.GA) "Browser (XULRunner) Plug-in" [Active]
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months
[JBoss JIRA] (JBIDE-2228) run as -> run on server no buttons
by Josef Kopriva (Jira)
[ https://issues.redhat.com/browse/JBIDE-2228?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-2228.
--------------------------------
Closing, nothing to do.
> run as -> run on server no buttons
> ----------------------------------
>
> Key: JBIDE-2228
> URL: https://issues.redhat.com/browse/JBIDE-2228
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 2.0.1
> Environment: linux (debian/unstable) 32bit, sun java 1.5.0_15-b04, jbossas 4.2.2.ga, eclipse 3.3.2 build M20080221-1800, wtp 2.0.2
> Reporter: arne anka
> Priority: Major
> Fix For: 2.0.1
>
> Attachments: jboss1.png
>
>
> right click a seam web project, select "run as"->"run on server".
> the dialog has no buttons, neither cancel nor finish.
> btw: my tomcat 5.0 is preselected when the dialog openes despite of being unable to run the project -- switching to another server and bacj to tc 5.0 the dialog shows the appropriate error -- a) i think the dialog shopuld be able to preselect a appropriate server; b) i'm not sure if it is related to the original, maybe it has to do with the deactivation of the buttons?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 10 months