Error rendering WebPanel
Asked by Sushma:

Hi Team

I am getting the below error when I restarted the confluence Server.

Error rendering WebPanel (com.atlassian.confluence.plugins.confluence-dashboard:dashboard-server-side-soy/DashboardTemplates.App.serverSideLayout): Could not find custom mapper jackson2soy for class class com.atlassian.confluence.api.model.web.WebItemView

How to resolve this ?

Regards

Sushma


Answers:
author: Elifcan Cakmak
body: Hello,

It looks like something is wrong with web panel plugin. Did you apply the resolution stated here:

<https://confluence.atlassian.com/confkb/error-rendering-webpanel-no-renderer-found-for-resource-type-300814261.html>

Regards,

Elifcan

comments: author: Sushma
body: Hi [@Elifcan Cakmak](/t5/user/viewprofilepage/user-id/783241)

I tried with both the resolutions. Both didn't worked for me

1.With the First resolution

I followed the first procedure i.e I added the -**Datlassian.plugins.enable.wait=300**

argument to Java properties in the setenv.sh file. Then I restarted the server.But No luck

2.With the Second resolution

**\[root@inblrvyd lib\]# java -cp h2-1.3.176.jar org.h2.tools.Shell**

Welcome to H2 Shell 1.3.176 (2014-04-05)  
Exit with Ctrl+C  
\[Enter\] jdbc:h2:\~/test  
**URL jdbc:h2:/var/atlassian/application-data/confluence/database/h2db**   
\[Enter\] org.h2.Driver  
**Driver org.h2.Driver**   
\[Enter\]  
**User sa**   
\[Enter\] Hide  
Password  
Password  
Connected  
Commands are case insensitive; SQL statements end with ';'  
help or ? Display this help  
list Toggle result list / stack trace mode  
maxwidth Set maximum column width (default is 100)  
autocommit Enable or disable autocommit  
history Show the last 20 statements  
quit or exit Close the connection and exit

sql\> **SELECT BANDANAVALUE FROM BANDANA WHERE BANDANAKEY = 'plugin.manager.state.Map';**   
BANDANAVALUE  
\<map\>  
\<entry\>  
\<string\>de.scandio.confluence.plugins.pocketquery\</string\>  
\<boolean\>false\</boolean\>  
\</entry\>  
\<entry\>  
\<string\>confluence.macros.html:html-xhtml\</string\>  
\<boolean\>true\</boolean\>  
\</entry\>  
\<entry\>  
\<string\>confluence.macros.html:html\</string\>  
\<boolean\>true\</boolean\>  
\</entry\>  
\</map\>  
(1 row, 21 ms)

As you can see , BANDANAVALUE not containing the below lines which are expected to be deleted.

    <entry>  <string>confluence.web.panel.renderers</string>  <boolean>false</boolean></entry>

I am really confused .Both the solutions are not working

please help me out.

Thanks in advance

**Logs :**

