Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-37

Using console, create a new report feature does not work.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-incubating
    • Fix Version/s: 1.0.0-incubating
    • Component/s: console
    • Labels:
      None

      Description

      Using the console:
      Tab report, create New report, put all the data required and then click on Save.

      The report is not created.
      When I refreshed the page (or click on the report icon at the top of the page), the Report page is no longer accessible and displays this error:

      Last cause: No get method defined for class: class org.syncope.client.to.ReportTO expression: key

      org.apache.wicket.WicketRuntimeException: No get method defined for class: class org.syncope.client.to.ReportTO expression: key
      at org.apache.wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:499)
      at org.apache.wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:341)
      at org.apache.wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:244)
      at org.apache.wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:97)
      at org.apache.wicket.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:134)
      at org.syncope.console.commons.SortableDataProviderComparator.compare(SortableDataProviderComparator.java:45)
      at org.syncope.console.commons.SortableDataProviderComparator.compare(SortableDataProviderComparator.java:67)
      at java.util.Arrays.mergeSort(Arrays.java:1270)
      at java.util.Arrays.sort(Arrays.java:1210)
      at java.util.Collections.sort(Collections.java:159)
      at org.syncope.console.pages.Reports$ReportProvider.iterator(Reports.java:292)
      at org.apache.wicket.markup.repeater.data.DataViewBase$ModelIterator.<init>(DataViewBase.java:107)
      at org.apache.wicket.markup.repeater.data.DataViewBase.getItemModels(DataViewBase.java:74)
      at org.apache.wicket.markup.repeater.AbstractPageableView.getItemModels(AbstractPageableView.java:101)
      at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:93)
      at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:119)
      at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:115)
      at org.apache.wicket.Component.internalBeforeRender(Component.java:981)
      at org.apache.wicket.Component.beforeRender(Component.java:1015)
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785)
      at org.apache.wicket.Component.onBeforeRender(Component.java:3826)
      at org.apache.wicket.Component.internalBeforeRender(Component.java:981)

      The console.log shows this exception:

      11:07:59.055 INFO org.apache.wicket.resource.PropertiesFactory - Loading properties files from file:/Users/dino/Desktop/Lavoro/syncope/test/console/target/cargo/configurations/tomcat7x/webapps/syncope-console/WEB-INF/classes/org/syncope/console/pages/ResourceModalPage.properties with loader org.apache.wicket.resource.IsoPropertiesFilePropertiesLoader@382ac61
      11:07:59.092 WARN org.apache.wicket.markup.html.form.AbstractSingleSelectChoice - Detected inconsistency in choice component: class org.syncope.console.pages.ResourceModalPage/form:details:connector:dropDownChoiceField. Model returned object: org.syncope.client.to.ConnInstanceTO@317005bf[
      id=0
      bundleName=<null>
      version=<null>
      connectorName=<null>
      configuration=[]
      capabilities=[]
      displayName=<null>
      ], but this object is not available in the list of selected objects.
      11:07:59.158 INFO org.apache.wicket.resource.PropertiesFactory - Loading properties files from file:/Users/dino/Desktop/Lavoro/syncope/test/console/target/cargo/configurations/tomcat7x/webapps/syncope-console/WEB-INF/classes/org/syncope/console/pages/panels/ResourceSecurityPanel.properties with loader org.apache.wicket.resource.IsoPropertiesFilePropertiesLoader@382ac61
      11:08:11.368 INFO org.apache.wicket.resource.PropertiesFactory - Loading properties files from file:/Users/dino/Desktop/Lavoro/syncope/test/console/target/cargo/configurations/tomcat7x/webapps/syncope-console/WEB-INF/classes/org/syncope/console/pages/ReportletConfModalPage.properties with loader org.apache.wicket.resource.IsoPropertiesFilePropertiesLoader@382ac61
      11:08:57.077 ERROR org.syncope.console.SyncopeRequestCycleListener - Exception found
      org.apache.wicket.WicketRuntimeException: No get method defined for class: class org.syncope.client.to.ReportTO expression: key
      at org.apache.wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:499) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:341) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:244) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:97) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:134) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.syncope.console.commons.SortableDataProviderComparator.compare(SortableDataProviderComparator.java:45) ~[SortableDataProviderComparator.class:na]
      at org.syncope.console.commons.SortableDataProviderComparator.compare(SortableDataProviderComparator.java:67) ~[SortableDataProviderComparator.class:na]
      at java.util.Arrays.mergeSort(Arrays.java:1270) ~[na:1.6.0_29]
      at java.util.Arrays.sort(Arrays.java:1210) ~[na:1.6.0_29]
      at java.util.Collections.sort(Collections.java:159) ~[na:1.6.0_29]
      at org.syncope.console.pages.Reports$ReportProvider.iterator(Reports.java:292) ~[Reports$ReportProvider.class:na]
      at org.apache.wicket.markup.repeater.data.DataViewBase$ModelIterator.<init>(DataViewBase.java:107) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.markup.repeater.data.DataViewBase.getItemModels(DataViewBase.java:74) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.markup.repeater.AbstractPageableView.getItemModels(AbstractPageableView.java:101) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:93) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:119) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:115) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.internalBeforeRender(Component.java:981) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.beforeRender(Component.java:1015) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.onBeforeRender(Component.java:3826) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.internalBeforeRender(Component.java:981) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.beforeRender(Component.java:1015) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.onBeforeRender(Component.java:3826) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.internalBeforeRender(Component.java:981) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.beforeRender(Component.java:1015) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1785) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.onBeforeRender(Component.java:3826) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.internalBeforeRender(Component.java:981) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.beforeRender(Component.java:1015) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.internalPrepareForRender(Component.java:2200) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.Component.prepareForRender(Component.java:2232) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:968) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:805) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.ajax.AjaxRequestTarget.constructResponseBody(AjaxRequestTarget.java:675) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:644) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:781) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) ~[wicket-request-1.5.4.jar:1.5.4]
      at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97) ~[wicket-request-1.5.4.jar:1.5.4]
      at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255) [wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212) [wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283) [wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162) [wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218) [wicket-core-1.5.4.jar:1.5.4]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.26]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.26]
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) [catalina.jar:7.0.26]
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) [catalina.jar:7.0.26]
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [catalina.jar:7.0.26]
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) [catalina.jar:7.0.26]
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [catalina.jar:7.0.26]
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) [catalina.jar:7.0.26]
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.26]
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [catalina.jar:7.0.26]
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) [tomcat-coyote.jar:7.0.26]
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) [tomcat-coyote.jar:7.0.26]
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) [tomcat-coyote.jar:7.0.26]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_29]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_29]
      at java.lang.Thread.run(Thread.java:680) [na:1.6.0_29]
      11:08:57.089 WARN org.apache.wicket.protocol.http.WebSession - Component-targetted feedback message was left unrendered. This could be because you are missing a FeedbackPanel on the page. Message: [FeedbackMessage message = "Operation executed successfully", reporter = 14, level = INFO]
      11:09:02.156 ERROR org.syncope.console.SyncopeRequestCycleListener - Exception found
      org.apache.wicket.WicketRuntimeException: No get method defined for class: class org.syncope.client.to.ReportTO expression: key
      at org.apache.wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:499) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:341) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:244) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:97) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.model.AbstractPropertyModel.getObject(AbstractPropertyModel.java:134) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.syncope.console.commons.SortableDataProviderComparator.compare(SortableDataProviderComparator.java:45) ~[SortableDataProviderComparator.class:na]
      at org.syncope.console.commons.SortableDataProviderComparator.compare(SortableDataProviderComparator.java:67) ~[SortableDataProviderComparator.class:na]
      at java.util.Arrays.mergeSort(Arrays.java:1270) ~[na:1.6.0_29]
      at java.util.Arrays.sort(Arrays.java:1210) ~[na:1.6.0_29]
      at java.util.Collections.sort(Collections.java:159) ~[na:1.6.0_29]
      at org.syncope.console.pages.Reports$ReportProvider.iterator(Reports.java:292) ~[Reports$ReportProvider.class:na]
      at org.apache.wicket.markup.repeater.data.DataViewBase$ModelIterator.<init>(DataViewBase.java:107) ~[wicket-core-1.5.4.jar:1.5.4]
      at org.apache.wicket.markup.repeater.data.DataViewBase.getItemModels(DataViewBase.java:74) ~[wicket-core-1.5.4.jar:1.5.4]
      ....
      ....

        Attachments

        1. SYNCOPE-37.patch
          0.6 kB
          Dino Anzellotti

          Activity

            People

            • Assignee:
              anzelld Dino Anzellotti
              Reporter:
              anzelld Dino Anzellotti
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: