[jira] [Commented] (SYNCOPE-1707) Failure when attempting to add Plain Schema via Console

2022-10-31 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SYNCOPE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17626522#comment-17626522
 ] 

ASF subversion and git services commented on SYNCOPE-1707:
--

Commit 5d0066749e291eea1f265599e5d634d7d9193a51 in syncope's branch 
refs/heads/master from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=5d0066749e ]

[SYNCOPE-1707] Making Console and Enduser work fine with JDK 17


> Failure when attempting to add Plain Schema via Console
> ---
>
> Key: SYNCOPE-1707
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1707
> Project: Syncope
>  Issue Type: Bug
>  Components: console, docker
>Affects Versions: 3.0.0-M2, 3.0.0-M1
>Reporter: Francesco Chicchiriccò
>Priority: Major
> Fix For: 3.0.0
>
>
> As [reported in mailing 
> list|https://lists.apache.org/thread/rs2f59d43qvln59thl86hd8ovywlpdhj], after 
> starting Core and Console via Docker and attempting to craete a new Plain 
> Schema from Console, nothing seem to happen but the following exception is 
> logged:
> {code}
> java.lang.NoClassDefFoundError: Could not initialize class 
> net.sf.cglib.proxy.Enhancer
> at 
> org.apache.wicket.proxy.cglib.CglibProxyFactory.createProxy(CglibProxyFactory.java:72)
> at 
> org.apache.wicket.proxy.LazyInitProxyFactory.createProxy(LazyInitProxyFactory.java:160)
> at 
> org.apache.wicket.spring.injection.annot.AnnotProxyFieldValueFactory.getFieldValue(AnnotProxyFieldValueFactory.java:166)
> at org.apache.wicket.injection.Injector.inject(Injector.java:111)
> at 
> org.apache.wicket.spring.injection.annot.SpringComponentInjector.inject(SpringComponentInjector.java:124)
> at 
> org.apache.wicket.spring.injection.annot.SpringComponentInjector.onInstantiation(SpringComponentInjector.java:130)
> at 
> org.apache.wicket.application.ComponentInstantiationListenerCollection$1.notify(ComponentInstantiationListenerCollection.java:38)
> at 
> org.apache.wicket.application.ComponentInstantiationListenerCollection$1.notify(ComponentInstantiationListenerCollection.java:34)
> at 
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:81)
> at 
> org.apache.wicket.application.ComponentInstantiationListenerCollection.onInstantiation(ComponentInstantiationListenerCollection.java:33)
> at org.apache.wicket.Component.(Component.java:691)
> at org.apache.wicket.MarkupContainer.(MarkupContainer.java:180)
> at 
> org.apache.wicket.markup.html.WebMarkupContainer.(WebMarkupContainer.java:53)
> at 
> org.apache.wicket.markup.html.WebMarkupContainer.(WebMarkupContainer.java:45)
> at org.apache.wicket.markup.html.panel.Panel.(Panel.java:67)
> at 
> org.apache.syncope.client.console.panels.AbstractSchemaDetailsPanel.(AbstractSchemaDetailsPanel.java:36)
> at 
> org.apache.syncope.client.console.panels.PlainSchemaDetails.(PlainSchemaDetails.java:70)
> at 
> org.apache.syncope.client.console.panels.SchemaTypeWizardBuilder$Details.(SchemaTypeWizardBuilder.java:123)
> at 
> org.apache.syncope.client.console.panels.SchemaTypeWizardBuilder.buildModelSteps(SchemaTypeWizardBuilder.java:92)
> at 
> org.apache.syncope.client.console.panels.SchemaTypeWizardBuilder.buildModelSteps(SchemaTypeWizardBuilder.java:59)
> at 
> org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder.build(AjaxWizardBuilder.java:93)
> at 
> org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder.build(AjaxWizardBuilder.java:63)
> at 
> org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder.build(AjaxWizardBuilder.java:36)
> at 
> org.apache.syncope.client.console.wizards.WizardMgtPanel.onEvent(WizardMgtPanel.java:188)
> at 
> org.apache.syncope.client.console.panels.DirectoryPanel.onEvent(DirectoryPanel.java:341)
> at 
> org.apache.syncope.client.console.panels.SchemaTypePanel.onEvent(SchemaTypePanel.java:204)
> at 
> org.apache.wicket.settings.FrameworkSettings.dispatchEvent(FrameworkSettings.java:151)
> at 
> org.apache.wicket.ComponentEventSender.dispatchToComponent(ComponentEventSender.java:282)
> at 
> org.apache.wicket.ComponentEventSender.exact(ComponentEventSender.java:94)
> at 
> org.apache.wicket.ComponentEventSender.send(ComponentEventSender.java:74)
> at org.apache.wicket.Component.send(Component.java:4448)
> at 
> org.apache.syncope.client.console.wizards.WizardMgtPanel$2.onClick(WizardMgtPanel.java:128)
> at 
> org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:85)
> at 
> 

[jira] [Commented] (SYNCOPE-1707) Failure when attempting to add Plain Schema via Console

