[JBoss JIRA] (JBIDE-25808) NullPointerException in NewApplicationWizard.init
by Dmitrii Bocharov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25808?page=com.atlassian.jira.plugi... ]
Dmitrii Bocharov commented on JBIDE-25808:
------------------------------------------
Also about Andre's comment above: model can't be null too, because 5 lines above there is:
{code:java}
model.setEclipseProject(selectedProject);
{code}
which would throw NPE in advance in case model was null.
> NullPointerException in NewApplicationWizard.init
> -------------------------------------------------
>
> Key: JBIDE-25808
> URL: https://issues.jboss.org/browse/JBIDE-25808
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Reporter: Automated Error Reporting Bot
> Assignee: Dmitrii Bocharov
> Fix For: 4.5.3.Final
>
>
> The following problem was reported via the automated error reporting:
> Message: Unhandled event loop exception
> {noformat}
> java.lang.NullPointerException: null
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizard.init(NewApplicationWizard.java:115)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:281)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> at org.jboss.tools.openshift.internal.ui.handler.NewApplicationHandler.execute(NewApplicationHandler.java:34)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
> {noformat}
> Bundles:
> | org.eclipse.e4.core.di | 1.6.100.v20170421-1418 | 1.6.100.v20170421-1418 |
> | org.eclipse.ui | 3.109.0.v20170411-1742 | 3.109.0.v20170411-1742 |
> | org.jboss.tools.common.ui | 3.9.2.v20171116-1909 | 3.9.2.v20171116-1909 |
> | org.jboss.tools.openshift.ui | 3.4.2.v20180117-2230 | 3.4.2.v20180117-2230 |
> Operating Systems:
> | Linux | 4.15.3.fc27 | 4.15.6.fc27 |
> The above information is a snapshot of the collected data. Visit [this page|https://aer.ctrlflow.com/redhat/reviewers/#!/problems/5a9f3513e4b037...] for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25808) NullPointerException in NewApplicationWizard.init
by Dmitrii Bocharov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25808?page=com.atlassian.jira.plugi... ]
Dmitrii Bocharov commented on JBIDE-25808:
------------------------------------------
[~adietish] the strange thing is that line 115 of the version 3.4.2.of openshift.ui (according to the report) is:
{code:java}
connection = ConnectionsRegistryUtil.safeGetConnectionFor(resource);
{code}
which i can't understand how it can throw NPE
> NullPointerException in NewApplicationWizard.init
> -------------------------------------------------
>
> Key: JBIDE-25808
> URL: https://issues.jboss.org/browse/JBIDE-25808
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Reporter: Automated Error Reporting Bot
> Assignee: Dmitrii Bocharov
> Fix For: 4.5.3.Final
>
>
> The following problem was reported via the automated error reporting:
> Message: Unhandled event loop exception
> {noformat}
> java.lang.NullPointerException: null
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizard.init(NewApplicationWizard.java:115)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:281)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> at org.jboss.tools.openshift.internal.ui.handler.NewApplicationHandler.execute(NewApplicationHandler.java:34)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
> {noformat}
> Bundles:
> | org.eclipse.e4.core.di | 1.6.100.v20170421-1418 | 1.6.100.v20170421-1418 |
> | org.eclipse.ui | 3.109.0.v20170411-1742 | 3.109.0.v20170411-1742 |
> | org.jboss.tools.common.ui | 3.9.2.v20171116-1909 | 3.9.2.v20171116-1909 |
> | org.jboss.tools.openshift.ui | 3.4.2.v20180117-2230 | 3.4.2.v20180117-2230 |
> Operating Systems:
> | Linux | 4.15.3.fc27 | 4.15.6.fc27 |
> The above information is a snapshot of the collected data. Visit [this page|https://aer.ctrlflow.com/redhat/reviewers/#!/problems/5a9f3513e4b037...] for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBDS-4677) Certification errors to connect to OpenShift with certificates self-signed
by Roman Martin Gil (JIRA)
[ https://issues.jboss.org/browse/JBDS-4677?page=com.atlassian.jira.plugin.... ]
Roman Martin Gil updated JBDS-4677:
-----------------------------------
Attachment: (was: jbds-openshift-certificate-errors.png)
> Certification errors to connect to OpenShift with certificates self-signed
> --------------------------------------------------------------------------
>
> Key: JBDS-4677
> URL: https://issues.jboss.org/browse/JBDS-4677
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: cdk, openshift
> Affects Versions: 11.2.0.GA
> Environment: JBDS 11.2.0.GA
> $ cat /etc/redhat-release
> Fedora release 27 (Twenty Seven)
> $ uname -a
> Linux kiuran.localdomain 4.14.18-300.fc27.x86_64 #1 SMP Thu Feb 8 01:35:31 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> $ java -version
> openjdk version "1.8.0_161"
> OpenJDK Runtime Environment (build 1.8.0_161-b14)
> OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)
> Reporter: Roman Martin Gil
> Assignee: Jeff MAURY
> Fix For: 11.x
>
> Attachments: jbds-openshift-browser.png
>
>
> I can't get a token when I tried to create a new OpenShift connection to a external cluster with self-signed certificates.
> When I click in retrieve link to get the token I got the following messages and I can't get the token to finish the process.
> {code:java}
> An error occurred during a connection to 127.0.0.1:8443.
> Cannot communicate securely with peer: no common encryption algorithm(s).
> (Error code: ssl_error_no_cypher_overlap)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBDS-4677) Certification errors to connect to OpenShift with certificates self-signed
by Roman Martin Gil (JIRA)
[ https://issues.jboss.org/browse/JBDS-4677?page=com.atlassian.jira.plugin.... ]
Roman Martin Gil updated JBDS-4677:
-----------------------------------
Description:
I can't get a token when I tried to create a new OpenShift connection to a external cluster with self-signed certificates.
When I click in retrieve link to get the token I got the following messages and I can't get the token to finish the process.
{code:java}
An error occurred during a connection to 127.0.0.1:8443.
Cannot communicate securely with peer: no common encryption algorithm(s).
(Error code: ssl_error_no_cypher_overlap)
{code}
was:
I can't get a token when I tried to create a new OpenShift connection to a external cluster with self-signed certificates.
When I click in retrieve link to get the token I got the following messages and I can't get the token to finish the process.
{code:java}
An error occurred during a connection to axdesocp1console.central.inditex.grp:8443.
Cannot communicate securely with peer: no common encryption algorithm(s).
(Error code: ssl_error_no_cypher_overlap)
{code}
> Certification errors to connect to OpenShift with certificates self-signed
> --------------------------------------------------------------------------
>
> Key: JBDS-4677
> URL: https://issues.jboss.org/browse/JBDS-4677
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: cdk, openshift
> Affects Versions: 11.2.0.GA
> Environment: JBDS 11.2.0.GA
> $ cat /etc/redhat-release
> Fedora release 27 (Twenty Seven)
> $ uname -a
> Linux kiuran.localdomain 4.14.18-300.fc27.x86_64 #1 SMP Thu Feb 8 01:35:31 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> $ java -version
> openjdk version "1.8.0_161"
> OpenJDK Runtime Environment (build 1.8.0_161-b14)
> OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)
> Reporter: Roman Martin Gil
> Assignee: Jeff MAURY
> Fix For: 11.x
>
> Attachments: jbds-openshift-browser.png, jbds-openshift-certificate-errors.png
>
>
> I can't get a token when I tried to create a new OpenShift connection to a external cluster with self-signed certificates.
> When I click in retrieve link to get the token I got the following messages and I can't get the token to finish the process.
> {code:java}
> An error occurred during a connection to 127.0.0.1:8443.
> Cannot communicate securely with peer: no common encryption algorithm(s).
> (Error code: ssl_error_no_cypher_overlap)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25830) After starting CDK server adapter OpenShift Connection does not work when oc is not on path
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25830?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25830:
-------------------------------------
Description:
OpenShift connection should be working, when user starts CDK server adapter, even if you do not have oc on path. In my opinion OpenShift connection should be working "out of box" when user starts CDK server adapter.
steps:
# ASSERT: oc is not on path
# EXEC: Start CDK server adapter
# ASSERT: OpenShift connection is created, but does not fully work (all oc related operations wont)
Error: oc is not set for OpenShift connection to CDK and OpenShift connection does not work.
Expected: OpenShift connection should be working without user touch.
was:
OpenShift connection should be working, when user starts CDK server adapter, even if you do not have oc on path. In my opinion OpenShift connection should be working "out of box" when user starts CDK server adapter.
0. oc is not on path
1. Start CDK server adapter
2. OpenShift connection is created, but does not work
Error: oc is not set for OpenShift connection to CDK and OpenShift connection does not work.
Expected: OpenShift connection should be working without user touch.
> After starting CDK server adapter OpenShift Connection does not work when oc is not on path
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-25830
> URL: https://issues.jboss.org/browse/JBIDE-25830
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: cdk, openshift
> Affects Versions: 4.5.3.AM3
> Reporter: Josef Kopriva
> Assignee: Rob Stryker
> Labels: cdk_server_adapter, connection
> Fix For: 4.5.3.Final
>
>
> OpenShift connection should be working, when user starts CDK server adapter, even if you do not have oc on path. In my opinion OpenShift connection should be working "out of box" when user starts CDK server adapter.
> steps:
> # ASSERT: oc is not on path
> # EXEC: Start CDK server adapter
> # ASSERT: OpenShift connection is created, but does not fully work (all oc related operations wont)
> Error: oc is not set for OpenShift connection to CDK and OpenShift connection does not work.
> Expected: OpenShift connection should be working without user touch.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25830) After starting CDK server adapter OpenShift Connection does not work when oc is not on path
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25830?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-25830:
------------------------------------------
I think that since we're the ones who created this connection, we should do the best we can to have it fully functional. So we really could prompt him to set the oc binary. We could even only do that if there's no oc on the path. Nevertheless, this isn't a proper bug but an enhancement since we inform on all (?) wizards if oc is missing and ought to be set.
> After starting CDK server adapter OpenShift Connection does not work when oc is not on path
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-25830
> URL: https://issues.jboss.org/browse/JBIDE-25830
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, openshift
> Affects Versions: 4.5.3.AM3
> Reporter: Josef Kopriva
> Assignee: Rob Stryker
> Labels: cdk_server_adapter, connection
> Fix For: 4.5.3.Final
>
>
> OpenShift connection should be working, when user starts CDK server adapter, even if you do not have oc on path. In my opinion OpenShift connection should be working "out of box" when user starts CDK server adapter.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25830) After starting CDK server adapter OpenShift Connection does not work when oc is not on path
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25830?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25830:
-------------------------------------
Description:
OpenShift connection should be working, when user starts CDK server adapter, even if you do not have oc on path. In my opinion OpenShift connection should be working "out of box" when user starts CDK server adapter.
0. oc is not on path
1. Start CDK server adapter
2. OpenShift connection is created, but does not work
Error: oc is not set for OpenShift connection to CDK and OpenShift connection does not work.
Expected: OpenShift connection should be working without user touch.
was:OpenShift connection should be working, when user starts CDK server adapter, even if you do not have oc on path. In my opinion OpenShift connection should be working "out of box" when user starts CDK server adapter.
> After starting CDK server adapter OpenShift Connection does not work when oc is not on path
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-25830
> URL: https://issues.jboss.org/browse/JBIDE-25830
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, openshift
> Affects Versions: 4.5.3.AM3
> Reporter: Josef Kopriva
> Assignee: Rob Stryker
> Labels: cdk_server_adapter, connection
> Fix For: 4.5.3.Final
>
>
> OpenShift connection should be working, when user starts CDK server adapter, even if you do not have oc on path. In my opinion OpenShift connection should be working "out of box" when user starts CDK server adapter.
> 0. oc is not on path
> 1. Start CDK server adapter
> 2. OpenShift connection is created, but does not work
> Error: oc is not set for OpenShift connection to CDK and OpenShift connection does not work.
> Expected: OpenShift connection should be working without user touch.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months
[JBoss JIRA] (JBIDE-25830) After starting CDK server adapter OpenShift Connection does not work when oc is not on path
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25830?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25830:
-------------------------------------
Issue Type: Enhancement (was: Bug)
> After starting CDK server adapter OpenShift Connection does not work when oc is not on path
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-25830
> URL: https://issues.jboss.org/browse/JBIDE-25830
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: cdk, openshift
> Affects Versions: 4.5.3.AM3
> Reporter: Josef Kopriva
> Assignee: Rob Stryker
> Labels: cdk_server_adapter, connection
> Fix For: 4.5.3.Final
>
>
> OpenShift connection should be working, when user starts CDK server adapter, even if you do not have oc on path. In my opinion OpenShift connection should be working "out of box" when user starts CDK server adapter.
> 0. oc is not on path
> 1. Start CDK server adapter
> 2. OpenShift connection is created, but does not work
> Error: oc is not set for OpenShift connection to CDK and OpenShift connection does not work.
> Expected: OpenShift connection should be working without user touch.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 12 months