07-Oct-2019 11:44:47.000 INFO \[localhost-startStop-3\] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor /opt/atlassian/confluence/conf/Standalone/localhost/synchrony-proxy.xml  
07-Oct-2019 11:44:47.017 WARNING \[localhost-startStop-3\] org.apache.catalina.startup.SetContextPropertiesRule.begin \[SetContextPropertiesRule\]{Context} Setting property 'debug' to '0' did not find a matching property.  
07-Oct-2019 11:44:48.208 INFO \[localhost-startStop-3\] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: \[com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@6c2ca9fb\]  
07-Oct-2019 11:44:48.437 INFO \[localhost-startStop-3\] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'  
07-Oct-2019 11:44:48.437 INFO \[localhost-startStop-3\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started  
07-Oct-2019 11:44:48.444 INFO \[localhost-startStop-3\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Mon Oct 07 11:44:48 IST 2019\]; root of context hierarchy  
07-Oct-2019 11:44:48.528 INFO \[localhost-startStop-3\] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions Registering annotated classes: \[class com.atlassian.synchrony.proxy.websocket.WebSocketConfig,class com.atlassian.synchrony.proxy.web.SynchronyWebMvcConfig\]  
07-Oct-2019 11:44:49.073 INFO \[localhost-startStop-3\] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'  
07-Oct-2019 11:44:49.120 INFO \[localhost-startStop-3\] org.springframework.web.socket.server.support.WebSocketHandlerMapping.registerHandler Mapped URL path \[/v1/bayeux-sync1\] onto handler of type \[class org.springframework.web.socket.server.support.WebSocketHttpRequestHandler\]  
07-Oct-2019 11:44:49.651 INFO \[localhost-startStop-3\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{\[/healthcheck\]}" onto public com.atlassian.synchrony.proxy.web.HealthCheckResult com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.getSynchronyProxyInfo()  
07-Oct-2019 11:44:49.652 INFO \[localhost-startStop-3\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{\[/reload\],methods=\[PUT\]}" onto public org.springframework.http.ResponseEntity com.atlassian.synchrony.proxy.web.SynchronyProxyRestController.reloadConfiguration(com.atlassian.synchrony.proxy.web.SynchronyProxyConfigPayload)  
07-Oct-2019 11:44:49.676 INFO \[localhost-startStop-3\] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path \[/\*\*\] onto handler of type \[class org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler\]  
07-Oct-2019 11:44:49.707 INFO \[localhost-startStop-3\] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispatcher-servlet': startup date \[Mon Oct 07 11:44:48 IST 2019\]; root of context hierarchy  
07-Oct-2019 11:44:49.825 INFO \[localhost-startStop-3\] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647  
07-Oct-2019 11:44:49.854 INFO \[localhost-startStop-3\] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 1417 ms  
07-Oct-2019 11:44:49.856 INFO \[localhost-startStop-3\] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor /opt/atlassian/confluence/conf/Standalone/localhost/synchrony-proxy.xml has finished in 2,855 ms  
07-Oct-2019 11:44:49.864 INFO \[main\] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-nio-8090"\]  
07-Oct-2019 11:44:49.884 INFO \[main\] org.apache.catalina.startup.Catalina.start Server startup in 1287938 ms  
07-Oct-2019 11:44:51.140 INFO \[http-nio-8090-exec-8\] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.19.4 05/24/2017 03:20 PM'  
07-Oct-2019 11:44:56.615 INFO \[http-nio-8090-exec-2\] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.19.4 05/24/2017 03:20 PM'  
07-Oct-2019 11:44:56.746 INFO \[http-nio-8090-exec-7\] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.19.4 05/24/2017 03:20 PM'  
07-Oct-2019 11:44:56.934 INFO \[http-nio-8090-exec-7\] com.sun.jersey.api.wadl.config.WadlGeneratorLoader.loadWadlGenerator Loading wadlGenerator com.sun.jersey.server.wadl.generators.WadlGeneratorApplicationDoc  
07-Oct-2019 11:44:56.938 INFO \[http-nio-8090-exec-7\] com.sun.jersey.api.wadl.config.WadlGeneratorLoader.loadWadlGenerator Loading wadlGenerator com.atlassian.plugins.rest.doclet.generators.grammars.WadlGrammarsAdaptor  
07-Oct-2019 11:44:56.939 INFO \[http-nio-8090-exec-7\] com.sun.jersey.api.wadl.config.WadlGeneratorLoader.loadWadlGenerator Loading wadlGenerator com.atlassian.plugins.rest.doclet.generators.resourcedoc.AtlassianWadlGeneratorResourceDocSupport  
07-Oct-2019 11:44:57.904 INFO \[http-nio-8090-exec-9\] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.19.4 05/24/2017 03:20 PM'  
07-Oct-2019 11:46:09.614 INFO \[http-nio-8090-exec-8\] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.19.4 05/24/2017 03:20 PM'  
07-Oct-2019 11:46:09.847 INFO \[http-nio-8090-exec-8\] com.sun.jersey.api.wadl.config.WadlGeneratorLoader.loadWadlGenerator Loading wadlGenerator com.sun.jersey.server.wadl.generators.WadlGeneratorApplicationDoc  
07-Oct-2019 11:46:09.847 INFO \[http-nio-8090-exec-8\] com.sun.jersey.api.wadl.config.WadlGeneratorLoader.loadWadlGenerator Loading wadlGenerator com.atlassian.plugins.rest.doclet.generators.grammars.WadlGrammarsAdaptor  
07-Oct-2019 11:46:09.847 INFO \[http-nio-8090-exec-8\] com.sun.jersey.api.wadl.config.WadlGeneratorLoader.loadWadlGenerator Loading wadlGenerator com.atlassian.plugins.rest.doclet.generators.resourcedoc.AtlassianWadlGeneratorResourceDocSupport  
07-Oct-2019 11:46:09.900 INFO \[http-nio-8090-exec-9\] com.sun.jersey.server.impl.application.WebApplicationImpl._initiate Initiating Jersey application, version 'Jersey: 1.19.4 05/24/2017 03:20 PM'

Regards

Sushma


author: Elifcan Cakmak
body: Hello,

These are all info logs. Are there any error logs in the log file? Also you can try to stop confluence, delete plugin cache directories and restart confluence again. These are the directories:

    <confluence-home>/bundled-plugins<confluence-home>/plugins-cache<confluence-home>/plugins-osgi-cache<confluence-home>/plugins-temp<confluence-home>/bundled-plugins_language

I suggest taking backups of these directories before deleting them.

Regards,

Elifcan


author: Sushma
body: Hi [@Elifcan Cakmak](/t5/user/viewprofilepage/user-id/783241)

Thanks for the quick reply :)

2019-10-07 12:20:13,164 WARN \[http-nio-8090-exec-2\] **\[plugin.web.model.ResourceTemplateWebPanel\] writeHtml Error rendering WebPanel (com.atlassian.confluence.plugins.confluence-dashboard:dashboard-server-side-soy/DashboardTemplates.App.serverSideLayout): Could not find custom mapper jackson2soy for class class com.atlassian.confluence.api.model.web.WebItemView**   
**-- referer: [http://\<baseUrl\>/index.action](http://10.19.1.59:8090/index.action) \| url: / \| traceId: a3bba50137de32cc \| userName: sushma \| action: dashboard**   
**com.atlassian.plugin.web.renderer.RendererException: Could not find custom mapper jackson2soy for class class com.atlassian.confluence.api.model.web.WebItemView**   
**at** com.atlassian.soy.impl.webpanel.SoyWebPanelRenderer.render(SoyWebPanelRenderer.java:39)  
at com.atlassian.plugin.web.model.ResourceTemplateWebPanel.writeHtml(ResourceTemplateWebPanel.java:50)  
at com.atlassian.plugin.web.model.ResourceTemplateWebPanel.getHtml(ResourceTemplateWebPanel.java:65)  
at com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor$ContextAwareWebPanel.getHtml(DefaultWebPanelModuleDescriptor.java:144)  
at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager$ExceptionHandlingWebPanel.getHtml(ConfluenceWebInterfaceManager.java:110)  
at sun.reflect.GeneratedMethodAccessor535.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:498)  
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:385)  
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:374)