2022-10-31 Thread Jira


[ 
https://issues.apache.org/jira/browse/SYNCOPE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17626439#comment-17626439
 ] 

Francesco Chicchiriccò commented on SYNCOPE-1707:
-

It seems confirmed that the issue above occurs in Docker because the current 
Docker images for 3.0.0 are based on JDK 17.

When running a Maven project just generated from archetype, all works as 
expected with JDK 11 while the error above appears with JDK 17.

> Failure when attempting to add Plain Schema via Console
> ---
>
> Key: SYNCOPE-1707
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1707
> Project: Syncope
>  Issue Type: Bug
>  Components: console, docker
>Affects Versions: 3.0.0-M2, 3.0.0-M1
>Reporter: Francesco Chicchiriccò
>Priority: Major
> Fix For: 3.0.0
>
>
> As [reported in mailing 
> list|https://lists.apache.org/thread/rs2f59d43qvln59thl86hd8ovywlpdhj], after 
> starting Core and Console via Docker and attempting to craete a new Plain 
> Schema from Console, nothing seem to happen but the following exception is 
> logged:
> {code}
> java.lang.NoClassDefFoundError: Could not initialize class 
> net.sf.cglib.proxy.Enhancer
> at 
> org.apache.wicket.proxy.cglib.CglibProxyFactory.createProxy(CglibProxyFactory.java:72)
> at 
> org.apache.wicket.proxy.LazyInitProxyFactory.createProxy(LazyInitProxyFactory.java:160)
> at 
> org.apache.wicket.spring.injection.annot.AnnotProxyFieldValueFactory.getFieldValue(AnnotProxyFieldValueFactory.java:166)
> at org.apache.wicket.injection.Injector.inject(Injector.java:111)
> at 
> org.apache.wicket.spring.injection.annot.SpringComponentInjector.inject(SpringComponentInjector.java:124)
> at 
> org.apache.wicket.spring.injection.annot.SpringComponentInjector.onInstantiation(SpringComponentInjector.java:130)
> at 
> org.apache.wicket.application.ComponentInstantiationListenerCollection$1.notify(ComponentInstantiationListenerCollection.java:38)
> at 
> org.apache.wicket.application.ComponentInstantiationListenerCollection$1.notify(ComponentInstantiationListenerCollection.java:34)
> at 
> org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:81)
> at 
> org.apache.wicket.application.ComponentInstantiationListenerCollection.onInstantiation(ComponentInstantiationListenerCollection.java:33)
> at org.apache.wicket.Component.(Component.java:691)
> at org.apache.wicket.MarkupContainer.(MarkupContainer.java:180)
> at 
> org.apache.wicket.markup.html.WebMarkupContainer.(WebMarkupContainer.java:53)
> at 
> org.apache.wicket.markup.html.WebMarkupContainer.(WebMarkupContainer.java:45)
> at org.apache.wicket.markup.html.panel.Panel.(Panel.java:67)
> at 
> org.apache.syncope.client.console.panels.AbstractSchemaDetailsPanel.(AbstractSchemaDetailsPanel.java:36)
> at 
> org.apache.syncope.client.console.panels.PlainSchemaDetails.(PlainSchemaDetails.java:70)
> at 
> org.apache.syncope.client.console.panels.SchemaTypeWizardBuilder$Details.(SchemaTypeWizardBuilder.java:123)
> at 
> org.apache.syncope.client.console.panels.SchemaTypeWizardBuilder.buildModelSteps(SchemaTypeWizardBuilder.java:92)
> at 
> org.apache.syncope.client.console.panels.SchemaTypeWizardBuilder.buildModelSteps(SchemaTypeWizardBuilder.java:59)
> at 
> org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder.build(AjaxWizardBuilder.java:93)
> at 
> org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder.build(AjaxWizardBuilder.java:63)
> at 
> org.apache.syncope.client.ui.commons.wizards.AjaxWizardBuilder.build(AjaxWizardBuilder.java:36)
> at 
> org.apache.syncope.client.console.wizards.WizardMgtPanel.onEvent(WizardMgtPanel.java:188)
> at 
> org.apache.syncope.client.console.panels.DirectoryPanel.onEvent(DirectoryPanel.java:341)
> at 
> org.apache.syncope.client.console.panels.SchemaTypePanel.onEvent(SchemaTypePanel.java:204)
> at 
> org.apache.wicket.settings.FrameworkSettings.dispatchEvent(FrameworkSettings.java:151)
> at 
> org.apache.wicket.ComponentEventSender.dispatchToComponent(ComponentEventSender.java:282)
> at 
> org.apache.wicket.ComponentEventSender.exact(ComponentEventSender.java:94)
> at 
> org.apache.wicket.ComponentEventSender.send(ComponentEventSender.java:74)
> at org.apache.wicket.Component.send(Component.java:4448)
> at 
> org.apache.syncope.client.console.wizards.WizardMgtPanel$2.onClick(WizardMgtPanel.java:128)
> at 
> org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:85)
> at 
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:146)