#1 2019-07-23 09:48:25

karick
Member
Registered: 2019-05-09

500 EncodedResponse

Hi All

I got the error message in the login screen as follow:

Error 500 The call failed on the server; see server log for details Statuscode: 500 EncodedResponse: The call failed on the server; see server log for details.

Below is the error log:

23-Jul-2019 09:29:29.236 INFO [https-openssl-apr-8443-exec-1] net.datenwerke.rs.passwordpolicy.service.BsiPasswordPolicyServiceImpl.getPolicy Password policy not active: Could not find config for security/passwordpolicy.cf
23-Jul-2019 09:29:29.557 INFO [https-openssl-apr-8443-exec-2] net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke Intercepted NonFatalException
com.google.gwt.user.client.rpc.SerializationException: Type '[Ljava.lang.Object;' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = [Ljava.lang.Object;@2d9f5d7
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:667)
        at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:130)
        at com.google.gwt.user.client.rpc.core.java.util.Arrays$ArrayList_CustomFieldSerializer.serialize(Arrays.java:71)
        at com.google.gwt.user.client.rpc.core.java.util.Arrays$ArrayList_CustomFieldSerializer.serializeInstance(Arrays.java:94)
        at com.google.gwt.user.client.rpc.core.java.util.Arrays$ArrayList_CustomFieldSerializer.serializeInstance(Arrays.java:34)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:789)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:669)
        at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:130)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:587)
        at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:631)
        at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:497)
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:589)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
        at net.datenwerke.rsenterprise.license.service.EnterpriseCheckInterceptor.invoke(EnterpriseCheckInterceptor.java:35)
        at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
        at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
        at net.datenwerke.rsenterprise.license.service.EnterpriseCheckInterceptor.invoke(EnterpriseCheckInterceptor.java:35)
        at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
        at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
        at net.datenwerke.rsenterprise.license.service.EnterpriseCheckInterceptor.invoke(EnterpriseCheckInterceptor.java:35)
        at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
        at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
        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.FilterDefinition.doFilter(FilterDefinition.java:168)
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
        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:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:337)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:72)
        at org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)

23-Jul-2019 09:29:29.561 INFO [https-openssl-apr-8443-exec-2] net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke Intercepted NonFatalException
net.datenwerke.gxtdto.client.servercommunication.exceptions.ServerCallFailedException: Type '[Ljava.lang.Object;' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = [Ljava.lang.Object;@2d9f5d7
        at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:62)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
        at net.datenwerke.rsenterprise.license.service.EnterpriseCheckInterceptor.invoke(EnterpriseCheckInterceptor.java:35)
        at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
        at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
        at net.datenwerke.rsenterprise.license.service.EnterpriseCheckInterceptor.invoke(EnterpriseCheckInterceptor.java:35)
        at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
        at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
        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.FilterDefinition.doFilter(FilterDefinition.java:168)
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
        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:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:337)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:72)
        at org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type '[Ljava.lang.Object;' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = [Ljava.lang.Object;@2d9f5d7
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:667)
        at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:130)
        at com.google.gwt.user.client.rpc.core.java.util.Arrays$ArrayList_CustomFieldSerializer.serialize(Arrays.java:71)
        at com.google.gwt.user.client.rpc.core.java.util.Arrays$ArrayList_CustomFieldSerializer.serializeInstance(Arrays.java:94)
        at com.google.gwt.user.client.rpc.core.java.util.Arrays$ArrayList_CustomFieldSerializer.serializeInstance(Arrays.java:34)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:789)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:669)
        at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:130)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:587)
        at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:631)
        at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:497)
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:589)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
        at net.datenwerke.rsenterprise.license.service.EnterpriseCheckInterceptor.invoke(EnterpriseCheckInterceptor.java:35)
        at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
        at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
        ... 42 more

I am pleased if anyone can help.

Regards

KTung

Offline

#2 2019-07-29 07:20:39

eduardo
Administrator
Registered: 2016-11-01
Website

Re: 500 EncodedResponse

Hi KTung,

- when exactly do you get this error?
- what version exactly are you using (rsversion.properties)
- did you perform an upgrade?
- how did you install reportserver? bitnami? manual installation?

Regards,
Eduardo

Offline

#3 2019-07-29 07:29:21

karick
Member
Registered: 2019-05-09

Re: 500 EncodedResponse

Thanks Eduardo, the info as follow:

1. About 2-3 weeks before
2. Version: RS3.0.7-6008 (2019-05-06-13-37-55)
3. No, I do not do any upgrade
4. Manual installation

Regards

Karick

Offline

#4 2019-07-29 07:31:17

eduardo
Administrator
Registered: 2016-11-01
Website

Re: 500 EncodedResponse

Hi Karick,

- when exactly, I meant what steps do you perform on reportserver for getting this error. Can you post some screenshots? You can use http://imgbb.com for this.
- can you try with a clean bitnami installation and check if you are getting the same error?

Regards,
Eduardo

Offline

#5 2019-07-29 07:45:37

karick
Member
Registered: 2019-05-09

Re: 500 EncodedResponse

Hi Eduardo

Thanks for the prompt reply.

I did not do any steps before the error occurred.  The screen capture as follows:

2019-07-29-15-38-59.png

Actually, I have actually installed 3 copy with ReportServer with the same steps.  Others 2 did not have error but both are community version.  Only this server install the enterprise version.

