You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (Jira)" <ji...@apache.org> on 2021/04/14 08:33:00 UTC
[jira] [Commented] (SYNCOPE-1628) Console goes NPE when Connector
fails to initialize
[ https://issues.apache.org/jira/browse/SYNCOPE-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17320802#comment-17320802 ]
Francesco Chicchiriccò commented on SYNCOPE-1628:
-------------------------------------------------
The reason of Console's NPE is that Core is returning {{null}} elements in the connectors' list.
This behavior is to be changed: instead of {{null}}, a {{ConnInstanceTO}} marked somehow as errored will be returned.
At that point, Console could show the errored connector as follows:
!screenshot-1.png!
> Console goes NPE when Connector fails to initialize
> ---------------------------------------------------
>
> Key: SYNCOPE-1628
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1628
> Project: Syncope
> Issue Type: Bug
> Components: console
> Affects Versions: 2.0.16, 2.1.9
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Priority: Major
> Fix For: 2.1.10, 3.0.0
>
> Attachments: screenshot-1.png
>
>
> Under certain circumstances a well-defined {{ConnInstance}} might not load correctly because the related ConnId initialization is failing; typically, when a connector bundle is upgraded.
> In such cases, the Topology page in the Console shows full-page stacktrace for {{NullPointerException}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)