#1 2015-02-01 19:42:15

msmith
Member
From: Canada
Registered: 2015-01-25

Object details tab - NoResultException

Hi,

When I click once on a report in a TeamSpace, the following stack trace is shown in the Details tab. This is for a plain BIRT report with no parameters.

Other than that, the report still works - I can execute it.

Error: An error occured during report execution.
No entity found for query
To get help please contact an administrator.
Details
javax.persistence.NoResultException: No entity found for query at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:286) at org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getSingleResult(CriteriaQueryCompiler.java:258) at net.datenwerke.rs.utils.simplequery.byatt.QueryByAttProcessor.process(QueryByAttProcessor.java:108) at net.datenwerke.rs.utils.simplequery.byatt.QueryByAttInterceptor.invoke(QueryByAttInterceptor.java:25) at net.datenwerke.rs.core.server.reportexport.ReportExportServlet.getReportId(ReportExportServlet.java:602) at net.datenwerke.rs.core.server.reportexport.ReportExportServlet.exportReportByIdViaRequest(ReportExportServlet.java:260) at net.datenwerke.rs.core.server.reportexport.ReportExportServlet.doGet(ReportExportServlet.java:162) at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66) at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110) at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:89) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

Thanks,
Mike

Offline

#2 2015-02-01 19:51:08

Thorsten J. Krause
Guest

Re: Object details tab - NoResultException

Hi Mike,

it seems the report displayed in these tabs are missing. Please take a look at this topic:
http://forum.reportserver.net/viewtopic … d=424#p424

Cheers,
Thorsten

#3 2015-02-01 20:18:52

msmith
Member
From: Canada
Registered: 2015-01-25

Re: Object details tab - NoResultException

Yes, it appears those reports are missing, along with the scripts (my Fileserver has no /bin path - just the base etc files are there).

Just importing the report from export_demo_scriptreports.zip wasn't sufficient, probably because my bin directory is empty. At some point I'll reinstall from scratch and see if it happens again. My /usr/share/tomcat/webapps/reportserver was initially not writable by Tomcat, so maybe something strange happened on the first launch.

Offline

#4 2015-02-08 21:08:15

msmith
Member
From: Canada
Registered: 2015-01-25

Re: Object details tab - NoResultException

This is no longer an issue after a fresh install, making sure first that /usr/share/tomcat/webapps/reportserver is owned by tomcat and /usr/share/tomcat/dbtmp exists and is owned by tomcat.

Thanks,
Mike

Offline

Board footer

Powered by FluxBB