Is there any further information I can provide?

Regards

Karick

Last edited by karick (2019-07-29 08:04:50)

Offline

#6 2019-07-29 07:59:10

eduardo
Administrator
Registered: 2016-11-01
Website

Re: 500 EncodedResponse

Hi Karick,

please check the email you sent. It does not work. You can post the image as shown here: https://forum.reportserver.net/help.php#bbcode
You need the url to the .jpg or .png file provided by imgbb.

Regards,
Eduardo

Offline

#7 2019-07-29 08:05:24

karick
Member
Registered: 2019-05-09

Re: 500 EncodedResponse

Hi Eduardo

I correct the img display problem.

Regards

Karick

Offline

#8 2019-07-29 08:38:33

eduardo
Administrator
Registered: 2016-11-01
Website

Re: 500 EncodedResponse

Hi Karick,

strange. Are you using 3 different databases for your 3 different installations?

Have you completely deleted the browser's cache including the temp files?

So you are not able to even to log in into reportserver? Again, please try with a clean bitnami installation. If this works, something must be different in your manual installation. Can you please describe which steps exactly did you perform to install this?

Regards,
Eduardo

Offline

#9 2019-07-29 08:54:04

karick
Member
Registered: 2019-05-09

Re: 500 EncodedResponse

Hi Eduardo

Yes, they are 3 different installations with their own database.  I have tried clear the browser's cache and temp files.  The error prompt shows up no matter HTTP or HTTPS.

All functions work perfectly except for the error prompt.

I follow the manual installation steps under documentation provided by the official site.  After that, I enable the ARP under tomcat and enable the HTTPS service.  It works without any error from the beginning.  But honestly, I didn't remember what I have done before the error message prompt.

I am not able to install from a clean bitnami installation for the server.  I may try to download the source and reinstall it with the same DB to see if any luck.

Regards

Karick

Offline

#10 2019-07-29 09:01:56

eduardo
Administrator
Registered: 2016-11-01
Website

Re: 500 EncodedResponse

Hi karick,

I would try with a new installation in a new db server. You may try first with the simplest manual installation possible: just copy the files into the webapps directory of your tomcat, add the persistence.properties file to WEB-INF/classes, execute your DDLs, and that's it.
Check if you get the error with this simple manual installation before performing any other steps. And leave only this installation on this tomcat instance. No more webapps should be found in your webapps directory.

Regards,
Eduardo

Offline

#11 2019-07-30 05:54:18

karick
Member
Registered: 2019-05-09

Re: 500 EncodedResponse

Hi Eduardo

2019-07-30-12-33-38.png
image host

2019-07-30-13-48-40.png
image host

I just found that it may be the cause I attached as above.  Hope it help.

Regards

Karick

Offline

#12 2019-07-30 06:52:01

eduardo
Administrator
Registered: 2016-11-01
Website

Re: 500 EncodedResponse

Hi Karick,

maybe your datasource bundle configuration has some problem. Can you first try not using a bundle but "normal" datasources ? This would explain why you don't get the problem in the CE versions: bundles are not supported there.

Regards,
Eduardo

Offline

#13 2019-07-30 06:57:43

karick
Member
Registered: 2019-05-09

Re: 500 EncodedResponse

Hi Eduardo

Do you mean that I should delete the bundle datasource first?

Regards

Karick

Offline

#14 2019-07-30 07:19:07

eduardo
Administrator
Registered: 2016-11-01
Website

Re: 500 EncodedResponse

Hi Karick,

you should try with a clean installation without any further configuration first. Then, step by step, add the datasource bundle, and your own configurations, and after each step, check if the error appears. In such a way you can easily delimit the problem.

Regards,
Eduardo

Offline

#15 2019-09-21 14:13:31

karick
Member
Registered: 2019-05-09

Re: 500 EncodedResponse

Hi Eduardo

Just find that the error came after I set the "databasebundle.cf" as follow:

<?xml version="1.0" encoding="UTF-8"?>
<!--
ReportServer Configuration File
filename: datasources/databasebundle.cf

Configures available datasource keys in datasource bundles
-->
<configuration>
   <bundletype>
      <name>tenant_id</name>
      <keys>
         <key>11111111</key>
         <key>22222222</key>
      </keys>
   </bundletype>
</configuration>

Hope it help.

Regards

Karick

Offline

#16 2019-09-25 06:58:56

eduardo
Administrator
Registered: 2016-11-01
Website

Re: 500 EncodedResponse

Hi Karick,

check here for an example: https://reportserver.net/en/guides/conf … ebundlecf/

The keys you provide seem to be the datasource ids. Can you try with the keys of the datasources? Restart your reportserver after your change or reload configuration with "config reload".

Regards,
Eduardo

Offline

#17 2020-10-19 15:49:18

eduardo
Administrator
Registered: 2016-11-01
Website

Re: 500 EncodedResponse

Hi karick,

we discovered this to be a bug while using database bundles together with Java 9/ Java 11. This will be fixed in RS-4402 in the next ReportServer version.

RS-4402: Login Bundles are not working together with Java 11

Regards,
Eduardo

Offline

#18 2021-02-19 16:23:49

eduardo
Administrator
Registered: 2016-11-01
Website

Re: 500 EncodedResponse

Hi karick,

we released ReportServer 3.4.0 today where this is available.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB