#1 2015-01-26 16:17:25

jonpaulh
Member
Registered: 2014-09-26

Crystal Report Unknown DTO

I have been using a previous version of report server which is working correctly, with the exception of the crytsal report in the dashboard. I understand this has been fixed with the latest release and I have installed the latest version under webapps/reportserver2 and the database called reportserver2. When trying to create a report for Crystal Reports I get the following:

java.lang.IllegalArgumentException: Unrecognized Dto: net.datenwerke.rs.crystal.client.crystal.dto.decorator.CrystalReportDtoDec<br>
    at net.datenwerke.gf.service.dtoservice.DtoServiceImpl.instantiatePoso(DtoServiceImpl.java:486)<br>
    at net.datenwerke.security.server.TreeDBManagerTreeHandler.insertNode(TreeDBManagerTreeHandler.java:400)<br>
    at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66)<br>
    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110)<br>
    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
    at java.lang.reflect.Method.invoke(Method.java:606)<br>
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)<br>
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)<br>
    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110)<br>
    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)<br>
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)<br>
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)<br>
    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110)<br>
    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>
    at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)<br>
    at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)<br>
    at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)<br>
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)<br>
    at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:89)<br>
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)<br>
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)<br>
    at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)<br>
    at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)<br>
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)<br>
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)<br>
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)<br>
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)<br>
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)<br>
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)<br>
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)<br>
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)<br>
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)<br>
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)<br>
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)<br>
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)<br>
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)<br>
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)<br>
    at java.lang.Thread.run(Thread.java:745)<br>


Can someone please help me to understand and overcome the error. Regards.

Offline

#2 2015-01-26 16:36:21

jonpaulh
Member
Registered: 2014-09-26

Re: Crystal Report Unknown DTO

Hi Guys,

Quite strange, but I have since restarted tomcat and now the crystal report is working as expected.

Offline

#3 2015-01-26 21:40:28

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: Crystal Report Unknown DTO

Self healing software big_smile

Joke aside, could it be that you did not have the Crystal libs properly set up the first time you started the server? A second possibility
for this kind of error is a browser cache that still holds data for an old version of ReportServer. So whenever you switch versions
it is recommended to clear the cache.

Regards
Arno

Offline

#4 2015-01-27 08:15:40

jonpaulh
Member
Registered: 2014-09-26

Re: Crystal Report Unknown DTO

Thanks for responding Arno.
Yes I believe it is one of the two issues mentioned. To be honest after the restart of Tomcat I did do a CTRL + F5, so certainly it could of been a cache issue, but I suspect a mixture of the two. It's working great now anyway and crystal is working with the dashboard gadget.

Offline

Board footer

Powered by FluxBB