[JBoss JIRA] (JBDS-4175) NPE/broken functionality/cannot start after install from Red Hat Central into rh-eclipse46-devstudio
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4175?page=com.atlassian.jira.plugin.... ]
Nick Boldt edited comment on JBDS-4175 at 11/30/16 3:47 PM:
------------------------------------------------------------
Current status:
I've installed everything from Central and only these are still a problem:
||3rd Party||Status in RPM||Status Upstream||Issue||Description or Errors||
|Atlassian_Connector|(x)|(x)|JBDS-4191|would need to fork https://bitbucket.org/atlassian/connector-eclipse/overview and run their Ant build :(
|Spring_IDE|(x)|(/)|JBDS-4190|Fixed in master branch for Spring IDE 3.8.3.CI (no idea when 3.8.3.RELEASE is due): http://dist.springsource.com/snapshot/TOOLS/nightly/e4.6
|JRebel|(x)|(/)|n/a|Fixed in http://update.zeroturnaround.com/update-site-nightly/ - {quote}It's Valerie from JRebel Support Team. The next release should be in a couple of weeks, cannot say any concrete date just jet! :)
Thank you for confirming the fix! It will be available in JRebel 7.0.1 for sure.{quote}
||Red Hat||Status in RPM||Status Upstream||Issue||Description or Errors||
|Teiid Designer|(x)|(/)|JBDS-4189|Fixed in master branch for Teiid Designer 11.0 (but not in integration stack 10.0.0.GA)
|SwitchYard 2.2.0|(x)|(/)|JBDS-4200|Fixed in SY 2.3.0, available from http://download.jboss.org/jbosstools/neon/integration/updates/integration... as of Dec 1
|rest of integration stack 10.0.0.GA|(/)|(/)|n/a|works OOTB when installed from https://devstudio.jboss.com/10.0/stable/updates/integration-stack/
We will need to make sure this is properly documented in https://issues.jboss.org/browse/RHDEVDOCS-120?focusedCommentId=13327430&p... so users don't break their Eclipse/devstudio rpm installs by installation of these tools.
was (Author: nickboldt):
Current status:
I've installed everything from Central and only these are still a problem:
||3rd Party||Status in RPM||Status Upstream||Issue||Description or Errors||
|Atlassian_Connector|(x)|(x)|JBDS-4191|would need to fork https://bitbucket.org/atlassian/connector-eclipse/overview and run their Ant build :(
|Spring_IDE|(x)|(/)|JBDS-4190|Fixed in master branch for Spring IDE 3.8.3.CI (no idea when 3.8.3.RELEASE is due): http://dist.springsource.com/snapshot/TOOLS/nightly/e4.6
|JRebel|(x)|(/)|n/a|Fixed in http://update.zeroturnaround.com/update-site-nightly/ - {quote}It's Valerie from JRebel Support Team. The next release should be in a couple of weeks, cannot say any concrete date just jet! :)
Thank you for confirming the fix! It will be available in JRebel 7.0.1 for sure.{quote}
||Red Hat||Status in RPM||Status Upstream||Issue||Description or Errors||
|Teiid Designer|(x)|(/)|JBDS-4189|Fixed in master branch for Teiid Designer 11.0 (but not in integration stack 10.0.0.GA)
|SwitchYard 2.2.0|(x)|(x)|JBDS-4200|Fixed in SY 2.3.0, available from http://download.jboss.org/jbosstools/neon/integration/updates/integration... as of Dec 1
|rest of integration stack 10.0.0.GA|(/)|(/)|n/a|works OOTB when installed from https://devstudio.jboss.com/10.0/stable/updates/integration-stack/
We will need to make sure this is properly documented in https://issues.jboss.org/browse/RHDEVDOCS-120?focusedCommentId=13327430&p... so users don't break their Eclipse/devstudio rpm installs by installation of these tools.
> NPE/broken functionality/cannot start after install from Red Hat Central into rh-eclipse46-devstudio
> ----------------------------------------------------------------------------------------------------
>
> Key: JBDS-4175
> URL: https://issues.jboss.org/browse/JBDS-4175
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: central-update, rpm
> Environment: RHEL 7.2 with RHSCL repositories available:
> * RHSCL 2.3 RC (http://download-node-02.eng.bos.redhat.com/rel-eng/RHSCL-2.3-RHEL-7-RC-1....)
> * update for RHBZ#1392095 (http://nest.test.redhat.com/mnt/qa/scratch/vkadlcik/eclipse/repos/rhscl23...)
> Reporter: Václav Kadlčík
> Assignee: Nick Boldt
> Fix For: 10.3.0.AM2
>
> Attachments: JBDS-4175_logs_first_half.tar.gz, devstudio-is-major-feature-groups-to-test.png, rh-eclipse46-devstudio10.2.log.20161115-0953.txt, rh-eclipse46-devstudio10.2.log.20161118-1112_strict.txt, spring-ide-fail-aop.png, spring-ide-fail-list.png, spring-ide-fail-npe.png, spring-ide-fail-project-explorer-broken-package-explorer-OK.png, spring-ide-fail.png, spring-ide-view-fail.png, springide382.png, sw_to_install.txt, workspace.log, wst.xsd.core_diff.png
>
>
> I installed rh-eclipse46-devstudio-10.2-0.20161111.0219.el7.x86_64.rpm and followed Nick's scenario [1]. In Red Hat Central, I clicked "Select All" (it found 36 items), then "Install/Update", did all the confirmations, including a restart. After the restart, Eclipse died on java.lang.NullPointerException. I'm attaching the workspace log (aside from the NPE, it's full of "Could not resolve module").
> I reproduced the problem several times on two different machines. The update for RHBZ#1392095 (rh-eclipse46-eclipse-4.6.1-2.4.el7) isn't necessary, it just makes the reproduction much faster.
> Not sure how related it is, but rh-eclipse46 disallows updating packages installed from RPM [2]. But in the list of software to be installed/updated, I saw, among others, EGit and Mylyn, which are definitely included in rh-eclipse46-base. In any case, I'm attaching the list, too.
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1392095#c6
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=1173024
> (copied from comment below to make it sticky)
> Results of installing first half of the items in Central:
> ||Item||Result||Description or Errors||
> |Android_Development_Tools|(/)||
> |JBoss_Hybrid_Mobile_Tools|(/)||
> |AngularJS_for_Web_Tools|(x)|IllegalStateException: BundleContext, NullPointerException|
> |JBoss_Arquillian_Tools|(/)||
> |JBoss_Forge_Tools|(/)||
> |JBoss_OpenShift_2_Tools|(x)|BundleException|
> |JBoss_OpenShift_3_Tools|(x)|BundleException|
> |JBoss_Portlet_Tools|(x)|BundleException, NullPointerException, eclipse didn't start|
> |JBoss_Seam_Tools|(x)|BundleException, NullPointerException, eclipse didn't start|
> |JBoss_Tools_LiveReload|(x)|BundleException|
> |JST_Server|(x)|BundleException|
> |Spring_IDE|(x)|BundleException, NullPointerException, eclipse didn't start|
> |Atlassian_Connector|(x)|BundleException, loader constraint violation|
> |Eclipse_EGit_Mylyn_Support|(x)|BundleException|
> |Subclipse_SVNKit|(/)|First attempt failed due to SocketTimeoutException but second passed|
> |Subclipse_SVNKit_Mylyn_Support|(x)|BundleException|
> |Eclipse_Checkstyle|(x)|NullPointerException|
> All logs [^JBDS-4175_logs_first_half.tar.gz].
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years
[JBoss JIRA] (JBDS-4175) NPE/broken functionality/cannot start after install from Red Hat Central into rh-eclipse46-devstudio
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4175?page=com.atlassian.jira.plugin.... ]
Nick Boldt edited comment on JBDS-4175 at 11/30/16 3:43 PM:
------------------------------------------------------------
Current status:
I've installed everything from Central and only these are still a problem:
||3rd Party||Status in RPM||Status Upstream||Issue||Description or Errors||
|Atlassian_Connector|(x)|(x)|JBDS-4191|would need to fork https://bitbucket.org/atlassian/connector-eclipse/overview and run their Ant build :(
|Spring_IDE|(x)|(/)|JBDS-4190|Fixed in master branch for Spring IDE 3.8.3.CI (no idea when 3.8.3.RELEASE is due): http://dist.springsource.com/snapshot/TOOLS/nightly/e4.6
|JRebel|(x)|(/)|n/a|Fixed in http://update.zeroturnaround.com/update-site-nightly/ - {quote}It's Valerie from JRebel Support Team. The next release should be in a couple of weeks, cannot say any concrete date just jet! :)
Thank you for confirming the fix! It will be available in JRebel 7.0.1 for sure.{quote}
||Red Hat||Status in RPM||Status Upstream||Issue||Description or Errors||
|Teiid Designer|(x)|(/)|JBDS-4189|Fixed in master branch for Teiid Designer 11.0 (but not in integration stack 10.0.0.GA)
|SwitchYard 2.2.0|(x)|(x)|JBDS-4200|Fixed in SY 2.3.0, available from http://download.jboss.org/jbosstools/neon/integration/updates/integration... as of Dec 1
|rest of integration stack 10.0.0.GA|(/)|(/)|n/a|works OOTB when installed from https://devstudio.jboss.com/10.0/stable/updates/integration-stack/
We will need to make sure this is properly documented in https://issues.jboss.org/browse/RHDEVDOCS-120?focusedCommentId=13327430&p... so users don't break their Eclipse/devstudio rpm installs by installation of these tools.
was (Author: nickboldt):
Current status:
I've installed everything from Central and only these are still a problem:
||3rd Party||Status in RPM||Status Upstream||Issue||Description or Errors||
|Atlassian_Connector|(x)|(x)|JBDS-4191|would need to fork https://bitbucket.org/atlassian/connector-eclipse/overview and run their Ant build :(
|Spring_IDE|(x)|(/)|JBDS-4190|Fixed in master branch for Spring IDE 3.8.3.CI (no idea when 3.8.3.RELEASE is due): http://dist.springsource.com/snapshot/TOOLS/nightly/e4.6
|JRebel|(x)|(/)|n/a|Fixed in http://update.zeroturnaround.com/update-site-nightly/ - {quote}It's Valerie from JRebel Support Team. The next release should be in a couple of weeks, cannot say any concrete date just jet! :)
Thank you for confirming the fix! It will be available in JRebel 7.0.1 for sure.{quote}
||Red Hat||Status in RPM||Status Upstream||Issue||Description or Errors||
|Teiid Designer|(x)|(/)|JBDS-4189|Fixed in master branch for Teiid Designer 11.0 (but not in integration stack 10.0.0.GA)
|SwitchYard 2.2.0|(x)|(x)|JBDS-4200|slf4j use constraint violation
|rest of integration stack 10.0.0.GA|(/)|(/)|n/a|works OOTB when installed from https://devstudio.jboss.com/10.0/stable/updates/integration-stack/
We will need to make sure this is properly documented in https://issues.jboss.org/browse/RHDEVDOCS-120?focusedCommentId=13327430&p... so users don't break their Eclipse/devstudio rpm installs by installation of these tools.
> NPE/broken functionality/cannot start after install from Red Hat Central into rh-eclipse46-devstudio
> ----------------------------------------------------------------------------------------------------
>
> Key: JBDS-4175
> URL: https://issues.jboss.org/browse/JBDS-4175
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: central-update, rpm
> Environment: RHEL 7.2 with RHSCL repositories available:
> * RHSCL 2.3 RC (http://download-node-02.eng.bos.redhat.com/rel-eng/RHSCL-2.3-RHEL-7-RC-1....)
> * update for RHBZ#1392095 (http://nest.test.redhat.com/mnt/qa/scratch/vkadlcik/eclipse/repos/rhscl23...)
> Reporter: Václav Kadlčík
> Assignee: Nick Boldt
> Fix For: 10.3.0.AM2
>
> Attachments: JBDS-4175_logs_first_half.tar.gz, devstudio-is-major-feature-groups-to-test.png, rh-eclipse46-devstudio10.2.log.20161115-0953.txt, rh-eclipse46-devstudio10.2.log.20161118-1112_strict.txt, spring-ide-fail-aop.png, spring-ide-fail-list.png, spring-ide-fail-npe.png, spring-ide-fail-project-explorer-broken-package-explorer-OK.png, spring-ide-fail.png, spring-ide-view-fail.png, springide382.png, sw_to_install.txt, workspace.log, wst.xsd.core_diff.png
>
>
> I installed rh-eclipse46-devstudio-10.2-0.20161111.0219.el7.x86_64.rpm and followed Nick's scenario [1]. In Red Hat Central, I clicked "Select All" (it found 36 items), then "Install/Update", did all the confirmations, including a restart. After the restart, Eclipse died on java.lang.NullPointerException. I'm attaching the workspace log (aside from the NPE, it's full of "Could not resolve module").
> I reproduced the problem several times on two different machines. The update for RHBZ#1392095 (rh-eclipse46-eclipse-4.6.1-2.4.el7) isn't necessary, it just makes the reproduction much faster.
> Not sure how related it is, but rh-eclipse46 disallows updating packages installed from RPM [2]. But in the list of software to be installed/updated, I saw, among others, EGit and Mylyn, which are definitely included in rh-eclipse46-base. In any case, I'm attaching the list, too.
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1392095#c6
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=1173024
> (copied from comment below to make it sticky)
> Results of installing first half of the items in Central:
> ||Item||Result||Description or Errors||
> |Android_Development_Tools|(/)||
> |JBoss_Hybrid_Mobile_Tools|(/)||
> |AngularJS_for_Web_Tools|(x)|IllegalStateException: BundleContext, NullPointerException|
> |JBoss_Arquillian_Tools|(/)||
> |JBoss_Forge_Tools|(/)||
> |JBoss_OpenShift_2_Tools|(x)|BundleException|
> |JBoss_OpenShift_3_Tools|(x)|BundleException|
> |JBoss_Portlet_Tools|(x)|BundleException, NullPointerException, eclipse didn't start|
> |JBoss_Seam_Tools|(x)|BundleException, NullPointerException, eclipse didn't start|
> |JBoss_Tools_LiveReload|(x)|BundleException|
> |JST_Server|(x)|BundleException|
> |Spring_IDE|(x)|BundleException, NullPointerException, eclipse didn't start|
> |Atlassian_Connector|(x)|BundleException, loader constraint violation|
> |Eclipse_EGit_Mylyn_Support|(x)|BundleException|
> |Subclipse_SVNKit|(/)|First attempt failed due to SocketTimeoutException but second passed|
> |Subclipse_SVNKit_Mylyn_Support|(x)|BundleException|
> |Eclipse_Checkstyle|(x)|NullPointerException|
> All logs [^JBDS-4175_logs_first_half.tar.gz].
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years
[JBoss JIRA] (JBIDE-23320) New server window server type picker is single line long on Cinnamon
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23320?page=com.atlassian.jira.plugi... ]
Jeff MAURY commented on JBIDE-23320:
------------------------------------
Tested on Fedora 24 using Eclipse JEE Neon.1a. Did not notice any change after installing WTP 3.8.2
> New server window server type picker is single line long on Cinnamon
> --------------------------------------------------------------------
>
> Key: JBIDE-23320
> URL: https://issues.jboss.org/browse/JBIDE-23320
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server, upstream
> Environment: Fedora 24 x86-64
> Cinnamon 3.0.7
> Linux 4.7.6
> JBDS 10.1.0.GA
> Reporter: Michal Jurc
> Assignee: Rob Stryker
> Fix For: 4.4.3.AM1, 4.5.0.AM1
>
> Attachments: jbds-10.1-new-server.png
>
>
> In JBoss Developer Studio 10.1.0.GA, the New Server window server type choice only displays single server at time without scrolling which is uncomfortable to navigate through.
> Screenshot attached.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years
[JBoss JIRA] (JBIDE-21857) Hot code replacement doesn't work on OpenShift
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21857?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-21857:
------------------------------------------
[~rob.stryker] [~mlabuda] If the above - the "Hot Code Replace Failed" dialog now always shows up, also for non-structural changes to classes - is confirmed as a bug, I'd close this issue and open a new one. The basics work for me but has issues.
> Hot code replacement doesn't work on OpenShift
> ----------------------------------------------
>
> Key: JBIDE-21857
> URL: https://issues.jboss.org/browse/JBIDE-21857
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Rob Stryker
> Fix For: 4.4.2.Final, 4.4.3.AM1, 4.5.0.AM1
>
> Attachments: HCRFailure.zip, hot-code-replace-failed.png, jmx-connected-adapter-synchronized.png
>
>
> When enabling debug mode on an EAP server deployed on OpenShift, locally changing a class file will :
> - work sometimes when only the content of the method changed, but could fail in some other occasions with the Debugger saying the JDK is out of sync
> - will always fail if a method signature changed, the debugger saying JDK is out of sync
> Restarting the deployed module (with the .dodeploy flag) doesn't fixes the issue (as opposed to the same tweak ahen running on a local EAP server)
> This may be caused by running OpenJDK? Does it support the same level of debugging as Oracle JDK?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years
[JBoss JIRA] (JBIDE-21857) Hot code replacement doesn't work on OpenShift
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21857?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-21857:
-------------------------------------
Attachment: jmx-connected-adapter-synchronized.png
> Hot code replacement doesn't work on OpenShift
> ----------------------------------------------
>
> Key: JBIDE-21857
> URL: https://issues.jboss.org/browse/JBIDE-21857
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Rob Stryker
> Fix For: 4.4.2.Final, 4.4.3.AM1, 4.5.0.AM1
>
> Attachments: HCRFailure.zip, hot-code-replace-failed.png, jmx-connected-adapter-synchronized.png
>
>
> When enabling debug mode on an EAP server deployed on OpenShift, locally changing a class file will :
> - work sometimes when only the content of the method changed, but could fail in some other occasions with the Debugger saying the JDK is out of sync
> - will always fail if a method signature changed, the debugger saying JDK is out of sync
> Restarting the deployed module (with the .dodeploy flag) doesn't fixes the issue (as opposed to the same tweak ahen running on a local EAP server)
> This may be caused by running OpenJDK? Does it support the same level of debugging as Oracle JDK?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years
[JBoss JIRA] (JBIDE-21857) Hot code replacement doesn't work on OpenShift
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21857?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-21857 at 11/30/16 2:17 PM:
--------------------------------------------------------------------
[~mlabuda] The hot code replace dialog shows up for me even if I dont manually connect the JMX.
The steps for me:
# ASSERT: have jboss-helloworld running in OpenShift (create it via eap64-basic-s2i template), the source code for it imported to a workspace project and a server adapter for it
# EXEC: open HelloService and change it to the following:
{code:title=HelloService}
public class HelloService {
private static final String MAGIC_STRING = "42";
String createHelloMessage(String name) {
return "Hello " + name + ", the magic string is " + MAGIC_STRING + "!";
}
}
{code}
and save the editor
Result:
"Hot code replace failed" dialog pops up, which is expected.
!hot-code-replace-failed.png!
I filed the issues due to its poor usability to JBIDE-23602.
# EXEC: in "Hot Code Replace Failed" dialog: hit "Restart Module"
# EXEC: unfold the server adapter and see in what state the JMX node and the adapter is:
Result:
!jmx-connected-adapter-synchronized.png!
The adapter is synchronized for me, and the JMX is now connected.
[~mlabuda] What makes you think that debugging is out-of-sync as stated in the steps above?
I though can confirm that any change from now on - even non-structural changes - will trigger the "Hot Code Replace Failed" dialog.
[~rob.stryker] Can you please chime in and comment the fact that the dialog now always shows up?
was (Author: adietish):
[~mlabuda] The hot code replace dialog shows up for me even if I dont manually connect the JMX.
The steps for me:
# ASSERT: have jboss-helloworld running in OpenShift (create it via eap64-basic-s2i template), the source code for it imported to a workspace project and a server adapter for it
# EXEC: open HelloService and change it to the following:
{code:title=HelloService}
public class HelloService {
private static final String MAGIC_STRING = "42";
String createHelloMessage(String name) {
return "Hello " + name + ", the magic string is " + MAGIC_STRING + "!";
}
}
{code}
and save the editor
Result:
"Hot code replace failed" dialog pops up, which is expected.
!hot-code-replace-failed.png!
I filed the issues due to its poor usability to JBIDE-23602.
> Hot code replacement doesn't work on OpenShift
> ----------------------------------------------
>
> Key: JBIDE-21857
> URL: https://issues.jboss.org/browse/JBIDE-21857
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Rob Stryker
> Fix For: 4.4.2.Final, 4.4.3.AM1, 4.5.0.AM1
>
> Attachments: HCRFailure.zip, hot-code-replace-failed.png
>
>
> When enabling debug mode on an EAP server deployed on OpenShift, locally changing a class file will :
> - work sometimes when only the content of the method changed, but could fail in some other occasions with the Debugger saying the JDK is out of sync
> - will always fail if a method signature changed, the debugger saying JDK is out of sync
> Restarting the deployed module (with the .dodeploy flag) doesn't fixes the issue (as opposed to the same tweak ahen running on a local EAP server)
> This may be caused by running OpenJDK? Does it support the same level of debugging as Oracle JDK?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years
[JBoss JIRA] (JBIDE-21857) Hot code replacement doesn't work on OpenShift
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21857?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-21857 at 11/30/16 2:05 PM:
--------------------------------------------------------------------
[~mlabuda] The hot code replace dialog shows up for me even if I dont manually connect the JMX.
The steps for me:
# ASSERT: have jboss-helloworld running in OpenShift (create it via eap64-basic-s2i template), the source code for it imported to a workspace project and a server adapter for it
# EXEC: open HelloService and change it to the following:
{code:title=HelloService}
public class HelloService {
private static final String MAGIC_STRING = "42";
String createHelloMessage(String name) {
return "Hello " + name + ", the magic string is " + MAGIC_STRING + "!";
}
}
{code}
and save the editor
Result:
"Hot code replace failed" dialog pops up, which is expected.
!hot-code-replace-failed.png!
I filed the issues due to its poor usability to JBIDE-23602.
was (Author: adietish):
[~mlabuda] The hot code replace dialog shows up for me even if I dont manually connect the JMX.
The steps for me:
# ASSERT: have jboss-helloworld running in OpenShift (create it via eap64-basic-s2i template), the source code for it imported to a workspace project and a server adapter for it
# EXEC: open HelloService and change it to the following:
{code:title=HelloService}
public class HelloService {
private static final String MAGIC_STRING = "42";
String createHelloMessage(String name) {
return "Hello " + name + ", the magic string is " + MAGIC_STRING + "!";
}
}
{code}
and save the editor
Result:
"Hot code replace failed" dialog pops up, which is expected.
!hot-code-replace-failed.png!
> Hot code replacement doesn't work on OpenShift
> ----------------------------------------------
>
> Key: JBIDE-21857
> URL: https://issues.jboss.org/browse/JBIDE-21857
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Rob Stryker
> Fix For: 4.4.2.Final, 4.4.3.AM1, 4.5.0.AM1
>
> Attachments: HCRFailure.zip, hot-code-replace-failed.png
>
>
> When enabling debug mode on an EAP server deployed on OpenShift, locally changing a class file will :
> - work sometimes when only the content of the method changed, but could fail in some other occasions with the Debugger saying the JDK is out of sync
> - will always fail if a method signature changed, the debugger saying JDK is out of sync
> Restarting the deployed module (with the .dodeploy flag) doesn't fixes the issue (as opposed to the same tweak ahen running on a local EAP server)
> This may be caused by running OpenJDK? Does it support the same level of debugging as Oracle JDK?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years