掲示板

URL Exception while displaying portal

thumbnail
14年前 に R charan によって更新されました。

URL Exception while displaying portal

Junior Member 投稿: 72 参加年月日: 08/10/28 最新の投稿
hi all,
this is the error iam facing, every time i get this i need to restart the server. i could not able to find what is the error exactly, any idea on this....

11:05:28,838 ERROR [velocity:154] Method getURL threw exception for reference $nav_item in template grey-theme_SERVLET_CONTEXT_/templates/navigation.vm at  [26,42]
11:05:28,839 ERROR [IncludeTag:52] Current URL /c/portal/layout generates exception: Invocation of method 'getURL' in  class com.liferay.portal.theme.NavItem threw exception java.lang.NullPointerException @ grey-theme_SERVLET_CONTEXT_/templates/navigation.vm[26,52]
11:05:28,840 ERROR [IncludeTag:52] java.lang.NullPointerException
        at com.liferay.portal.util.PortalImpl.getLayoutFriendlyURL(PortalImpl.java:966)
        at com.liferay.portal.util.PortalImpl.getLayoutURL(PortalImpl.java:849)
        at com.liferay.portal.util.PortalImpl.getLayoutURL(PortalImpl.java:838)
        at com.liferay.portal.util.PortalUtil.getLayoutURL(PortalUtil.java:245)
        at com.liferay.portal.model.impl.LayoutImpl._getURL(LayoutImpl.java:675)
        at com.liferay.portal.model.impl.LayoutImpl.getRegularURL(LayoutImpl.java:546)
        at com.liferay.portal.theme.NavItem.getRegularURL(NavItem.java:102)
        at com.liferay.portal.theme.NavItem.getURL(NavItem.java:98)
        at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
        at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
        at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
        at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
        at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
        at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
        at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
        at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
        at org.apache.velocity.runtime.directive.Parse.render(Parse.java:224)
        at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
        at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
        at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)