I get the problem even with a fresh checked out ofbiz.
It seems to be related to the execution of ListPortalPages.groovy when
the user is not logged in.
If I comment out the line
                <script
location="component://common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy"/>
in the main-decorator in examples CommonScreen.xml I can get to the
login page otherwise I get this error.

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://example/widget/example/CommonScreens.xml#main-decorator]:
java.lang.NullPointerException (null)



2009/1/2 Jacques Le Roux <jacques.le.r...@les7arts.com>:
> BTW, try to i18n and l10n as much as possible (I'd we even says that we
> should always do it at 1st time, to not put the burden on somebody else)
>
> Thanks
>
> From: "Jacques Le Roux" <jacques.le.r...@les7arts.com>
>>
>> No worries, I'm not using it much yet ;o)
>>
>> Jacques
>>
>> From: "Hans Bakker" <mailingl...@antwebsystems.com>
>>>
>>> give me a bit of time...I made a major change in example...the next few
>>> days we will update myportal.....
>>>
>>> On Fri, 2009-01-02 at 17:48 +0100, Jacques Le Roux wrote:
>>>>
>>>> Even logged in there is an issue in My Portal. I guess also that if you
>>>> create your own portal you may encouter issues in Examples,
>>>> not sure tough but I had to revert my local DB (postgres) to have it
>>>> working correctly.
>>>>
>>>> For My portal, even if you replace
>>>>    ${page.portalPageName}
>>>> by
>>>>    ${page.portalPageName?if_exists}
>>>>
>>>> There is after an issue about  portalPage.ftl not existing :
>>>> Error rendering included template at location
>>>> [component://common/webcommon/portal/portalPage.ftl]:
>>>> java.lang.IllegalArgumentException: FreeMarker file not found at
>>>> location: component://common/webcommon/portal/portalPage.ftl
>>>>
>>>> I gave up at this stage
>>>>
>>>> Jacques
>>>>
>>>> From: "Bruno Busco" <bruno.bu...@gmail.com>
>>>> >I think it happens if you are not logged in.
>>>> > Try to logout and then hit this link directly:
>>>> >
>>>> > https://demo.hotwaxmedia.com/example
>>>> >
>>>> > -Bruno
>>>> >
>>>> > 2009/1/2 Adrian Crum <adrian.c...@yahoo.com>:
>>>> >> It works fine for me.
>>>> >>
>>>> >> -Adrian
>>>> >>
>>>> >>
>>>> >> --- On Fri, 1/2/09, Vivek Mishra <vivek.mis...@hotwaxmedia.com>
>>>> >> wrote:
>>>> >>
>>>> >>> From: Vivek Mishra <vivek.mis...@hotwaxmedia.com>
>>>> >>> Subject: Error in running Example
>>>> >>> To: u...@ofbiz.apache.org
>>>> >>> Date: Friday, January 2, 2009, 7:32 AM
>>>> >>> Hello All,
>>>> >>>
>>>> >>> I am unable to run example component on demo server. Is any
>>>> >>> one else having the same problem.
>>>> >>>
>>>> >>> org.ofbiz.widget.screen.ScreenRenderException: Error
>>>> >>> rendering screen
>>>> >>>
>>>> >>> [component://example/widget/example/CommonScreens.xml#main-decorator]:
>>>> >>> java.lang.NullPointerException (null)
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Thanks & Regards
>>>> >>> --
>>>> >>> Vivek Mishra
>>>> >>> Software Developer
>>>> >>> HotWax Media Pvt. Ltd. vivek.mis...@hotwaxmedia.com
>>>> >>> www.hotwaxmedia.com
>>>> >>>
>>>> >>> Office : +917314093684
>>>> >>> Direct : +919907292552
>>>> >>>
>>>> >>> http://ofbiz.apache.org
>>>> >>> I am "Open For Business"
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >
>>>>
>>> --
>>> Antwebsystems.com: Quality OFBiz services for competitive prices
>>>
>>
>
>

Reply via email to