Re: myportal-> main error
Posted by
BJ Freeman on
Apr 16, 2009; 11:25am
URL: http://ofbiz.116.s1.nabble.com/myportal-main-error-tp164923p164930.html
Since this was on the demo server, they are suppose to be clear on each
new upload of the svn.
It is working now.
dukian sent the following on 4/15/2009 11:17 PM:
> I got same problem several days ago.
>
> Compared "bad"(svn) and "good"(trunk), different data in the column
> screenLocation of table Portal_Porlet make exceptions thrown.
>
> My workarounds:
>
> 1. drop table Portlet_Portlet_Category, Portal_Page_Portlet,
> Portal_Page_Column, Portal_Page, Portlet_Category, Portlet_Attribute,
> Portal_Portlet.
>
> 2. stop ofbiz
>
> 3. ant run-install-seed
>
> and start ofbiz again. It works ...
>
>
> // Dukian
>
>
> BJ Freeman wrote:
> Love the layout of smoothfeather.
>
> not sure if this is the layout of just code
>
>
> Method public java.lang.String
> org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String)
> throws
> org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException
> threw an exception when invoked on
> org.ofbiz.widget.screen.ScreenRenderer@6770f2 with arguments of types
> [java.lang.String,java.lang.String,] The problematic instruction:
> ---------- ==> ${screens.render(portlet.screenLocation,
> portlet.screenName)} [on line 33, column 13 in
> component://common/webcommon/portal/showPortalPage.ftl] ---------- Java
> backtrace for programmers: ----------
> freemarker.template.TemplateModelException: Method public
> java.lang.String
> org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String,java.lang.String)
> throws
> org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException
> threw an exception when invoked on
> org.ofbiz.widget.screen.ScreenRenderer@6770f2 with arguments of types
> [java.lang.String,java.lang.String,] at
> freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134)
> at
>>
>>