[JBoss JIRA] (JBIDE-26158) [UPSTREAM] Server adapter: NPE when starting adapter for nodejs-mongo-persistent into Debug
by Jeff MAURY (Jira)
[ https://issues.jboss.org/browse/JBIDE-26158?page=com.atlassian.jira.plugi... ]
Jeff MAURY commented on JBIDE-26158:
------------------------------------
[~adietish] can you recheck this one again against latest master
> [UPSTREAM] Server adapter: NPE when starting adapter for nodejs-mongo-persistent into Debug
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-26158
> URL: https://issues.jboss.org/browse/JBIDE-26158
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.6.0.AM3
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Priority: Major
> Labels: upstream
> Fix For: 4.11.x
>
> Attachments: image-2018-07-02-22-33-13-396.png, image-2018-07-02-22-49-45-246.png, image-2018-07-02-23-17-34-099.png, image-2018-07-03-00-03-56-346.png, screenshot-1.png, screenshot-2.png
>
>
> steps:
> # EXEC: launch new application wizard, choose nodejs-mongo-persistent template and finish
> # EXEC: when asked import the app and create a server adapter
> # ASSERT: server adapter is created
> # EXEC: start the server adapter
> # ASSERT: server adapter is launched
> # EXEC: restart the server adapter into Debug
> Result:
> Debuggin works, but you get the following error dialog:
> !image-2018-07-02-22-33-13-396.png!
> In the Eclipse log you'll find the following:
> {code}
> java.lang.NullPointerException
> at org.eclipse.core.internal.resources.CheckMissingNaturesListener.updateRange(CheckMissingNaturesListener.java:209)
> at org.eclipse.core.internal.resources.CheckMissingNaturesListener$3.runInWorkspace(CheckMissingNaturesListener.java:179)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}
> ps. project context menu: Convert > Javascript Project doesn't help.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26549) Projects from Red Hat Central are containing errors in it (removed package in java 11)
by Josef Kopriva (Jira)
[ https://issues.jboss.org/browse/JBIDE-26549?page=com.atlassian.jira.plugi... ]
Josef Kopriva commented on JBIDE-26549:
---------------------------------------
[~jeffmaury] you are right this is caused by old examples. It should be updated to version compatible with latest EAP. But according to comments in https://issues.jboss.org/browse/JBIDE-23666 it is not an easy task to do.
My $0.02:
In my opinion we should reconsider updating examples, because central its the first thing the user see and I suppose he also wants to try some quickstarts and in case JDK11 is slowly becoming default/standard in operating systems we should not give user something broken by default.
cc: [~psrna] [~rob.stryker] [~adietish] [~odockal] [~rpdavis]
> Projects from Red Hat Central are containing errors in it (removed package in java 11)
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-26549
> URL: https://issues.jboss.org/browse/JBIDE-26549
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central
> Affects Versions: 4.11.0.AM1
> Environment: OS X 10.13.6
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Critical
> Fix For: 4.11.0.AM1
>
>
> 2 projects from RH central shows errors after import (removed package in java 11):
> - JAVA EE "jboss-javaee-webapp" project
> - HTML 5 "jboss-as-kitchensink-html5-mobile" project
> There is invalid dependency "javax.xml.bind.annotation.XmlRootElement". Description and solution described on Stack Overflow https://stackoverflow.com/questions/52502189/java-11-package-javax-xml-bi....
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26556) Disable old jobs on boston hudson that are still starting by scm change
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBIDE-26556?page=com.atlassian.jira.plugi... ]
Ondrej Dockal edited comment on JBIDE-26556 at 2/26/19 2:30 PM:
----------------------------------------------------------------
[~jeffmaury] I already did it, then I reported jira to have your confirmation. So I am closing this. Thanks.
was (Author: odockal):
[~jeffmaury] I already did it, then I reported jira to have your confirmation. So I am losing this. Thanks.
> Disable old jobs on boston hudson that are still starting by scm change
> -----------------------------------------------------------------------
>
> Key: JBIDE-26556
> URL: https://issues.jboss.org/browse/JBIDE-26556
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: qa
> Affects Versions: 4.11.0.AM1
> Reporter: Ondrej Dockal
> Assignee: Ondrej Dockal
> Priority: Major
> Fix For: 4.11.0.AM1
>
>
> There are still active jobs on old hudson. Disable those.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBDS-4735) Central projects Wizard sometimes fails to open
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBDS-4735?page=com.atlassian.jira.plugin.... ]
Zbyněk Červinka commented on JBDS-4735:
---------------------------------------
Hi [~jeffmaury], I have debugged this issue and I have discussed the details and outcomes of my work with my manager (Pavol Srna) and some colleagues. According to Pavol Srna, my work should be sufficient to fix the issue.
-> First I would like to say is, that the issue appears randomly, sometimes sooner, sometimes later and the only way (I found) to reproduce this issue is to wait until it appears (after hours testing on several OS instances, I have not been able to reproduce the issue better then I have described in the "Steps to reproduce").
-> Secondly I would like mention the JavaScript variable "openInIDE" (appears in RH Central source code), which is detailed described in the "Description" of this issue and which is really important for this issue. This variable is not set in the Red Hat Central JavaScript files, so I think the implementation is generated in the Java code and from the Java code it goes to JavaScript. The main problem is, that the "openInIDE" sometimes become undefined, which causes the issue. I am not sure if JavaScript itself make the variable undefined after it has been implemented from the Java code, or Java should give the implementation to the JS and it does not happened. Because of the non-deterministic steps to reproduce, It would be better (according to Pavol), that the issue would fix someone, who has worked on the central. I hope, that you will be able to find and fix the cause easily.
> Central projects Wizard sometimes fails to open
> -----------------------------------------------
>
> Key: JBDS-4735
> URL: https://issues.jboss.org/browse/JBDS-4735
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: central
> Affects Versions: 12.9.0.GA
> Environment: manually Fedora 28, automation
> Reporter: Vojtech Prusa
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 12.11.0.AM1
>
> Attachments: central.tar.gz, image-2018-10-17-09-24-31-555.png, screenshot-1.png
>
>
> There is "openInIDE" used in 3 places in "main.min.js" in central source code*. When the central reloads and works normally, "openInIDE" is a function (probably defined in Java code or somewhere out of the "main.min.js" file) with following implementation:
> function openInIDE() {
> var result = callJava(1, '9aee3b4a3f3b40ed26f47d66375b25e3', Array.prototype.slice.call(arguments));
> if (typeof result == 'string' && result.indexOf('org.eclipse.swt.browser.error') == 0) {
> var error = new Error(result.substring(29));
> throw error;
> }
> return result;
> }
> After the issue appears, "typedef openInIDE" is undefined, which causes probably the issues.
> *Additional information to the 3 places, where "openInIDE" appears - it appears in 2 functions:
> - registerButtonClicks() - here is the "openInIDE" needed for loading and displaying the central correctly
> - delegateToIDE(a, b) - here is the "openInIDE" needed for opening the wizard to the quickstart
> OLDER DESCRIPTION (does not describes the issue enough, but I decided to keep it for more details about the issue):
> ----------------------------------------------------------------------------------------------------------------------
> Sometimes central examples wizards fail to load and modal dialog is shown instead (screen attached).
> Nothing in Error log view.
> Restarting devstudio solves the issue.
> Adding screen and central tar of:
> devstudio-12.9.0.GA-v20180928-1629-B3448/workspaces/workspace/.metadata/.plugins/org.jboss.tools.central/central
> Addition info:
> Considering that central itests fails for this sometimes fresh installation without restart may cause this. Although it happen again after running devstudio for some time and restarting Central view.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (JBIDE-26336) Upgrade jacoco version to 0.8.2+ to be compatible with Java 11
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBIDE-26336?page=com.atlassian.jira.plugi... ]
Ondrej Dockal closed JBIDE-26336.
---------------------------------
> Upgrade jacoco version to 0.8.2+ to be compatible with Java 11
> --------------------------------------------------------------
>
> Key: JBIDE-26336
> URL: https://issues.jboss.org/browse/JBIDE-26336
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: build
> Affects Versions: 4.9.0.AM3
> Reporter: Aurélien Pupier
> Assignee: Aurélien Pupier
> Priority: Major
> Fix For: 4.9.0.Final
>
>
> https://github.com/jacoco/jacoco/releases/tag/v0.8.2
> {quote}Experimental support for Java 11 and Java 12 class files, including JEP 12 "preview features" (GitHub #719, #738, #743).{quote}
> for now for SAp Tooling, I got
> {noformat}
> 09:37:54 Exception in thread "main" java.lang.reflect.InvocationTargetException
> 09:37:54 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 09:37:54 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 09:37:54 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 09:37:54 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> 09:37:54 at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
> 09:37:54 at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
> 09:37:54 Caused by: java.lang.RuntimeException: Class java/lang/UnknownError could not be instrumented.
> 09:37:54 at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:140)
> 09:37:54 at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:101)
> 09:37:54 at org.jacoco.agent.rt.internal_c13123e.PreMain.createRuntime(PreMain.java:55)
> 09:37:54 at org.jacoco.agent.rt.internal_c13123e.PreMain.premain(PreMain.java:47)
> 09:37:54 ... 6 more
> 09:37:54 Caused by: java.lang.NoSuchFieldException: $jacocoAccess
> 09:37:54 at java.base/java.lang.Class.getField(Class.java:2000)
> 09:37:54 at org.jacoco.agent.rt.internal_c13123e.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
> 09:37:54 ... 9 more
> 09:37:54 FATAL ERROR in native method: processing of -javaagent failed
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month