myportal-> main error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

myportal-> main error

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ3nSArP3NbaWWqE4RAg4yAJ4iIcmR1zUol/Nsr5MyjVRmtagQdgCcDSr9
t8P3jauYx5eVJhex7TL07Xc=
=i2lq
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: myportal-> main error

Jacques Le Roux
Administrator
The URL would have helped... (o discrimiate between code or theme, it needs just to be tested with the std layout)

Jacques

From: "BJ Freeman" <[hidden email]>

> 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJ3nSArP3NbaWWqE4RAg4yAJ4iIcmR1zUol/Nsr5MyjVRmtagQdgCcDSr9
> t8P3jauYx5eVJhex7TL07Xc=
> =i2lq
> -----END PGP SIGNATURE-----
>

Reply | Threaded
Open this post in threaded view
|

Re: myportal-> main error

dukian
In reply to this post by BJ Freeman
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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ3nSArP3NbaWWqE4RAg4yAJ4iIcmR1zUol/Nsr5MyjVRmtagQdgCcDSr9
t8P3jauYx5eVJhex7TL07Xc=
=i2lq
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: myportal-> main error

BJ Freeman
In reply to this post by Jacques Le Roux
https://demo.ofbiz.org/myportal/control/main
Working now.
My apologies for not showing the steps to create the problem.

Jacques Le Roux sent the following on 4/14/2009 1:28 PM:

> The URL would have helped... (o discrimiate between code or theme, it
> needs just to be tested with the std layout)
>
> Jacques
>
> From: "BJ Freeman" <[hidden email]>
>> 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
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFJ3nSArP3NbaWWqE4RAg4yAJ4iIcmR1zUol/Nsr5MyjVRmtagQdgCcDSr9
>> t8P3jauYx5eVJhex7TL07Xc=
>> =i2lq
>> -----END PGP SIGNATURE-----
>>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: myportal-> main error

BJ Freeman
In reply to this post by dukian
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
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: myportal-> main error

hans_bakker
In reply to this post by dukian
please read:
http://docs.ofbiz.org/display/OFBTECH/Revisions+Requiring+Data+Migration

this is all documented......

On Wed, 2009-04-15 at 23:17 -0700, dukian wrote:

> 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:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > 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
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.6 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFJ3nSArP3NbaWWqE4RAg4yAJ4iIcmR1zUol/Nsr5MyjVRmtagQdgCcDSr9
> > t8P3jauYx5eVJhex7TL07Xc=
> > =i2lq
> > -----END PGP SIGNATURE-----
> >
> >
>
--
Antwebsystems.com: Quality OFBiz services for competitive rates

Reply | Threaded
Open this post in threaded view
|

Re: myportal-> main error

dukian
Thank you for your hints. It seems belong old issue ... Mar 15!

I'm newbie for OFBiz, just trace code/data to figure out. I'll read doc carefully next time. :-)


// Dukian

hansbak wrote
please read:
http://docs.ofbiz.org/display/OFBTECH/Revisions+Requiring+Data+Migration

this is all documented......

On Wed, 2009-04-15 at 23:17 -0700, dukian wrote:
> 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:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > 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
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.6 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFJ3nSArP3NbaWWqE4RAg4yAJ4iIcmR1zUol/Nsr5MyjVRmtagQdgCcDSr9
> > t8P3jauYx5eVJhex7TL07Xc=
> > =i2lq
> > -----END PGP SIGNATURE-----
> >
> >
>
--
Antwebsystems.com: Quality OFBiz services for competitive rates
Reply | Threaded
Open this post in threaded view
|

Re: myportal-> main error

Sumit Pandit-3
In reply to this post by Jacques Le Roux
Hi Jacques,

I am getting same kind of error at - https://localhost:8443/accounting/control/FinAccountMain
I have dropped the database and running it at latest version. Let me  
know if anyone else is getting same error.

--
Thanks And Regards
Sumit Pandit

On 15-Apr-09, at 1:58 AM, Jacques Le Roux wrote:

> The URL would have helped... (o discrimiate between code or theme,  
> it needs just to be tested with the std layout)
>
> Jacques
>
> From: "BJ Freeman" <[hidden email]>
>> 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
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>> iD8DBQFJ3nSArP3NbaWWqE4RAg4yAJ4iIcmR1zUol/Nsr5MyjVRmtagQdgCcDSr9
>> t8P3jauYx5eVJhex7TL07Xc=
>> =i2lq
>> -----END PGP SIGNATURE-----
>>
>