.

.

.So on.....

**Caused by: com.atlassian.soy.renderer.SoyException: Could not find custom mapper jackson2soy for class class com.atlassian.confluence.api.model.web.WebItemView**   
**at** com.atlassian.soy.impl.data.AtlassianSoyCustomValueConverter.findMapper(AtlassianSoyCustomValueConverter.java:88)  
at com.atlassian.soy.impl.data.AtlassianSoyCustomValueConverter.convert(AtlassianSoyCustomValueConverter.java:56)

.

.

. so on.....

I am getting the above errors in the logs

Regards

Sushma


author: Sushma
body: I didn't cleared the cache .I will clear it and let u know

Thanks :)

Sushma


author: Sushma
body: Hi [@Elifcan Cakmak](/t5/user/viewprofilepage/user-id/783241)

I cleared the cache directories and restarted the server . But No luck....

Still facing the same issue.

Regards

Sushma


author: Sushma
body: ![webitemview.png](https://community.atlassian.com/t5/image/serverpage/image-id/68598iE4F835ED781AD571/image-size/large?v=v2&px=999 "webitemview.png")


author: Elifcan Cakmak
body: Hello,

I see that you are using h2 database. I can't think of or find anything else to solve the issue :( Maybe you can try using an external database?

Regards,

Elifcan


author: Sushma
body: Hi [@Elifcan Cakmak](/t5/user/viewprofilepage/user-id/783241)

If I restore the backup file (1 week back)will it resolve the problem ?

Regards

Sushma


Tags: atlassian-marketplace

atlassian-sdk

atlassian-support

confluence-administration

confluence-app

confluence-development

confluence-server

jira-server

questions-for-confluence

server

team-calendars-for-confluence