[JBoss JIRA] (JBIDE-26327) Server adapter: NPE when stopping a server adapter whose workspace project was deleted
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26327?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-26327:
-------------------------------------
Story Points: 1
> Server adapter: NPE when stopping a server adapter whose workspace project was deleted
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-26327
> URL: https://issues.jboss.org/browse/JBIDE-26327
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.9.0.AM2
> Reporter: Andre Dietisheim
> Labels: server_adapter
> Fix For: 4.9.0.Final
>
> Attachments: image-2018-08-29-15-09-38-939.png
>
>
> steps:
> # ASSERT: have a workspace project, a running OpenShift application and a server adapter started for the 2
> # EXEC: delete the workspace project
> # EXEC: delete the server adapter, making sure that you have the checkbox for stopping the adapter beforehand checked
> Result:
> An NPE occurrs
> !image-2018-08-29-15-09-38-939.png!
> {code}
> java.lang.NullPointerException
> at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.updateProject(OpenShiftShutdownController.java:71)
> at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.stop(OpenShiftShutdownController.java:58)
> at org.jboss.ide.eclipse.as.wtp.core.server.behavior.ControllableServerBehavior.stop(ControllableServerBehavior.java:255)
> at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3698)
> at org.eclipse.wst.server.core.internal.Server.stopImpl(Server.java:3655)
> at org.eclipse.wst.server.core.internal.Server$StopJob.run(Server.java:413)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 9 months
[JBoss JIRA] (JBIDE-26327) Server adapter: NPE when stopping a server adapter whose workspace project was deleted
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26327?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-26327:
------------------------------------------
the fix is fairly straight forward:
check the project for being null before getting the pom file within it:
{code:title=org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController}
protected void updateProject() throws CoreException {
IProject project = OpenShiftServerUtils.getDeployProject(getServerOrWC());
IFile pom = project.getFile(IMavenConstants.POM_FILE_NAME);
{code}
> Server adapter: NPE when stopping a server adapter whose workspace project was deleted
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-26327
> URL: https://issues.jboss.org/browse/JBIDE-26327
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.9.0.AM2
> Reporter: Andre Dietisheim
> Labels: server_adapter
> Fix For: 4.9.0.Final
>
> Attachments: image-2018-08-29-15-09-38-939.png
>
>
> steps:
> # ASSERT: have a workspace project, a running OpenShift application and a server adapter started for the 2
> # EXEC: delete the workspace project
> # EXEC: delete the server adapter, making sure that you have the checkbox for stopping the adapter beforehand checked
> Result:
> An NPE occurrs
> !image-2018-08-29-15-09-38-939.png!
> {code}
> java.lang.NullPointerException
> at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.updateProject(OpenShiftShutdownController.java:71)
> at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.stop(OpenShiftShutdownController.java:58)
> at org.jboss.ide.eclipse.as.wtp.core.server.behavior.ControllableServerBehavior.stop(ControllableServerBehavior.java:255)
> at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3698)
> at org.eclipse.wst.server.core.internal.Server.stopImpl(Server.java:3655)
> at org.eclipse.wst.server.core.internal.Server$StopJob.run(Server.java:413)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 9 months
[JBoss JIRA] (JBIDE-26327) Server adapter: NPE when stopping a server adapter whose workspace project was deleted
by Andre Dietisheim (JIRA)
Andre Dietisheim created JBIDE-26327:
----------------------------------------
Summary: Server adapter: NPE when stopping a server adapter whose workspace project was deleted
Key: JBIDE-26327
URL: https://issues.jboss.org/browse/JBIDE-26327
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.9.0.AM2
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.9.0.Final
Attachments: image-2018-08-29-15-09-38-939.png
steps:
# ASSERT: have a workspace project, a running OpenShift application and a server adapter started for the 2
# EXEC: delete the workspace project
# EXEC: delete the server adapter, making sure that you have the checkbox for stopping the adapter beforehand checked
Result:
An NPE occurrs
!image-2018-08-29-15-09-38-939.png!
{code}
java.lang.NullPointerException
at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.updateProject(OpenShiftShutdownController.java:71)
at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.stop(OpenShiftShutdownController.java:58)
at org.jboss.ide.eclipse.as.wtp.core.server.behavior.ControllableServerBehavior.stop(ControllableServerBehavior.java:255)
at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3698)
at org.eclipse.wst.server.core.internal.Server.stopImpl(Server.java:3655)
at org.eclipse.wst.server.core.internal.Server$StopJob.run(Server.java:413)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 9 months
[JBoss JIRA] (JBIDE-26327) Server adapter: NPE when stopping a server adapter whose workspace project was deleted
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26327?page=com.atlassian.jira.plugi... ]
Andre Dietisheim reassigned JBIDE-26327:
----------------------------------------
Assignee: (was: Andre Dietisheim)
> Server adapter: NPE when stopping a server adapter whose workspace project was deleted
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-26327
> URL: https://issues.jboss.org/browse/JBIDE-26327
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.9.0.AM2
> Reporter: Andre Dietisheim
> Labels: server_adapter
> Fix For: 4.9.0.Final
>
> Attachments: image-2018-08-29-15-09-38-939.png
>
>
> steps:
> # ASSERT: have a workspace project, a running OpenShift application and a server adapter started for the 2
> # EXEC: delete the workspace project
> # EXEC: delete the server adapter, making sure that you have the checkbox for stopping the adapter beforehand checked
> Result:
> An NPE occurrs
> !image-2018-08-29-15-09-38-939.png!
> {code}
> java.lang.NullPointerException
> at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.updateProject(OpenShiftShutdownController.java:71)
> at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.stop(OpenShiftShutdownController.java:58)
> at org.jboss.ide.eclipse.as.wtp.core.server.behavior.ControllableServerBehavior.stop(ControllableServerBehavior.java:255)
> at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3698)
> at org.eclipse.wst.server.core.internal.Server.stopImpl(Server.java:3655)
> at org.eclipse.wst.server.core.internal.Server$StopJob.run(Server.java:413)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 9 months
[JBoss JIRA] (JBIDE-26327) Server adapter: NPE when stopping a server adapter whose workspace project was deleted
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26327?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-26327:
-------------------------------------
Labels: server_adapter (was: )
> Server adapter: NPE when stopping a server adapter whose workspace project was deleted
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-26327
> URL: https://issues.jboss.org/browse/JBIDE-26327
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.9.0.AM2
> Reporter: Andre Dietisheim
> Labels: server_adapter
> Fix For: 4.9.0.Final
>
> Attachments: image-2018-08-29-15-09-38-939.png
>
>
> steps:
> # ASSERT: have a workspace project, a running OpenShift application and a server adapter started for the 2
> # EXEC: delete the workspace project
> # EXEC: delete the server adapter, making sure that you have the checkbox for stopping the adapter beforehand checked
> Result:
> An NPE occurrs
> !image-2018-08-29-15-09-38-939.png!
> {code}
> java.lang.NullPointerException
> at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.updateProject(OpenShiftShutdownController.java:71)
> at org.jboss.tools.openshift.core.server.behavior.OpenShiftShutdownController.stop(OpenShiftShutdownController.java:58)
> at org.jboss.ide.eclipse.as.wtp.core.server.behavior.ControllableServerBehavior.stop(ControllableServerBehavior.java:255)
> at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3698)
> at org.eclipse.wst.server.core.internal.Server.stopImpl(Server.java:3655)
> at org.eclipse.wst.server.core.internal.Server$StopJob.run(Server.java:413)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 9 months
[JBoss JIRA] (JBIDE-26326) Server adapter: Show In > Console does nothing
by Andre Dietisheim (JIRA)
Andre Dietisheim created JBIDE-26326:
----------------------------------------
Summary: Server adapter: Show In > Console does nothing
Key: JBIDE-26326
URL: https://issues.jboss.org/browse/JBIDE-26326
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.9.0.AM2
Reporter: Andre Dietisheim
Fix For: 4.9.x
steps:
# ASSERT: have an OpenShift server adapter started
# EXEC: in the ctx menu for your adapter: pick Show In > Console
Result:
Nothing happens
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 9 months
[JBoss JIRA] (JBIDE-23567) Integration tests global refactoring
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23567?page=com.atlassian.jira.plugi... ]
Pavol Srna reassigned JBIDE-23567:
----------------------------------
Assignee: Pavol Srna (was: Jeff MAURY)
> Integration tests global refactoring
> ------------------------------------
>
> Key: JBIDE-23567
> URL: https://issues.jboss.org/browse/JBIDE-23567
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: integration-tests
> Reporter: Jeff MAURY
> Assignee: Pavol Srna
> Labels: integration-test, integration_tests
> Fix For: 4.9.x
>
>
> We should done some work on integration tests so that we can rely on them to improve our code quality and reduce the technical debt.
> A sprint will be dedicated.
> Here are the tasks we should work on:
> * run tests from Maven and document how to run them if specific steps are required
> * If failure, fix the failed tests
> * Refactor / move tests to the components repository
> * Fix/make sure tests are run in PR check
> This huge task should be done component per component. Sub-tasks JIRA will be created for each component.
> You can use this document as a starting point:[https://docs.google.com/document/d/1bl8pJ2aW65UpyGpr3qxoAUREDWL26N...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
5 years, 9 months