java.lang.ClassCastException: 'velocimacro.permissions.allow.inline' doesn't map to a Boolean object


Solutions on the web

Solution icon of apache
via velocity-user by Nortje, Andrew, 1 year ago
'velocimacro.permissions.allow.inline' doesn't map to a Boolean object

Solution icon of apache
'velocimacro.permissions.allow.inline' doesn't map to a Boolean object

Solution icon of apache
'velocimacro.permissions.allow.inline' doesn't map to a Boolean object

Solution icon of apache
via velocity-user by Nortje, Andrew, 1 year ago
'velocimacro.permissions.allow.inline' doesn't map to a Boolean object

Stack trace

java.lang.ClassCastException: 'velocimacro.permissions.allow.inline' doesn't
map to a Boolean object
	at org.apache.velocity.servlet.VelocityServlet.initVelocity(VelocityServlet.java:236)
	at org.apache.velocity.servlet.VelocityServlet.init(VelocityServlet.java:198)
	at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1075)
	at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
	at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:899)
	at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:833)
	at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:773)
	at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
	at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.