Error in running Example

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

Error in running Example

Vivek Mishra-2
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.
[hidden email]
www.hotwaxmedia.com

Office : +917314093684
Direct : +919907292552

http://ofbiz.apache.org
I am "Open For Business"



smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Error in running Example

Adrian Crum-2
It works fine for me.

-Adrian


--- On Fri, 1/2/09, Vivek Mishra <[hidden email]> wrote:

> From: Vivek Mishra <[hidden email]>
> Subject: Error in running Example
> To: [hidden email]
> 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. [hidden email]
> www.hotwaxmedia.com
>
> Office : +917314093684
> Direct : +919907292552
>
> http://ofbiz.apache.org
> I am "Open For Business"


     
Reply | Threaded
Open this post in threaded view
|

Re: Error in running Example

Bruno Busco
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 <[hidden email]>:

> It works fine for me.
>
> -Adrian
>
>
> --- On Fri, 1/2/09, Vivek Mishra <[hidden email]> wrote:
>
>> From: Vivek Mishra <[hidden email]>
>> Subject: Error in running Example
>> To: [hidden email]
>> 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. [hidden email]
>> www.hotwaxmedia.com
>>
>> Office : +917314093684
>> Direct : +919907292552
>>
>> http://ofbiz.apache.org
>> I am "Open For Business"
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Error in running Example

hans_bakker
In reply to this post by Vivek Mishra-2
i just updated the example component, and it is required to refresh your
seed data.....

On Fri, 2009-01-02 at 21:02 +0530, Vivek Mishra wrote:

> 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.
> [hidden email]
> 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 | Threaded
Open this post in threaded view
|

Re: Error in running Example

Jacques Le Roux
Administrator
In reply to this post by Bruno Busco
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" <[hidden email]>

>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 <[hidden email]>:
>> It works fine for me.
>>
>> -Adrian
>>
>>
>> --- On Fri, 1/2/09, Vivek Mishra <[hidden email]> wrote:
>>
>>> From: Vivek Mishra <[hidden email]>
>>> Subject: Error in running Example
>>> To: [hidden email]
>>> 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. [hidden email]
>>> www.hotwaxmedia.com
>>>
>>> Office : +917314093684
>>> Direct : +919907292552
>>>
>>> http://ofbiz.apache.org
>>> I am "Open For Business"
>>
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Error in running Example

Jacques Le Roux
Administrator
I tried : adding your own portal is working in exemple, so just a problem in My Portal

Jacques

From: "Jacques Le Roux" <[hidden email]>

> 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" <[hidden email]>
>>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 <[hidden email]>:
>>> It works fine for me.
>>>
>>> -Adrian
>>>
>>>
>>> --- On Fri, 1/2/09, Vivek Mishra <[hidden email]> wrote:
>>>
>>>> From: Vivek Mishra <[hidden email]>
>>>> Subject: Error in running Example
>>>> To: [hidden email]
>>>> 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. [hidden email]
>>>> www.hotwaxmedia.com
>>>>
>>>> Office : +917314093684
>>>> Direct : +919907292552
>>>>
>>>> http://ofbiz.apache.org
>>>> I am "Open For Business"
>>>
>>>
>>>
>>>
>>
>