Error coming frequenly on ofbizUrl

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

Error coming frequenly on ofbizUrl

Sayoke Shome

Hi all,

I am getting an error very frequently in my ofbiz application, which is not easily reproducible. Whenever we are using “ofbizUrl” in <form> tag it is throwing up error trace on browser. But if I just do a refresh, it is showing the page properly as if the error never occurred.

 

As it is saying it is failing to get the required map instance and on second time it is getting the instance properly.

Is it a bug in ofbiz or I am missing something. Please suggest me what is the way out.

 

Thanks and Regards,

 

Sayoke Shome | Technical Associate | Techmahindra Ltd | Gigaspace, Gama 1 | Vimannagar, Pune | mobile : 09960969788

 

============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.

Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review at http://www.techmahindra.com/Disclaimer.html externally and http://tim.techmahindra.com/Disclaimer.html internally within Tech Mahindra.

============================================================================================================================

err.bmp (53K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

David E Jones-2

Please forgive me if this seems pretentious, but could I make a small  
suggestion?

Instead of sending a screen shot of the user interface, go to the log  
file and look at the full output generated by the server and if  
needed copy and paste that into an email. This has 2 benefits:

1. you get more complete information, and information that is MEANT  
for developers to see; in this case, for example, the text in the  
screen shot does not show the root cause and that is necessary to get  
even a hint at what might be happening; this stack trace is nearly  
useless

2. a block of text is much smaller and more efficient to send in an  
email (consider that this screen shot at 3 MB sent to hundreds of  
people caused over 1GB of data to be sent out from the ASF mailing  
list server...

So, for a first step toward a "way out", doing the above is what I  
recommend for now and in the future.

-David


On Nov 1, 2006, at 9:38 AM, Sayoke Shome wrote:

> Hi all,
>
> I am getting an error very frequently in my ofbiz application,  
> which is not easily reproducible. Whenever we are using “ofbizUrl”  
> in <form> tag it is throwing up error trace on browser. But if I  
> just do a refresh, it is showing the page properly as if the error  
> never occurred.
>
>
>
> As it is saying it is failing to get the required map instance and  
> on second time it is getting the instance properly.
>
> Is it a bug in ofbiz or I am missing something. Please suggest me  
> what is the way out.
>
>
>
> Thanks and Regards,
>
>
>
> Sayoke Shome | Technical Associate | Techmahindra Ltd | Gigaspace,  
> Gama 1 | Vimannagar, Pune | mobile : 09960969788
>
>
>
> ======================================================================
> ======================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
> Disclaimer:
>
> This message and the information contained herein is proprietary  
> and confidential and subject to the Tech Mahindra policy statement,  
> you may review at http://www.techmahindra.com/Disclaimer.html 
> externally and http://tim.techmahindra.com/Disclaimer.html 
> internally within Tech Mahindra.
>
> ======================================================================
> ======================================================
> <err.bmp>

Reply | Threaded
Open this post in threaded view
|

RE: Error coming frequenly on ofbizUrl

Sayoke Shome
In reply to this post by Sayoke Shome

I am extremely sorry. I will surely send the stack trace when I get this
error next time. As you can see I cannot generate this error, whenever
this error comes first time I will send it to you.

Thanks and Regards,
 
Sayoke Shome | Technical Associate | Techmahindra Ltd | Gigaspace Gama 1
| Vimannagar, Pune | mobile : 09960969788

-----Original Message-----
From: David E Jones [mailto:[hidden email]]
Sent: Thursday, November 02, 2006 12:41 AM
To: [hidden email]
Subject: Re: Error coming frequenly on ofbizUrl


Please forgive me if this seems pretentious, but could I make a small  
suggestion?

Instead of sending a screen shot of the user interface, go to the log  
file and look at the full output generated by the server and if  
needed copy and paste that into an email. This has 2 benefits:

1. you get more complete information, and information that is MEANT  
for developers to see; in this case, for example, the text in the  
screen shot does not show the root cause and that is necessary to get  
even a hint at what might be happening; this stack trace is nearly  
useless

2. a block of text is much smaller and more efficient to send in an  
email (consider that this screen shot at 3 MB sent to hundreds of  
people caused over 1GB of data to be sent out from the ASF mailing  
list server...

So, for a first step toward a "way out", doing the above is what I  
recommend for now and in the future.

-David


On Nov 1, 2006, at 9:38 AM, Sayoke Shome wrote:

> Hi all,
>
> I am getting an error very frequently in my ofbiz application,  
> which is not easily reproducible. Whenever we are using "ofbizUrl"  
> in <form> tag it is throwing up error trace on browser. But if I  
> just do a refresh, it is showing the page properly as if the error  
> never occurred.
>
>
>
> As it is saying it is failing to get the required map instance and  
> on second time it is getting the instance properly.
>
> Is it a bug in ofbiz or I am missing something. Please suggest me  
> what is the way out.
>
>
>
> Thanks and Regards,
>
>
>
> Sayoke Shome | Technical Associate | Techmahindra Ltd | Gigaspace,  
> Gama 1 | Vimannagar, Pune | mobile : 09960969788
>
>
>
> ======================================================================

> ======================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
> Disclaimer:
>
> This message and the information contained herein is proprietary  
> and confidential and subject to the Tech Mahindra policy statement,  
> you may review at http://www.techmahindra.com/Disclaimer.html 
> externally and http://tim.techmahindra.com/Disclaimer.html 
> internally within Tech Mahindra.
>
> ======================================================================

> ======================================================
> <err.bmp>


============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.
 
Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.

============================================================================================================================
Reply | Threaded
Open this post in threaded view
|

Error coming frequenly on ofbizUrl

Sayoke Shome
In reply to this post by Sayoke Shome

Hi all,

 

As per Devid's request to send the error log for the error coming
frequently on page rendering, I am sending this error log for
"ofbizUrl".

The problem is: Tag ofbizUrl is throwing error Trace on browser on first
load. But on same page if we click refresh it renders page properly.

The complete error trace from error log is :

 

########################################################################
#################2006-

11-02 05:32:47.982 managed1_btecmiA [-] INFO  The character encoding of
the request is: [null]

. The character encoding we will use for the request and response is:
[UTF-8] : org.ofbiz.weba

pp.control.ControlServlet-(98)

2006-11-02 05:32:47.984 managed1_btecmiA [-] DEBUG [[[summary] Servlet
Starting, doing setup-

total:0.0,since last(Begin):0.0]] :
org.ofbiz.webapp.control.ControlServlet-(134)

2006-11-02 05:32:47.986 managed1_btecmiA [-] DEBUG [[[summary] Setup
done, doing Event(s) and

View(s)- total:0.0010,since last([summary] Servlet...):0.0010]] :
org.ofbiz.webapp.control.Con

trolServlet-(183)

2006-11-02 05:32:48.033 managed1_btecmiA [-] DEBUG XML Read 0.042s:
file:/wls_domains/btecm/bt

ecmiA/applications/ofbiz/applications/btshop/webapp/btbusinessShop/WEB-I
NF/controller.xml : or

g.ofbiz.base.util.UtilXml-(242)

2006-11-02 05:32:48.036 managed1_btecmiA [-] INFO  ConfigMap Created:
(4) records in 0.0010s :

 org.ofbiz.webapp.control.ConfigXMLReader-(552)

2006-11-02 05:32:48.037 managed1_btecmiA [-] INFO  HandlerMap Created:
(2) records in 0.0s : o

rg.ofbiz.webapp.control.ConfigXMLReader-(622)

2006-11-02 05:32:48.039 managed1_btecmiA [-] INFO  RequestMap Created:
(18) records in 0.0010s

 : org.ofbiz.webapp.control.ConfigXMLReader-(302)

2006-11-02 05:32:48.041 managed1_btecmiA [-] INFO  ViewMap Created: (58)
records in 0.0010s :

org.ofbiz.webapp.control.ConfigXMLReader-(411)

2006-11-02 05:32:48.042 managed1_btecmiA [-] WARN  Could not get visit,
not checking trackingC

ode cookies to associate with visit :
org.ofbiz.marketing.tracking.TrackingCodeEvents-(292)

2006-11-02 05:32:48.044 managed1_btecmiA [-] INFO
perimeterLogin@PerimeterAuthenticationLogin

 Entered : com.bt.custc.security.BTPerimeterLoginEvent-(88)

2006-11-02 05:32:48.045 managed1_btecmiA [-] INFO  perimeterLogin
frameworkState = false ofbiz

State = false : com.bt.custc.security.BTPerimeterLoginEvent-(102)

2006-11-02 05:32:48.046 managed1_btecmiA [-] INFO
perimeterLogin@PerimeterAuthenticationLogin

 Exiting : com.bt.custc.security.BTPerimeterLoginEvent-(137)

2006-11-02 05:32:48.047 managed1_btecmiA [-] INFO  [Processing Request]:
summary : org.ofbiz.w

ebapp.control.RequestHandler-(208)

2006-11-02 05:32:48.048 managed1_btecmiA [-] INFO
[RequestManager.getRequestAttribute] Value

for attribute "null" of uri "summary" not found :
org.ofbiz.webapp.control.RequestManager-(123

)

2006-11-02 05:32:48.049 managed1_btecmiA [-] INFO
[RequestHandler.doRequest]: Response is a v

iew. : org.ofbiz.webapp.control.RequestHandler-(352)

2006-11-02 05:32:48.050 managed1_btecmiA [-] INFO  servletName=control,
view=confirmation : or

g.ofbiz.webapp.control.RequestHandler-(486)

2006-11-02 05:32:48.141 managed1_btecmiA [-] DEBUG XML Read 0.086s:
file:/wls_domains/btecm/bt

ecmiA/applications/ofbiz/applications/btshop/widget/CommonScreens.xml :
org.ofbiz.base.util.Ut

ilXml-(242)

2006-11-02 05:32:48.146 managed1_btecmiA [-] INFO  Got 52 screens in
0.095s from: file:/wls_do

mains/btecm/btecmiA/applications/ofbiz/applications/btshop/widget/Common
Screens.xml : org.ofbi

z.widget.screen.ScreenFactory-(127)

**** Price Set **[RECURRING_CHARGE, ONE_OFF]

calculateProductPrice::listPrice = 0.0

calculateProductPrice::defaultPriceExt = 41.15

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

2006-11-02 05:32:48.197 managed1_btecmiA [-] DEBUG [[Sync service
finished- total:0.0030,since

 last(Begin):0.0030]] - 'uniqueName / calculateProductPrice' :
org.ofbiz.service.ServiceDispat

cher-(447)

**price***41.15

** price***null

**** Price Set **[RECURRING_CHARGE, ONE_OFF]

calculateProductPrice::listPrice = 0.0

calculateProductPrice::defaultPriceExt = 106.37

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

2006-11-02 05:32:48.202 managed1_btecmiA [-] DEBUG [[Sync service
finished- total:0.0020,since

 last(Begin):0.0020]] - 'uniqueName / calculateProductPrice' :
org.ofbiz.service.ServiceDispat

cher-(447)

**price***106.37

** price***null

2006-11-02 05:32:48.204 managed1_btecmiA [-] INFO  priceMap -->
{RECURRING_CHARGE={DEFAULT_PR

ICE=41.15}, ONE_OFF={DEFAULT_PRICE=106.37}} :
org.ofbiz.product.price.PriceCalculator-(45)

2006-11-02 05:32:48.205 managed1_btecmiA [-] INFO  final returnPriceMap
-->  {RECURRING_CHARGE

=41.15, ONE_OFF=106.37} : org.ofbiz.product.price.PriceCalculator-(59)

2006-11-02 05:32:48.231 managed1_btecmiA [-] INFO  synchronization token
: 1162445568231-44294

02105248478729 : NoModule-(?)

2006-11-02 05:32:48.234 managed1_btecmiA [-] INFO  In setup
bsh::orderJourneyStage::PREBASKET

: NoModule-(?)

2006-11-02 05:32:48.236 managed1_btecmiA [-] INFO  In setup
bsh::setUpMapnull : NoModule-(?)

2006-11-02 05:32:48.239 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:Entered :

 
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.240 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:pageTypes

ummary :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.243 managed1_btecmiA [-] DEBUG
getCategoryOfProductByCategoryType Entered

with productId : BTB-8371 categoryTypeId : MODULE_CATEGORY :
com.bt.custc.btframework.moduleco

nfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.249 managed1_btecmiA [-] DEBUG Exited with
productCategoryId : BTB-LINES :

 
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.251 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:MODULE_TY

PE is SUMMARY :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.253 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:key 1: pr

odsummary.subtitle.text :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper

-(?)

2006-11-02 05:32:48.254 managed1_btecmiA [-] INFO  Iside CacheUtil
constructor::::::::::::::::

 : com.bt.content.impl.CacheUtil-(36)

2006-11-02 05:32:48.256 managed1_btecmiA [-] INFO  Got
generalCacheAdministrator bean:::::::::

::::::: : com.bt.content.impl.CacheUtil-(38)

2006-11-02 05:32:48.257 managed1_btecmiA [-] INFO  Refresh period= 3600
: com.bt.content.impl.

CacheUtil-(43)

2006-11-02 05:32:48.259 managed1_btecmiA [-] INFO  Get from the cache :
com.bt.content.impl.Ca

cheUtil-(82)

2006-11-02 05:32:48.260 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:key 1: pr

odsummary.introcopy.text :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelpe

r-(?)

2006-11-02 05:32:48.261 managed1_btecmiA [-] INFO  Iside CacheUtil
constructor::::::::::::::::

 : com.bt.content.impl.CacheUtil-(36)

2006-11-02 05:32:48.263 managed1_btecmiA [-] INFO  Got
generalCacheAdministrator bean:::::::::

::::::: : com.bt.content.impl.CacheUtil-(38)

2006-11-02 05:32:48.264 managed1_btecmiA [-] INFO  Refresh period= 3600
: com.bt.content.impl.

CacheUtil-(43)

2006-11-02 05:32:48.266 managed1_btecmiA [-] INFO  Get from the cache :
com.bt.content.impl.Ca

cheUtil-(82)

2006-11-02 05:32:48.268 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:title : N

ew Line :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.270 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:subTitle

: Summary :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.272 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:introCopy

 : Please review your order below. Select 'change' to amend any part of
your order. : com.bt.c

ustc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.274 managed1_btecmiA [-] INFO  In setup
bsh::setUpMap{HEADER_FOOTER_LINKS=

disabled, title=New Line, introcopy=Please review your order below.
Select 'change' to amend a

ny part of your order., LOB=BTB, subtitle=Summary} : NoModule-(?)

2006-11-02 05:32:48.275 managed1_btecmiA [-] INFO  In setup bsh::lob:
BTB : NoModule-(?)

2006-11-02 05:32:48.278 managed1_btecmiA [-] INFO  In setup bsh::title:
New Line : NoModule-(?

)

2006-11-02 05:32:48.279 managed1_btecmiA [-] INFO  In setup
bsh::subtitle: Summary : NoModule-

(?)

2006-11-02 05:32:48.281 managed1_btecmiA [-] INFO  In setup
bsh::introcopy: Please review your

 order below. Select 'change' to amend any part of your order. :
NoModule-(?)

2006-11-02 05:32:48.282 managed1_btecmiA [-] INFO  In setup
bsh::header_footer_links: disabled

 : NoModule-(?)

2006-11-02 05:32:48.284 managed1_btecmiA [-] DEBUG setPageName method
called, pageName value t

o be set : BTB | PREBASKET | Summary :
com.bt.custc.mis.presentation.service.omniture.SiteCata

lystHelper-(?)

2006-11-02 05:32:48.324 managed1_btecmiA [-] ERROR  :
freemarker.runtime-(96)

get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack

The problematic instruction:

----------

==> user-directive ofbizUrl [on line 52, column 29 in btb_bt_header.ftl]

----------

 

Java backtrace for programmers:

----------

freemarker.template.TemplateModelException: get(ofbizUrl) failed on
instance of org.ofbiz.base

.util.collections.MapStack

        at freemarker.ext.beans.BeanModel.get(BeanModel.java:210)

        at
freemarker.core.Environment.getGlobalVariable(Environment.java:972)

        at freemarker.core.Environment.getVariable(Environment.java:958)

        at
freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70)

        at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

        at freemarker.core.UnifiedCall.accept(UnifiedCall.java:100)

        at freemarker.core.Environment.visit(Environment.java:196)

        at freemarker.core.MixedContent.accept(MixedContent.java:92)

        at freemarker.core.Environment.visit(Environment.java:196)

        at freemarker.core.Environment.process(Environment.java:176)

        at freemarker.template.Template.process(Template.java:231)

        at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(F
reeMarkerWo

rker.java:176)

        at
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:86
)

        at
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlW
idget.java:

114)

        at
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:73
)

        at
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetS
tring(Model

ScreenWidget.java:801)

        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.

java:156)

        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWid

get.java:249)

        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

        at
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetStri
ng(ModelScr

eenWidget.java:400)

        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.

java:156)

        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWid

get.java:249)

        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.

java:156)

        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWid

get.java:249)

        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

        at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelS

creenWidget.java:495)

        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.

java:156)

        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWid

get.java:249)

        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

        at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

        at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

        at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java

:85)

        at
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

        at
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

        at
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubIm

pl.java:1072)

        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

        at
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

        at
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

        at
com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

        at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy

.java:137)

        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppSe

rvletContext.java:6987)

        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:

321)

        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.j

ava:3892)

        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

Caused by: java.lang.NullPointerException

        at freemarker.ext.beans.BeanModel.get(BeanModel.java:173)

        ... 52 more

2006-11-02 05:32:48.331 managed1_btecmiA [-] ERROR

---- exception report
----------------------------------------------------------

Error rendering included template at location
[component://btshop/webapp/btshop/includes/btb_b

t_header.ftl]: freemarker.template.TemplateModelException: get(ofbizUrl)
failed on instance of

 org.ofbiz.base.util.collections.MapStack

Exception: freemarker.template.TemplateModelException

Message: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack

---- cause
---------------------------------------------------------------------

Exception: java.lang.NullPointerException

Message: null

---- stack trace
---------------------------------------------------------------

java.lang.NullPointerException

freemarker.ext.beans.BeanModel.get(BeanModel.java:173)

freemarker.core.Environment.getGlobalVariable(Environment.java:972)

freemarker.core.Environment.getVariable(Environment.java:958)

freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70)

freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

freemarker.core.UnifiedCall.accept(UnifiedCall.java:100)

freemarker.core.Environment.visit(Environment.java:196)

freemarker.core.MixedContent.accept(MixedContent.java:92)

freemarker.core.Environment.visit(Environment.java:196)

freemarker.core.Environment.process(Environment.java:176)

freemarker.template.Template.process(Template.java:231)

org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(F
reeMarkerWorker.java:1

76)

org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:86
)

org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlW
idget.java:114)

org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:73
)

org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetS
tring(ModelScreenWidge

t.java:801)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetStri
ng(ModelScreenWidget.j

ava:400)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelScreenWidget

.java:495)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

------------------------------------------------------------------------
--------

 : org.ofbiz.widget.screen.HtmlWidget-(93)

2006-11-02 05:32:48.333 managed1_btecmiA [-] ERROR Error rendering
screen [btb_bt_header]: jav

a.lang.RuntimeException: Error rendering included template at location
[component://btshop/web

app/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelException: get(ofbizU

rl) failed on instance of org.ofbiz.base.util.collections.MapStack.
Rolling back transaction.

: org.ofbiz.widget.screen.ModelScreen-(105)

2006-11-02 05:32:48.336 managed1_btecmiA [-] WARN

---- exception report
----------------------------------------------------------

[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
this stack trace shows

where this is happening:

Exception: java.lang.Exception

Message: null

---- stack trace
---------------------------------------------------------------

java.lang.Exception

org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(Transaction
Util.java:281)

org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.ja
va:231)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
108)

org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetStri
ng(ModelScreenWidget.j

ava:400)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelScreenWidget

.java:495)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

------------------------------------------------------------------------
--------

 : org.ofbiz.entity.transaction.TransactionUtil-(281)

2006-11-02 05:32:48.338 managed1_btecmiA [-] ERROR Error rendering
screen [main-decorator]: or

g.ofbiz.base.util.GeneralException: Error rendering screen
[btb_bt_header]: java.lang.RuntimeE

xception: Error rendering included template at location
[component://btshop/webapp/btshop/incl

udes/btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on i

nstance of org.ofbiz.base.util.collections.MapStack (Error rendering
included template at loca

tion [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.Templa

teModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack

). Rolling back transaction. : org.ofbiz.widget.screen.ModelScreen-(116)

2006-11-02 05:32:48.340 managed1_btecmiA [-] INFO
[TransactionUtil.setRollbackOnly] transacti

on rollback only not set, rollback only is already set. :
org.ofbiz.entity.transaction.Transac

tionUtil-(285)

2006-11-02 05:32:48.341 managed1_btecmiA [-] ERROR Error rendering
screen [configSummary]: org

.ofbiz.base.util.GeneralException: Error rendering screen
[main-decorator]: org.ofbiz.base.uti

l.GeneralException: Error rendering screen [btb_bt_header]:
java.lang.RuntimeException: Error

rendering included template at location
[component://btshop/webapp/btshop/includes/btb_bt_head

er.ftl]: freemarker.template.TemplateModelException: get(ofbizUrl)
failed on instance of org.o

fbiz.base.util.collections.MapStack (Error rendering included template
at location [component:

//btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelException

: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack) (Error renderi

ng screen [btb_bt_header]: java.lang.RuntimeException: Error rendering
included template at lo

cation [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.Temp

lateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapSta

ck (Error rendering included template at location
[component://btshop/webapp/btshop/includes/b

tb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on instanc

e of org.ofbiz.base.util.collections.MapStack)). Rolling back
transaction. : org.ofbiz.widget.

screen.ModelScreen-(116)

2006-11-02 05:32:48.343 managed1_btecmiA [-] ERROR

---- exception report
----------------------------------------------------------

[TransactionUtil.rollback]

Exception: java.lang.Exception

Message: Stack Trace

---- stack trace
---------------------------------------------------------------

java.lang.Exception: Stack Trace

org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.ja
va:247)

org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.ja
va:229)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
119)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

------------------------------------------------------------------------
--------

 : org.ofbiz.entity.transaction.TransactionUtil-(248)

2006-11-02 05:32:48.351 managed1_btecmiA [-] INFO
[TransactionUtil.rollback] transaction roll

ed back : org.ofbiz.entity.transaction.TransactionUtil-(258)

2006-11-02 05:32:48.353 managed1_btecmiA [-] INFO
[TransactionUtil.commit] Not committing tra

nsaction, status is STATUS_NO_TRANSACTION :
org.ofbiz.entity.transaction.TransactionUtil-(196)

 

2006-11-02 05:32:48.359 managed1_btecmiA [-] ERROR

---- exception report
----------------------------------------------------------

Error in request handler:

Exception: org.ofbiz.base.util.GeneralException

Message: Error rendering screen [configSummary]:
org.ofbiz.base.util.GeneralException: Error r

endering screen [main-decorator]: org.ofbiz.base.util.GeneralException:
Error rendering screen

 [btb_bt_header]: java.lang.RuntimeException: Error rendering included
template at location [c

omponent://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModel

Exception: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack (Error

 rendering included template at location
[component://btshop/webapp/btshop/includes/btb_bt_hea

der.ftl]: freemarker.template.TemplateModelException: get(ofbizUrl)
failed on instance of org.

ofbiz.base.util.collections.MapStack) (Error rendering screen
[btb_bt_header]: java.lang.Runti

meException: Error rendering included template at location
[component://btshop/webapp/btshop/i

ncludes/btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed o

n instance of org.ofbiz.base.util.collections.MapStack (Error rendering
included template at l

ocation [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.Tem

plateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapSt

ack)) (Error rendering screen [main-decorator]:
org.ofbiz.base.util.GeneralException: Error re

ndering screen [btb_bt_header]: java.lang.RuntimeException: Error
rendering included template

at location
[component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template

.TemplateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.M

apStack (Error rendering included template at location
[component://btshop/webapp/btshop/inclu

des/btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on in

stance of org.ofbiz.base.util.collections.MapStack) (Error rendering
screen [btb_bt_header]: j

ava.lang.RuntimeException: Error rendering included template at location
[component://btshop/w

ebapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelException: get(ofbi

zUrl) failed on instance of org.ofbiz.base.util.collections.MapStack
(Error rendering included

 template at location
[component://btshop/webapp/btshop/includes/btb_bt_header.ftl]: freemarke

r.template.TemplateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.col

lections.MapStack)))

---- stack trace
---------------------------------------------------------------

org.ofbiz.base.util.GeneralException: Error rendering screen
[configSummary]: org.ofbiz.base.u

til.GeneralException: Error rendering screen [main-decorator]:
org.ofbiz.base.util.GeneralExce

ption: Error rendering screen [btb_bt_header]:
java.lang.RuntimeException: Error rendering inc

luded template at location
[component://btshop/webapp/btshop/includes/btb_bt_header.ftl]: free

marker.template.TemplateModelException: get(ofbizUrl) failed on instance
of org.ofbiz.base.uti

l.collections.MapStack (Error rendering included template at location
[component://btshop/weba

pp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelException: get(ofbizUr

l) failed on instance of org.ofbiz.base.util.collections.MapStack)
(Error rendering screen [bt

b_bt_header]: java.lang.RuntimeException: Error rendering included
template at location [compo

nent://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelExce

ption: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack (Error ren

dering included template at location
[component://btshop/webapp/btshop/includes/btb_bt_header.

ftl]: freemarker.template.TemplateModelException: get(ofbizUrl) failed
on instance of org.ofbi

z.base.util.collections.MapStack)) (Error rendering screen
[main-decorator]: org.ofbiz.base.ut

il.GeneralException: Error rendering screen [btb_bt_header]:
java.lang.RuntimeException: Error

 rendering included template at location
[component://btshop/webapp/btshop/includes/btb_bt_hea

der.ftl]: freemarker.template.TemplateModelException: get(ofbizUrl)
failed on instance of org.

ofbiz.base.util.collections.MapStack (Error rendering included template
at location [component

://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelExceptio

n: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack) (Error render

ing screen [btb_bt_header]: java.lang.RuntimeException: Error rendering
included template at l

ocation [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.Tem

plateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapSt

ack (Error rendering included template at location
[component://btshop/webapp/btshop/includes/

btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on instan

ce of org.ofbiz.base.util.collections.MapStack)))

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
127)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

org.ofbiz.base.util.GeneralException: Error rendering screen
[main-decorator]: org.ofbiz.base.

util.GeneralException: Error rendering screen [btb_bt_header]:
java.lang.RuntimeException: Err

or rendering included template at location
[component://btshop/webapp/btshop/includes/btb_bt_h

eader.ftl]: freemarker.template.TemplateModelException: get(ofbizUrl)
failed on instance of or

g.ofbiz.base.util.collections.MapStack (Error rendering included
template at location [compone

nt://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelExcept

ion: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack) (Error rend

ering screen [btb_bt_header]: java.lang.RuntimeException: Error
rendering included template at

 location [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.T

emplateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.Map

Stack (Error rendering included template at location
[component://btshop/webapp/btshop/include

s/btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on inst

ance of org.ofbiz.base.util.collections.MapStack))

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
127)

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelScreenWidget

.java:495)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

org.ofbiz.base.util.GeneralException: Error rendering screen
[btb_bt_header]: java.lang.Runtim

eException: Error rendering included template at location
[component://btshop/webapp/btshop/in

cludes/btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on

 instance of org.ofbiz.base.util.collections.MapStack (Error rendering
included template at lo

cation [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.Temp

lateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapSta

ck)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
113)

org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetStri
ng(ModelScreenWidget.j

ava:400)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelScreenWidget

.java:495)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

java.lang.RuntimeException: Error rendering included template at
location [component://btshop/

webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelException: get(ofb

izUrl) failed on instance of org.ofbiz.base.util.collections.MapStack

org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:94
)

org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlW
idget.java:114)

org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:73
)

org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetS
tring(ModelScreenWidge

t.java:801)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetStri
ng(ModelScreenWidget.j

ava:400)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelScreenWidget

.java:495)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

------------------------------------------------------------------------
--------

 : org.ofbiz.webapp.control.ControlServlet-(194)

2006-11-02 05:32:48.362 managed1_btecmiA [-] ERROR An error occurred,
going to the errorPage:

/error/error.jsp : org.ofbiz.webapp.control.ControlServlet-(208)

2006-11-02 05:32:48.363 managed1_btecmiA [-] ERROR Including errorPage:
/error/error.jsp : org

.ofbiz.webapp.control.ControlServlet-(215)

<02-Nov-2006 05:32:48 o'clock GMT> <Error> <HTTP> <BEA-101214> <Included
resource or file "/bt

businessOrders/error/error.jsp" not found from requested resource
"/btbusinessOrders/control/s

ummary".>

2006-11-02 05:32:48.380 managed1_btecmiA [-] DEBUG [[[summary] Done
rendering page, Servlet Fi

nished- total:0.394,since last([summary] Setup d...):0.393]] :
org.ofbiz.webapp.control.Contro

lServlet-(258)

########################################################################
######################

 

Please suggest me  a way out or work around to avoid this problem.

 

Thanks and Regards,

 

Sayoke Shome | Technical Associate | Techmahindra Ltd | Gigaspace, Gama
1 | Vimannagar, Pune | mobile : 09960969788

________________________________

From: Sayoke Shome
Sent: Wednesday, November 01, 2006 10:08 PM
To: '[hidden email]'
Subject: Error coming frequenly on ofbizUrl

 

Hi all,

I am getting an error very frequently in my ofbiz application, which is
not easily reproducible. Whenever we are using "ofbizUrl" in <form> tag
it is throwing up error trace on browser. But if I just do a refresh, it
is showing the page properly as if the error never occurred.

 

As it is saying it is failing to get the required map instance and on
second time it is getting the instance properly.

Is it a bug in ofbiz or I am missing something. Please suggest me what
is the way out.

 

Thanks and Regards,

 

Sayoke Shome | Technical Associate | Techmahindra Ltd | Gigaspace, Gama
1 | Vimannagar, Pune | mobile : 09960969788

 



============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.
 
Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.

============================================================================================================================
Reply | Threaded
Open this post in threaded view
|

RE: Error coming frequenly on ofbizUrl

Ashish Vijaywargiya-2
In reply to this post by Sayoke Shome
Hi Sayoke,

You can find the old log files in the
${ofbiz-home}/framework/logs folder.

Regards
Ashish Vijaywargiya

--- Sayoke Shome <[hidden email]> wrote:

>
> I am extremely sorry. I will surely send the stack
> trace when I get this
> error next time. As you can see I cannot generate
> this error, whenever
> this error comes first time I will send it to you.
>
> Thanks and Regards,
>  
> Sayoke Shome | Technical Associate | Techmahindra
> Ltd | Gigaspace Gama 1
> | Vimannagar, Pune | mobile : 09960969788



 
____________________________________________________________________________________
Want to start your own business? Learn how on Yahoo! Small Business
(http://smallbusiness.yahoo.com)

Reply | Threaded
Open this post in threaded view
|

RE: Error coming frequenly on ofbizUrl

Sayoke Shome
In reply to this post by Sayoke Shome

Thank you Ashish,

Actually this error is coming in an (Unit / component )integrated
environment, the server being in some other country. I can only access
the logs by telneting to the server.
I have already sent the error log for this error. Please go through it
and see if we can understand the proper reason for it.

Thanks and Regards,
 
Sayoke Shome | Technical Associate | Techmahindra Ltd | Gigaspace Gama 1
| Vimannagar, Pune | mobile : 09960969788


-----Original Message-----
From: Ashish Vijaywargiya [mailto:[hidden email]]
Sent: Thursday, November 02, 2006 11:46 AM
To: [hidden email]
Subject: RE: Error coming frequenly on ofbizUrl

Hi Sayoke,

You can find the old log files in the
${ofbiz-home}/framework/logs folder.

Regards
Ashish Vijaywargiya

--- Sayoke Shome <[hidden email]> wrote:

>
> I am extremely sorry. I will surely send the stack
> trace when I get this
> error next time. As you can see I cannot generate
> this error, whenever
> this error comes first time I will send it to you.
>
> Thanks and Regards,
>  
> Sayoke Shome | Technical Associate | Techmahindra
> Ltd | Gigaspace Gama 1
> | Vimannagar, Pune | mobile : 09960969788



 
________________________________________________________________________
____________
Want to start your own business? Learn how on Yahoo! Small Business
(http://smallbusiness.yahoo.com)


============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.
 
Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.

============================================================================================================================
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

Jacques Le Roux
Administrator
In reply to this post by Sayoke Shome
Hi Sayoke,

Being in vacation this is a very short answer (excuse me if this was already mentionned) :
There is an error in a custom FTL template file (not in OFBiz) :  btb_bt_header.ftl
Looking at line 52, column 29 of this file should help

HTH

Jacques

PS : excerpt from log

2006-11-02 05:32:48.284 managed1_btecmiA [-] DEBUG setPageName method
called, pageName value t
o be set : BTB | PREBASKET | Summary :
com.bt.custc.mis.presentation.service.omniture.SiteCata
lystHelper-(?)
2006-11-02 05:32:48.324 managed1_btecmiA [-] ERROR  :
freemarker.runtime-(96)
get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack
The problematic instruction:
----------
==> user-directive ofbizUrl [on line 52, column 29 in btb_bt_header.ftl]
----------
Java backtrace for programmers:
----------
freemarker.template.TemplateModelException: get(ofbizUrl) failed on
instance of org.ofbiz.base


----- Original Message -----
From: "Sayoke Shome" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, November 02, 2006 7:11 AM
Subject: Error coming frequenly on ofbizUrl



Hi all,



As per Devid's request to send the error log for the error coming
frequently on page rendering, I am sending this error log for
"ofbizUrl".

The problem is: Tag ofbizUrl is throwing error Trace on browser on first
load. But on same page if we click refresh it renders page properly.

The complete error trace from error log is :



########################################################################
#################2006-

11-02 05:32:47.982 managed1_btecmiA [-] INFO  The character encoding of
the request is: [null]

. The character encoding we will use for the request and response is:
[UTF-8] : org.ofbiz.weba

pp.control.ControlServlet-(98)

2006-11-02 05:32:47.984 managed1_btecmiA [-] DEBUG [[[summary] Servlet
Starting, doing setup-

total:0.0,since last(Begin):0.0]] :
org.ofbiz.webapp.control.ControlServlet-(134)

2006-11-02 05:32:47.986 managed1_btecmiA [-] DEBUG [[[summary] Setup
done, doing Event(s) and

View(s)- total:0.0010,since last([summary] Servlet...):0.0010]] :
org.ofbiz.webapp.control.Con

trolServlet-(183)

2006-11-02 05:32:48.033 managed1_btecmiA [-] DEBUG XML Read 0.042s:
file:/wls_domains/btecm/bt

ecmiA/applications/ofbiz/applications/btshop/webapp/btbusinessShop/WEB-I
NF/controller.xml : or

g.ofbiz.base.util.UtilXml-(242)

2006-11-02 05:32:48.036 managed1_btecmiA [-] INFO  ConfigMap Created:
(4) records in 0.0010s :

 org.ofbiz.webapp.control.ConfigXMLReader-(552)

2006-11-02 05:32:48.037 managed1_btecmiA [-] INFO  HandlerMap Created:
(2) records in 0.0s : o

rg.ofbiz.webapp.control.ConfigXMLReader-(622)

2006-11-02 05:32:48.039 managed1_btecmiA [-] INFO  RequestMap Created:
(18) records in 0.0010s

 : org.ofbiz.webapp.control.ConfigXMLReader-(302)

2006-11-02 05:32:48.041 managed1_btecmiA [-] INFO  ViewMap Created: (58)
records in 0.0010s :

org.ofbiz.webapp.control.ConfigXMLReader-(411)

2006-11-02 05:32:48.042 managed1_btecmiA [-] WARN  Could not get visit,
not checking trackingC

ode cookies to associate with visit :
org.ofbiz.marketing.tracking.TrackingCodeEvents-(292)

2006-11-02 05:32:48.044 managed1_btecmiA [-] INFO
perimeterLogin@PerimeterAuthenticationLogin

 Entered : com.bt.custc.security.BTPerimeterLoginEvent-(88)

2006-11-02 05:32:48.045 managed1_btecmiA [-] INFO  perimeterLogin
frameworkState = false ofbiz

State = false : com.bt.custc.security.BTPerimeterLoginEvent-(102)

2006-11-02 05:32:48.046 managed1_btecmiA [-] INFO
perimeterLogin@PerimeterAuthenticationLogin

 Exiting : com.bt.custc.security.BTPerimeterLoginEvent-(137)

2006-11-02 05:32:48.047 managed1_btecmiA [-] INFO  [Processing Request]:
summary : org.ofbiz.w

ebapp.control.RequestHandler-(208)

2006-11-02 05:32:48.048 managed1_btecmiA [-] INFO
[RequestManager.getRequestAttribute] Value

for attribute "null" of uri "summary" not found :
org.ofbiz.webapp.control.RequestManager-(123

)

2006-11-02 05:32:48.049 managed1_btecmiA [-] INFO
[RequestHandler.doRequest]: Response is a v

iew. : org.ofbiz.webapp.control.RequestHandler-(352)

2006-11-02 05:32:48.050 managed1_btecmiA [-] INFO  servletName=control,
view=confirmation : or

g.ofbiz.webapp.control.RequestHandler-(486)

2006-11-02 05:32:48.141 managed1_btecmiA [-] DEBUG XML Read 0.086s:
file:/wls_domains/btecm/bt

ecmiA/applications/ofbiz/applications/btshop/widget/CommonScreens.xml :
org.ofbiz.base.util.Ut

ilXml-(242)

2006-11-02 05:32:48.146 managed1_btecmiA [-] INFO  Got 52 screens in
0.095s from: file:/wls_do

mains/btecm/btecmiA/applications/ofbiz/applications/btshop/widget/Common
Screens.xml : org.ofbi

z.widget.screen.ScreenFactory-(127)

**** Price Set **[RECURRING_CHARGE, ONE_OFF]

calculateProductPrice::listPrice = 0.0

calculateProductPrice::defaultPriceExt = 41.15

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

2006-11-02 05:32:48.197 managed1_btecmiA [-] DEBUG [[Sync service
finished- total:0.0030,since

 last(Begin):0.0030]] - 'uniqueName / calculateProductPrice' :
org.ofbiz.service.ServiceDispat

cher-(447)

**price***41.15

** price***null

**** Price Set **[RECURRING_CHARGE, ONE_OFF]

calculateProductPrice::listPrice = 0.0

calculateProductPrice::defaultPriceExt = 106.37

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

calculateProductPrice::first check

2006-11-02 05:32:48.202 managed1_btecmiA [-] DEBUG [[Sync service
finished- total:0.0020,since

 last(Begin):0.0020]] - 'uniqueName / calculateProductPrice' :
org.ofbiz.service.ServiceDispat

cher-(447)

**price***106.37

** price***null

2006-11-02 05:32:48.204 managed1_btecmiA [-] INFO  priceMap -->
{RECURRING_CHARGE={DEFAULT_PR

ICE=41.15}, ONE_OFF={DEFAULT_PRICE=106.37}} :
org.ofbiz.product.price.PriceCalculator-(45)

2006-11-02 05:32:48.205 managed1_btecmiA [-] INFO  final returnPriceMap
-->  {RECURRING_CHARGE

=41.15, ONE_OFF=106.37} : org.ofbiz.product.price.PriceCalculator-(59)

2006-11-02 05:32:48.231 managed1_btecmiA [-] INFO  synchronization token
: 1162445568231-44294

02105248478729 : NoModule-(?)

2006-11-02 05:32:48.234 managed1_btecmiA [-] INFO  In setup
bsh::orderJourneyStage::PREBASKET

: NoModule-(?)

2006-11-02 05:32:48.236 managed1_btecmiA [-] INFO  In setup
bsh::setUpMapnull : NoModule-(?)

2006-11-02 05:32:48.239 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:Entered :


com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.240 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:pageTypes

ummary :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.243 managed1_btecmiA [-] DEBUG
getCategoryOfProductByCategoryType Entered

with productId : BTB-8371 categoryTypeId : MODULE_CATEGORY :
com.bt.custc.btframework.moduleco

nfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.249 managed1_btecmiA [-] DEBUG Exited with
productCategoryId : BTB-LINES :


com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.251 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:MODULE_TY

PE is SUMMARY :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.253 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:key 1: pr

odsummary.subtitle.text :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper

-(?)

2006-11-02 05:32:48.254 managed1_btecmiA [-] INFO  Iside CacheUtil
constructor::::::::::::::::

 : com.bt.content.impl.CacheUtil-(36)

2006-11-02 05:32:48.256 managed1_btecmiA [-] INFO  Got
generalCacheAdministrator bean:::::::::

::::::: : com.bt.content.impl.CacheUtil-(38)

2006-11-02 05:32:48.257 managed1_btecmiA [-] INFO  Refresh period= 3600
: com.bt.content.impl.

CacheUtil-(43)

2006-11-02 05:32:48.259 managed1_btecmiA [-] INFO  Get from the cache :
com.bt.content.impl.Ca

cheUtil-(82)

2006-11-02 05:32:48.260 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:key 1: pr

odsummary.introcopy.text :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelpe

r-(?)

2006-11-02 05:32:48.261 managed1_btecmiA [-] INFO  Iside CacheUtil
constructor::::::::::::::::

 : com.bt.content.impl.CacheUtil-(36)

2006-11-02 05:32:48.263 managed1_btecmiA [-] INFO  Got
generalCacheAdministrator bean:::::::::

::::::: : com.bt.content.impl.CacheUtil-(38)

2006-11-02 05:32:48.264 managed1_btecmiA [-] INFO  Refresh period= 3600
: com.bt.content.impl.

CacheUtil-(43)

2006-11-02 05:32:48.266 managed1_btecmiA [-] INFO  Get from the cache :
com.bt.content.impl.Ca

cheUtil-(82)

2006-11-02 05:32:48.268 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:title : N

ew Line :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.270 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:subTitle

: Summary :
com.bt.custc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.272 managed1_btecmiA [-] DEBUG
OrderJourneyHelper:setPageContent:introCopy

 : Please review your order below. Select 'change' to amend any part of
your order. : com.bt.c

ustc.btframework.moduleconfiguration.util.OrderJourneyHelper-(?)

2006-11-02 05:32:48.274 managed1_btecmiA [-] INFO  In setup
bsh::setUpMap{HEADER_FOOTER_LINKS=

disabled, title=New Line, introcopy=Please review your order below.
Select 'change' to amend a

ny part of your order., LOB=BTB, subtitle=Summary} : NoModule-(?)

2006-11-02 05:32:48.275 managed1_btecmiA [-] INFO  In setup bsh::lob:
BTB : NoModule-(?)

2006-11-02 05:32:48.278 managed1_btecmiA [-] INFO  In setup bsh::title:
New Line : NoModule-(?

)

2006-11-02 05:32:48.279 managed1_btecmiA [-] INFO  In setup
bsh::subtitle: Summary : NoModule-

(?)

2006-11-02 05:32:48.281 managed1_btecmiA [-] INFO  In setup
bsh::introcopy: Please review your

 order below. Select 'change' to amend any part of your order. :
NoModule-(?)

2006-11-02 05:32:48.282 managed1_btecmiA [-] INFO  In setup
bsh::header_footer_links: disabled

 : NoModule-(?)

2006-11-02 05:32:48.284 managed1_btecmiA [-] DEBUG setPageName method
called, pageName value t

o be set : BTB | PREBASKET | Summary :
com.bt.custc.mis.presentation.service.omniture.SiteCata

lystHelper-(?)

2006-11-02 05:32:48.324 managed1_btecmiA [-] ERROR  :
freemarker.runtime-(96)

get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack

The problematic instruction:

----------

==> user-directive ofbizUrl [on line 52, column 29 in btb_bt_header.ftl]

----------



Java backtrace for programmers:

----------

freemarker.template.TemplateModelException: get(ofbizUrl) failed on
instance of org.ofbiz.base

.util.collections.MapStack

        at freemarker.ext.beans.BeanModel.get(BeanModel.java:210)

        at
freemarker.core.Environment.getGlobalVariable(Environment.java:972)

        at freemarker.core.Environment.getVariable(Environment.java:958)

        at
freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70)

        at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

        at freemarker.core.UnifiedCall.accept(UnifiedCall.java:100)

        at freemarker.core.Environment.visit(Environment.java:196)

        at freemarker.core.MixedContent.accept(MixedContent.java:92)

        at freemarker.core.Environment.visit(Environment.java:196)

        at freemarker.core.Environment.process(Environment.java:176)

        at freemarker.template.Template.process(Template.java:231)

        at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(F
reeMarkerWo

rker.java:176)

        at
org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:86
)

        at
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlW
idget.java:

114)

        at
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:73
)

        at
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetS
tring(Model

ScreenWidget.java:801)

        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.

java:156)

        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWid

get.java:249)

        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

        at
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetStri
ng(ModelScr

eenWidget.java:400)

        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.

java:156)

        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWid

get.java:249)

        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.

java:156)

        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWid

get.java:249)

        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

        at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelS

creenWidget.java:495)

        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.

java:156)

        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWid

get.java:249)

        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

        at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

        at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

        at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java

:85)

        at
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

        at
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

        at
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubIm

pl.java:1072)

        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

        at
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

        at
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

        at
com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

        at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy

.java:137)

        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppSe

rvletContext.java:6987)

        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:

321)

        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.j

ava:3892)

        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

Caused by: java.lang.NullPointerException

        at freemarker.ext.beans.BeanModel.get(BeanModel.java:173)

        ... 52 more

2006-11-02 05:32:48.331 managed1_btecmiA [-] ERROR

---- exception report
----------------------------------------------------------

Error rendering included template at location
[component://btshop/webapp/btshop/includes/btb_b

t_header.ftl]: freemarker.template.TemplateModelException: get(ofbizUrl)
failed on instance of

 org.ofbiz.base.util.collections.MapStack

Exception: freemarker.template.TemplateModelException

Message: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack

---- cause
---------------------------------------------------------------------

Exception: java.lang.NullPointerException

Message: null

---- stack trace
---------------------------------------------------------------

java.lang.NullPointerException

freemarker.ext.beans.BeanModel.get(BeanModel.java:173)

freemarker.core.Environment.getGlobalVariable(Environment.java:972)

freemarker.core.Environment.getVariable(Environment.java:958)

freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70)

freemarker.core.Expression.getAsTemplateModel(Expression.java:89)

freemarker.core.UnifiedCall.accept(UnifiedCall.java:100)

freemarker.core.Environment.visit(Environment.java:196)

freemarker.core.MixedContent.accept(MixedContent.java:92)

freemarker.core.Environment.visit(Environment.java:196)

freemarker.core.Environment.process(Environment.java:176)

freemarker.template.Template.process(Template.java:231)

org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(F
reeMarkerWorker.java:1

76)

org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:86
)

org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlW
idget.java:114)

org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:73
)

org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetS
tring(ModelScreenWidge

t.java:801)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetStri
ng(ModelScreenWidget.j

ava:400)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelScreenWidget

.java:495)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

------------------------------------------------------------------------
--------

 : org.ofbiz.widget.screen.HtmlWidget-(93)

2006-11-02 05:32:48.333 managed1_btecmiA [-] ERROR Error rendering
screen [btb_bt_header]: jav

a.lang.RuntimeException: Error rendering included template at location
[component://btshop/web

app/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelException: get(ofbizU

rl) failed on instance of org.ofbiz.base.util.collections.MapStack.
Rolling back transaction.

: org.ofbiz.widget.screen.ModelScreen-(105)

2006-11-02 05:32:48.336 managed1_btecmiA [-] WARN

---- exception report
----------------------------------------------------------

[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
this stack trace shows

where this is happening:

Exception: java.lang.Exception

Message: null

---- stack trace
---------------------------------------------------------------

java.lang.Exception

org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(Transaction
Util.java:281)

org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.ja
va:231)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
108)

org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetStri
ng(ModelScreenWidget.j

ava:400)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelScreenWidget

.java:495)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

------------------------------------------------------------------------
--------

 : org.ofbiz.entity.transaction.TransactionUtil-(281)

2006-11-02 05:32:48.338 managed1_btecmiA [-] ERROR Error rendering
screen [main-decorator]: or

g.ofbiz.base.util.GeneralException: Error rendering screen
[btb_bt_header]: java.lang.RuntimeE

xception: Error rendering included template at location
[component://btshop/webapp/btshop/incl

udes/btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on i

nstance of org.ofbiz.base.util.collections.MapStack (Error rendering
included template at loca

tion [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.Templa

teModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack

). Rolling back transaction. : org.ofbiz.widget.screen.ModelScreen-(116)

2006-11-02 05:32:48.340 managed1_btecmiA [-] INFO
[TransactionUtil.setRollbackOnly] transacti

on rollback only not set, rollback only is already set. :
org.ofbiz.entity.transaction.Transac

tionUtil-(285)

2006-11-02 05:32:48.341 managed1_btecmiA [-] ERROR Error rendering
screen [configSummary]: org

.ofbiz.base.util.GeneralException: Error rendering screen
[main-decorator]: org.ofbiz.base.uti

l.GeneralException: Error rendering screen [btb_bt_header]:
java.lang.RuntimeException: Error

rendering included template at location
[component://btshop/webapp/btshop/includes/btb_bt_head

er.ftl]: freemarker.template.TemplateModelException: get(ofbizUrl)
failed on instance of org.o

fbiz.base.util.collections.MapStack (Error rendering included template
at location [component:

//btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelException

: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack) (Error renderi

ng screen [btb_bt_header]: java.lang.RuntimeException: Error rendering
included template at lo

cation [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.Temp

lateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapSta

ck (Error rendering included template at location
[component://btshop/webapp/btshop/includes/b

tb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on instanc

e of org.ofbiz.base.util.collections.MapStack)). Rolling back
transaction. : org.ofbiz.widget.

screen.ModelScreen-(116)

2006-11-02 05:32:48.343 managed1_btecmiA [-] ERROR

---- exception report
----------------------------------------------------------

[TransactionUtil.rollback]

Exception: java.lang.Exception

Message: Stack Trace

---- stack trace
---------------------------------------------------------------

java.lang.Exception: Stack Trace

org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.ja
va:247)

org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.ja
va:229)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
119)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

------------------------------------------------------------------------
--------

 : org.ofbiz.entity.transaction.TransactionUtil-(248)

2006-11-02 05:32:48.351 managed1_btecmiA [-] INFO
[TransactionUtil.rollback] transaction roll

ed back : org.ofbiz.entity.transaction.TransactionUtil-(258)

2006-11-02 05:32:48.353 managed1_btecmiA [-] INFO
[TransactionUtil.commit] Not committing tra

nsaction, status is STATUS_NO_TRANSACTION :
org.ofbiz.entity.transaction.TransactionUtil-(196)



2006-11-02 05:32:48.359 managed1_btecmiA [-] ERROR

---- exception report
----------------------------------------------------------

Error in request handler:

Exception: org.ofbiz.base.util.GeneralException

Message: Error rendering screen [configSummary]:
org.ofbiz.base.util.GeneralException: Error r

endering screen [main-decorator]: org.ofbiz.base.util.GeneralException:
Error rendering screen

 [btb_bt_header]: java.lang.RuntimeException: Error rendering included
template at location [c

omponent://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModel

Exception: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack (Error

 rendering included template at location
[component://btshop/webapp/btshop/includes/btb_bt_hea

der.ftl]: freemarker.template.TemplateModelException: get(ofbizUrl)
failed on instance of org.

ofbiz.base.util.collections.MapStack) (Error rendering screen
[btb_bt_header]: java.lang.Runti

meException: Error rendering included template at location
[component://btshop/webapp/btshop/i

ncludes/btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed o

n instance of org.ofbiz.base.util.collections.MapStack (Error rendering
included template at l

ocation [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.Tem

plateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapSt

ack)) (Error rendering screen [main-decorator]:
org.ofbiz.base.util.GeneralException: Error re

ndering screen [btb_bt_header]: java.lang.RuntimeException: Error
rendering included template

at location
[component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template

.TemplateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.M

apStack (Error rendering included template at location
[component://btshop/webapp/btshop/inclu

des/btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on in

stance of org.ofbiz.base.util.collections.MapStack) (Error rendering
screen [btb_bt_header]: j

ava.lang.RuntimeException: Error rendering included template at location
[component://btshop/w

ebapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelException: get(ofbi

zUrl) failed on instance of org.ofbiz.base.util.collections.MapStack
(Error rendering included

 template at location
[component://btshop/webapp/btshop/includes/btb_bt_header.ftl]: freemarke

r.template.TemplateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.col

lections.MapStack)))

---- stack trace
---------------------------------------------------------------

org.ofbiz.base.util.GeneralException: Error rendering screen
[configSummary]: org.ofbiz.base.u

til.GeneralException: Error rendering screen [main-decorator]:
org.ofbiz.base.util.GeneralExce

ption: Error rendering screen [btb_bt_header]:
java.lang.RuntimeException: Error rendering inc

luded template at location
[component://btshop/webapp/btshop/includes/btb_bt_header.ftl]: free

marker.template.TemplateModelException: get(ofbizUrl) failed on instance
of org.ofbiz.base.uti

l.collections.MapStack (Error rendering included template at location
[component://btshop/weba

pp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelException: get(ofbizUr

l) failed on instance of org.ofbiz.base.util.collections.MapStack)
(Error rendering screen [bt

b_bt_header]: java.lang.RuntimeException: Error rendering included
template at location [compo

nent://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelExce

ption: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack (Error ren

dering included template at location
[component://btshop/webapp/btshop/includes/btb_bt_header.

ftl]: freemarker.template.TemplateModelException: get(ofbizUrl) failed
on instance of org.ofbi

z.base.util.collections.MapStack)) (Error rendering screen
[main-decorator]: org.ofbiz.base.ut

il.GeneralException: Error rendering screen [btb_bt_header]:
java.lang.RuntimeException: Error

 rendering included template at location
[component://btshop/webapp/btshop/includes/btb_bt_hea

der.ftl]: freemarker.template.TemplateModelException: get(ofbizUrl)
failed on instance of org.

ofbiz.base.util.collections.MapStack (Error rendering included template
at location [component

://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelExceptio

n: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack) (Error render

ing screen [btb_bt_header]: java.lang.RuntimeException: Error rendering
included template at l

ocation [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.Tem

plateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapSt

ack (Error rendering included template at location
[component://btshop/webapp/btshop/includes/

btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on instan

ce of org.ofbiz.base.util.collections.MapStack)))

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
127)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

org.ofbiz.base.util.GeneralException: Error rendering screen
[main-decorator]: org.ofbiz.base.

util.GeneralException: Error rendering screen [btb_bt_header]:
java.lang.RuntimeException: Err

or rendering included template at location
[component://btshop/webapp/btshop/includes/btb_bt_h

eader.ftl]: freemarker.template.TemplateModelException: get(ofbizUrl)
failed on instance of or

g.ofbiz.base.util.collections.MapStack (Error rendering included
template at location [compone

nt://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelExcept

ion: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapStack) (Error rend

ering screen [btb_bt_header]: java.lang.RuntimeException: Error
rendering included template at

 location [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.T

emplateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.Map

Stack (Error rendering included template at location
[component://btshop/webapp/btshop/include

s/btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on inst

ance of org.ofbiz.base.util.collections.MapStack))

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
127)

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelScreenWidget

.java:495)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

org.ofbiz.base.util.GeneralException: Error rendering screen
[btb_bt_header]: java.lang.Runtim

eException: Error rendering included template at location
[component://btshop/webapp/btshop/in

cludes/btb_bt_header.ftl]: freemarker.template.TemplateModelException:
get(ofbizUrl) failed on

 instance of org.ofbiz.base.util.collections.MapStack (Error rendering
included template at lo

cation [component://btshop/webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.Temp

lateModelException: get(ofbizUrl) failed on instance of
org.ofbiz.base.util.collections.MapSta

ck)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
113)

org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetStri
ng(ModelScreenWidget.j

ava:400)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelScreenWidget

.java:495)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

java.lang.RuntimeException: Error rendering included template at
location [component://btshop/

webapp/btshop/includes/btb_bt_header.ftl]:
freemarker.template.TemplateModelException: get(ofb

izUrl) failed on instance of org.ofbiz.base.util.collections.MapStack

org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:94
)

org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlW
idget.java:114)

org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:73
)

org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetS
tring(ModelScreenWidge

t.java:801)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetStri
ng(ModelScreenWidget.j

ava:400)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetSt
ring(ModelScreenWidget

.java:495)

org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelSc
reenWidget.java:156)

org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mod
elScreenWidget.java:24

9)

org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:
102)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)

org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)

org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewH
andler.java:85)

org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:5
51)

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:35
4)

org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)

javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
rvletStubImpl.java:107

2)

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
java:465)

weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:241)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter(FilterProxyImpl.
java:65)

org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating
FilterProxy.java:137)

weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
27)

weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
un(WebAppServletContex

t.java:6987)

weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)

weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121
)

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
etContext.java:3892)

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
java:2766)

weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

------------------------------------------------------------------------
--------

 : org.ofbiz.webapp.control.ControlServlet-(194)

2006-11-02 05:32:48.362 managed1_btecmiA [-] ERROR An error occurred,
going to the errorPage:

/error/error.jsp : org.ofbiz.webapp.control.ControlServlet-(208)

2006-11-02 05:32:48.363 managed1_btecmiA [-] ERROR Including errorPage:
/error/error.jsp : org

.ofbiz.webapp.control.ControlServlet-(215)

<02-Nov-2006 05:32:48 o'clock GMT> <Error> <HTTP> <BEA-101214> <Included
resource or file "/bt

businessOrders/error/error.jsp" not found from requested resource
"/btbusinessOrders/control/s

ummary".>

2006-11-02 05:32:48.380 managed1_btecmiA [-] DEBUG [[[summary] Done
rendering page, Servlet Fi

nished- total:0.394,since last([summary] Setup d...):0.393]] :
org.ofbiz.webapp.control.Contro

lServlet-(258)

########################################################################
######################



Please suggest me  a way out or work around to avoid this problem.



Thanks and Regards,



Sayoke Shome | Technical Associate | Techmahindra Ltd | Gigaspace, Gama
1 | Vimannagar, Pune | mobile : 09960969788

________________________________

From: Sayoke Shome
Sent: Wednesday, November 01, 2006 10:08 PM
To: '[hidden email]'
Subject: Error coming frequenly on ofbizUrl



Hi all,

I am getting an error very frequently in my ofbiz application, which is
not easily reproducible. Whenever we are using "ofbizUrl" in <form> tag
it is throwing up error trace on browser. But if I just do a refresh, it
is showing the page properly as if the error never occurred.



As it is saying it is failing to get the required map instance and on
second time it is getting the instance properly.

Is it a bug in ofbiz or I am missing something. Please suggest me what
is the way out.



Thanks and Regards,



Sayoke Shome | Technical Associate | Techmahindra Ltd | Gigaspace, Gama
1 | Vimannagar, Pune | mobile : 09960969788





============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.

Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement,
you may review at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally
and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech
Mahindra.

============================================================================================================================

Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

Alex D. Fleming-2
Jacques ,

If this is the case then why the error don't come after each referesh.

(The problem is: Tag ofbizUrl is throwing error Trace on browser on first
load. But on same page if we click refresh it renders page properly.)


On 11/2/06, Jacques Le Roux <[hidden email]> wrote:

>
> Hi Sayoke,
>
> Being in vacation this is a very short answer (excuse me if this was
> already mentionned) :
> There is an error in a custom FTL template file (not in OFBiz)
> :  btb_bt_header.ftl
> Looking at line 52, column 29 of this file should help
>
> HTH
>
> Jacques
>
> PS : excerpt from log
>
> 2006-11-02 05:32:48.284 managed1_btecmiA [-] DEBUG setPageName method
> called, pageName value t
> o be set : BTB | PREBASKET | Summary :
> com.bt.custc.mis.presentation.service.omniture.SiteCata
> lystHelper-(?)
> 2006-11-02 05:32:48.324 managed1_btecmiA [-] ERROR  :
> freemarker.runtime-(96)
> get(ofbizUrl) failed on instance of
> org.ofbiz.base.util.collections.MapStack
> The problematic instruction:
> ----------
> ==> user-directive ofbizUrl [on line 52, column 29 in btb_bt_header.ftl]
> ----------
> Java backtrace for programmers:
> ----------
> freemarker.template.TemplateModelException: get(ofbizUrl) failed on
> instance of org.ofbiz.base
>
>
>

--
Regards
Alex D. Fleming
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

vaibhav-2
In reply to this post by Sayoke Shome
Hi Guys,
I am facing a problem while running my ofbiz application. Your
inputs/suggestions would be most welcome
While running the application, the page breaks down intermittently and
stack
trace is shown on the page. Refresh, it goes away.Again press back, fill in
the
details and submit the form, the stack trace appears again. The stack trace is
as follows -> (Some times the page doesn't break down)

get(paramsMap) failed on instance of org.ofbiz.base.util.collections.MapStack
The problematic instruction: ---------- ==> if paramsMap.delivOptionVal?exists
[on line 43, column 49 in CHK_017a_SecureClosedLessThanFiveAddress.ftl]
---------- Java backtrace for programmers: ----------
freemarker.template.TemplateModelException:
get(paramsMap) failed on instance of
org.ofbiz.base.util.collections.MapStack at
freemarker.ext.beans.BeanModel.get(BeanModel.java:210) at
freemarker.core.Environment.getGlobalVariable(Environment.java:972) at
freemarker.core.Environment.getVariable(Environment.java:958) at
freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70) at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
freemarker.core.Dot._getAsTemplateModel(Dot.java:74) at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
freemarker.core.BuiltIn$existsBI._getAsTemplateModel(BuiltIn.java:633) at
freemarker.core.BuiltIn$existsBI.isTrue(BuiltIn.java:644) at
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.Environment.process(Environment.java:176) at
freemarker.template.Template.process(Template.java:231) at
org.ofbiz.base.util.template.FreeMarkerWorker.
renderTemplateAtLocation(FreeMarkerWorker.java:177)
at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate
(HtmlWidget.java:86) at
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.
renderWidgetString(HtmlWidget.java:114)
at org.ofbiz.widget.screen.HtmlWidget.
renderWidgetString(HtmlWidget.java:73) at
org.ofbiz.widget.screen.ModelScreenWidget
$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:801)
at
org.ofbiz.widget.screen.ModelScreenWidget.
renderSubWidgetsString(ModelScreenWidget.java:156)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.
renderWidgetString(ModelScreenWidget.java:249)
at org.ofbiz.widget.screen.ModelScreen.renderScreenString
(ModelScreen.java:102)
at org.ofbiz.widget.screen.ScreenRenderer.render(
ScreenRenderer.java:139) at
org.ofbiz.widget.screen.ScreenRenderer.render
(ScreenRenderer.java:104) at
sun.reflect.GeneratedMethodAccessor284.invoke
(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324) at
freemarker.ext.beans.BeansWrapper.invokeMethod
(BeansWrapper.java:457) at
freemarker.ext.beans.OverloadedMethodModel.exec
(OverloadedMethodModel.java:110)
at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
freemarker.core.Expression.getStringValue(Expression.java:93) at
freemarker.core.DollarVariable.accept(DollarVariable.java:76) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160) at
freemarker.core.Environment.visit(Environment.java:351) at
freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.Environment.process(Environment.java:176) at
freemarker.template.Template.process(Template.java:231) at
org.ofbiz.base.util.template.FreeMarkerWorker.
renderTemplateAtLocation(FreeMarkerWorker.java:177)
at org.ofbiz.widget.screen.HtmlWidget.
renderHtmlTemplate(HtmlWidget.java:86) at
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.
renderWidgetString(HtmlWidget.java:114)
at org.ofbiz.widget.screen.HtmlWidget.
renderWidgetString(HtmlWidget.java:73) at
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.
renderWidgetString(ModelScreenWidget.java:801)
at
org.ofbiz.widget.screen.ModelScreenWidget.
renderSubWidgetsString(ModelScreenWidget.java:156)
at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.
renderWidgetString(ModelScreenWidget.java:527)
at
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render
(ModelScreenWidget.java:188)
at
org.ofbiz.widget.screen.ModelScreenWidget
$DecoratorSectionInclude.
renderWidgetString(ModelScreenWidget.java:549)
at
org.ofbiz.widget.screen.ModelScreenWidget.
renderSubWidgetsString(ModelScreenWidget.java:156)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.
renderWidgetString(ModelScreenWidget.java:249)
at org.ofbiz.widget.screen.ModelScreen.renderScreenString
(ModelScreen.java:102)
at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.
renderWidgetString(ModelScreenWidget.java:495)
at
org.ofbiz.widget.screen.ModelScreenWidget.
renderSubWidgetsString
(ModelScreenWidget.java:156)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.
renderWidgetString(ModelScreenWidget.java:249)
at org.ofbiz.widget.screen.ModelScreen.renderScreenString
(ModelScreen.java:102)
at org.ofbiz.widget.screen.ScreenRenderer.render
(ScreenRenderer.java:139) at
org.ofbiz.widget.screen.ScreenRenderer.render
(ScreenRenderer.java:104) at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(
ScreenWidgetViewHandler.java:85)
at org.ofbiz.webapp.control.RequestHandler.renderView
(RequestHandler.java:551)
at org.ofbiz.webapp.control.RequestHandler.doRequest
(RequestHandler.java:354) at
org.ofbiz.webapp.control.ControlServlet.doGet
(ControlServlet.java:191) at
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
weblogic.servlet.internal.ServletStubImpl
$ServletInvocationAction.run
(ServletStubImpl.java:1072)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet
(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at
weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:27) at
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:242) at
weblogic.servlet.internal.FilterChainImpl.doFilter
(FilterChainImpl.java:27) at
com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter
(FilterProxyImpl.java:65)
at
org.springframework.web.filter.DelegatingFilterProxy.
doFilter(DelegatingFilterProxy.java:137)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at
weblogic.servlet.internal.WebAppServletContext$
ServletInvocationAction.run(WebAppServletContext.java:6987)
at
weblogic.security.acl.internal.AuthenticatedSubject.
doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
 at
weblogic.servlet.internal.WebAppServletContext.invokeServlet
(WebAppServletContext.java:3892)
at
weblogic.servlet.internal.ServletRequestImpl.execute
(ServletRequestImpl.java:
2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) Caused by:
java.lang.NullPointerException at
freemarker.ext.beans.BeanModel.get(BeanModel.java:173) ... 93 more
 get(request)
failed on instance of org.ofbiz.base.util.collections.MapStack The problematic
instruction: ---------- ==> assignment:
moduleName=request.getAttribute("moduleNameList").get(cnt)
[on line 6, column 17
in rendermodules.ftl] ---------- Java backtrace for programmers: ----------
freemarker.template.TemplateModelException: get(request) failed on instance of
org.ofbiz.base.util.collections.MapStack at
freemarker.ext.beans.BeanModel.get(BeanModel.java:210) at
freemarker.core.Environment.getGlobalVariable(Environment.java:972) at
freemarker.core.Environment.getVariable(Environment.java:958) at
freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70) at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
freemarker.core.Dot._getAsTemplateModel(Dot.java:74) at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86) at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
freemarker.core.Dot._getAsTemplateModel(Dot.java:74) at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86) at
freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
freemarker.core.Assignment.accept(Assignment.java:91) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.IteratorBlock$Context.runLoop
(IteratorBlock.java:160) at
freemarker.core.Environment.visit(Environment.java:351) at
freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:196) at
freemarker.core.Environment.process(Environment.java:176) at
freemarker.template.Template.process(Template.java:231) at
org.ofbiz.base.util.template.FreeMarkerWorker.
renderTemplateAtLocation(
FreeMarkerWorker.java:177)
at org.ofbiz.widget.screen.HtmlWidget.
renderHtmlTemplate(HtmlWidget.java:86) at
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.
renderWidgetString(HtmlWidget.java:114)
at org.ofbiz.widget.screen.HtmlWidget.
renderWidgetString(HtmlWidget.java:73) at
org.ofbiz.widget.screen.
ModelScreenWidget$PlatformSpecific.renderWidgetString
(ModelScreenWidget.java:
801)
at
org.ofbiz.widget.screen.ModelScreenWidget.
renderSubWidgetsString(ModelScreenWidget.java:156)
at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.
renderWidgetString(ModelScreenWidget.java:527)
at
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.
render(ModelScreenWidget.java:188)
at
org.ofbiz.widget.screen.ModelScreenWidget
$DecoratorSectionInclude.
renderWidgetString(ModelScreenWidget.java:549)
at
org.ofbiz.widget.screen.ModelScreenWidget.
renderSubWidgetsString(ModelScreenWidget.java:156)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.
renderWidgetString(ModelScreenWidget.java:249)
at org.ofbiz.widget.screen.ModelScreen.renderScreenString
(ModelScreen.java:102)
at
org.ofbiz.widget.screen.ModelScreenWidget
$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:495)
at
org.ofbiz.widget.screen.ModelScreenWidget.
renderSubWidgetsString(ModelScreenWidget.java:156)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.
renderWidgetString(ModelScreenWidget.java:249)
at org.ofbiz.widget.screen.ModelScreen.
renderScreenString(ModelScreen.java:102)
at org.ofbiz.widget.screen.ScreenRenderer.render
(ScreenRenderer.java:139) at
org.ofbiz.widget.screen.ScreenRenderer.render
(ScreenRenderer.java:104) at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.
render(ScreenWidgetViewHandler.java:85)
at org.ofbiz.webapp.control.RequestHandler.
renderView(RequestHandler.java:551)
at org.ofbiz.webapp.control.RequestHandler.
doRequest(RequestHandler.java:354) at
org.ofbiz.webapp.control.ControlServlet.
doGet(ControlServlet.java:191) at
org.ofbiz.webapp.control.ControlServlet.
doPost(ControlServlet.java:87) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
weblogic.servlet.internal.ServletStubImpl
$ServletInvocationAction.run(ServletStubImpl.java:1072)
at
weblogic.servlet.internal.ServletStubImpl.
invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at
weblogic.servlet.internal.FilterChainImpl.
doFilter(FilterChainImpl.java:27) at
org.ofbiz.webapp.control.ContextFilter.
doFilter(ContextFilter.java:242) at
weblogic.servlet.internal.FilterChainImpl.
doFilter(FilterChainImpl.java:27) at
com.bt.netc.frameworks.filters.FilterProxyImpl.
doFilter(FilterProxyImpl.java:65)
at
org.springframework.web.filter.DelegatingFilterProxy.
doFilter(DelegatingFilterProxy.java:137)
at weblogic.servlet.internal.FilterChainImpl.doFilter
FilterChainImpl.java:27)
at
weblogic.servlet.internal.WebAppServletContext
$ServletInvocationAction.run(WebAppServletContext.java:6987)
at
weblogic.security.acl.internal.AuthenticatedSubject.
doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs
(SecurityManager.java:121) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet
(WebAppServletContext.java:3892)
at
weblogic.servlet.internal.ServletRequestImpl.execute
(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) Caused by:
java.lang.NullPointerException at
freemarker.ext.beans.BeanModel.get(BeanModel.java:173) ... 69 more





Guys, i thought the bsh for the problematic page was weird, hence put
everything
what was inside the bsh in a static method inside a java class. From the bsh i
call the static method and once its done, the ftl is rendered. Still i get the
same stack trace intermittently.


Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

cjhowe
Since this is custom code, I can only take a stab at it.. You're error
is this:

It appears to be in your ftl file.

moduleName=request.getAttribute("moduleNameList").get(cnt)
[on line 6, column 17 in rendermodules.ftl

get(cnt) fails.

is cnt defined when it gets to this point or does cnt exist in that
list?  While I'm sure workable, freemarker seems like a strange place
to be putting this kind of logic.

You may wish to use the freemarker code:
<#attempt>
  attempt block
<#recover>
  recover block
</#attempt>

around this code.

--- Vaibhav Kumar <[hidden email]> wrote:

> Hi Guys,
> I am facing a problem while running my ofbiz application. Your
> inputs/suggestions would be most welcome
> While running the application, the page breaks down intermittently
> and
> stack
> trace is shown on the page. Refresh, it goes away.Again press back,
> fill in
> the
> details and submit the form, the stack trace appears again. The stack
> trace is
> as follows -> (Some times the page doesn't break down)
>
> get(paramsMap) failed on instance of
> org.ofbiz.base.util.collections.MapStack
> The problematic instruction: ---------- ==> if
> paramsMap.delivOptionVal?exists
> [on line 43, column 49 in
> CHK_017a_SecureClosedLessThanFiveAddress.ftl]
> ---------- Java backtrace for programmers: ----------
> freemarker.template.TemplateModelException:
> get(paramsMap) failed on instance of
> org.ofbiz.base.util.collections.MapStack at
> freemarker.ext.beans.BeanModel.get(BeanModel.java:210) at
> freemarker.core.Environment.getGlobalVariable(Environment.java:972)
> at
> freemarker.core.Environment.getVariable(Environment.java:958) at
> freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Dot._getAsTemplateModel(Dot.java:74) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
>
freemarker.core.BuiltIn$existsBI._getAsTemplateModel(BuiltIn.java:633)

> at
> freemarker.core.BuiltIn$existsBI.isTrue(BuiltIn.java:644) at
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.Environment.process(Environment.java:176) at
> freemarker.template.Template.process(Template.java:231) at
> org.ofbiz.base.util.template.FreeMarkerWorker.
> renderTemplateAtLocation(FreeMarkerWorker.java:177)
> at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate
> (HtmlWidget.java:86) at
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.
> renderWidgetString(HtmlWidget.java:114)
> at org.ofbiz.widget.screen.HtmlWidget.
> renderWidgetString(HtmlWidget.java:73) at
> org.ofbiz.widget.screen.ModelScreenWidget
> $PlatformSpecific.renderWidgetString(ModelScreenWidget.java:801)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.
> renderSubWidgetsString(ModelScreenWidget.java:156)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.
> renderWidgetString(ModelScreenWidget.java:249)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString
> (ModelScreen.java:102)
> at org.ofbiz.widget.screen.ScreenRenderer.render(
> ScreenRenderer.java:139) at
> org.ofbiz.widget.screen.ScreenRenderer.render
> (ScreenRenderer.java:104) at
> sun.reflect.GeneratedMethodAccessor284.invoke
> (Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324) at
> freemarker.ext.beans.BeansWrapper.invokeMethod
> (BeansWrapper.java:457) at
> freemarker.ext.beans.OverloadedMethodModel.exec
> (OverloadedMethodModel.java:110)
> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
> at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Expression.getStringValue(Expression.java:93) at
> freemarker.core.DollarVariable.accept(DollarVariable.java:76) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
> at
> freemarker.core.Environment.visit(Environment.java:351) at
> freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.Environment.process(Environment.java:176) at
> freemarker.template.Template.process(Template.java:231) at
> org.ofbiz.base.util.template.FreeMarkerWorker.
> renderTemplateAtLocation(FreeMarkerWorker.java:177)
> at org.ofbiz.widget.screen.HtmlWidget.
> renderHtmlTemplate(HtmlWidget.java:86) at
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.
> renderWidgetString(HtmlWidget.java:114)
> at org.ofbiz.widget.screen.HtmlWidget.
> renderWidgetString(HtmlWidget.java:73) at
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.
> renderWidgetString(ModelScreenWidget.java:801)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.
> renderSubWidgetsString(ModelScreenWidget.java:156)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.
> renderWidgetString(ModelScreenWidget.java:527)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render
> (ModelScreenWidget.java:188)
> at
> org.ofbiz.widget.screen.ModelScreenWidget
> $DecoratorSectionInclude.
> renderWidgetString(ModelScreenWidget.java:549)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.
> renderSubWidgetsString(ModelScreenWidget.java:156)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.
> renderWidgetString(ModelScreenWidget.java:249)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString
> (ModelScreen.java:102)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.
> renderWidgetString(ModelScreenWidget.java:495)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.
> renderSubWidgetsString
> (ModelScreenWidget.java:156)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.
> renderWidgetString(ModelScreenWidget.java:249)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString
> (ModelScreen.java:102)
> at org.ofbiz.widget.screen.ScreenRenderer.render
> (ScreenRenderer.java:139) at
> org.ofbiz.widget.screen.ScreenRenderer.render
> (ScreenRenderer.java:104) at
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(
> ScreenWidgetViewHandler.java:85)
> at org.ofbiz.webapp.control.RequestHandler.renderView
> (RequestHandler.java:551)
> at org.ofbiz.webapp.control.RequestHandler.doRequest
> (RequestHandler.java:354) at
> org.ofbiz.webapp.control.ControlServlet.doGet
> (ControlServlet.java:191) at
>
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)

> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> weblogic.servlet.internal.ServletStubImpl
> $ServletInvocationAction.run
> (ServletStubImpl.java:1072)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet
> (ServletStubImpl.java:465)
> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
> at
> weblogic.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:27) at
>
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:242)

> at
> weblogic.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:27) at
> com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter
> (FilterProxyImpl.java:65)
> at
> org.springframework.web.filter.DelegatingFilterProxy.
> doFilter(DelegatingFilterProxy.java:137)
> at
>
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> at
> weblogic.servlet.internal.WebAppServletContext$
> ServletInvocationAction.run(WebAppServletContext.java:6987)
> at
> weblogic.security.acl.internal.AuthenticatedSubject.
> doAs(AuthenticatedSubject.java:321)
> at
>
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

>  at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet
> (WebAppServletContext.java:3892)
> at
> weblogic.servlet.internal.ServletRequestImpl.execute
> (ServletRequestImpl.java:
> 2766)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at
> weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) Caused by:
> java.lang.NullPointerException at
> freemarker.ext.beans.BeanModel.get(BeanModel.java:173) ... 93 more
>  get(request)
> failed on instance of org.ofbiz.base.util.collections.MapStack The
> problematic
> instruction: ---------- ==> assignment:
> moduleName=request.getAttribute("moduleNameList").get(cnt)
> [on line 6, column 17
>
=== message truncated ===

Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

vaibhav-2
Before the moduleName=request.getAttribute("moduleNameList").get(cnt) line, the ftl has broken down at  get(paramsMap) failed on instance of
org.ofbiz.base.util.collections.MapStack
The problematic instruction: ---------- ==> if
paramsMap.delivOptionVal?exists
[on line 43, column 49 in
CHK_017a_SecureClosedLessThanFiveAddress.ftl]

Any suggestions on MapStack instance not being there in context when the hash map paramsMap is getting accessed in ftl

cjhowe wrote
Since this is custom code, I can only take a stab at it.. You're error
is this:

It appears to be in your ftl file.

moduleName=request.getAttribute("moduleNameList").get(cnt)
[on line 6, column 17 in rendermodules.ftl

get(cnt) fails.

is cnt defined when it gets to this point or does cnt exist in that
list?  While I'm sure workable, freemarker seems like a strange place
to be putting this kind of logic.

You may wish to use the freemarker code:
<#attempt>
  attempt block
<#recover>
  recover block
</#attempt>

around this code.

--- Vaibhav Kumar <vaibhavk@techmahindra.com> wrote:

> Hi Guys,
> I am facing a problem while running my ofbiz application. Your
> inputs/suggestions would be most welcome
> While running the application, the page breaks down intermittently
> and
> stack
> trace is shown on the page. Refresh, it goes away.Again press back,
> fill in
> the
> details and submit the form, the stack trace appears again. The stack
> trace is
> as follows -> (Some times the page doesn't break down)
>
> get(paramsMap) failed on instance of
> org.ofbiz.base.util.collections.MapStack
> The problematic instruction: ---------- ==> if
> paramsMap.delivOptionVal?exists
> [on line 43, column 49 in
> CHK_017a_SecureClosedLessThanFiveAddress.ftl]
> ---------- Java backtrace for programmers: ----------
> freemarker.template.TemplateModelException:
> get(paramsMap) failed on instance of
> org.ofbiz.base.util.collections.MapStack at
> freemarker.ext.beans.BeanModel.get(BeanModel.java:210) at
> freemarker.core.Environment.getGlobalVariable(Environment.java:972)
> at
> freemarker.core.Environment.getVariable(Environment.java:958) at
> freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Dot._getAsTemplateModel(Dot.java:74) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
>
freemarker.core.BuiltIn$existsBI._getAsTemplateModel(BuiltIn.java:633)
> at
> freemarker.core.BuiltIn$existsBI.isTrue(BuiltIn.java:644) at
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.Environment.process(Environment.java:176) at
> freemarker.template.Template.process(Template.java:231) at
> org.ofbiz.base.util.template.FreeMarkerWorker.
> renderTemplateAtLocation(FreeMarkerWorker.java:177)
> at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate
> (HtmlWidget.java:86) at
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.
> renderWidgetString(HtmlWidget.java:114)
> at org.ofbiz.widget.screen.HtmlWidget.
> renderWidgetString(HtmlWidget.java:73) at
> org.ofbiz.widget.screen.ModelScreenWidget
> $PlatformSpecific.renderWidgetString(ModelScreenWidget.java:801)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.
> renderSubWidgetsString(ModelScreenWidget.java:156)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.
> renderWidgetString(ModelScreenWidget.java:249)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString
> (ModelScreen.java:102)
> at org.ofbiz.widget.screen.ScreenRenderer.render(
> ScreenRenderer.java:139) at
> org.ofbiz.widget.screen.ScreenRenderer.render
> (ScreenRenderer.java:104) at
> sun.reflect.GeneratedMethodAccessor284.invoke
> (Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324) at
> freemarker.ext.beans.BeansWrapper.invokeMethod
> (BeansWrapper.java:457) at
> freemarker.ext.beans.OverloadedMethodModel.exec
> (OverloadedMethodModel.java:110)
> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
> at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Expression.getStringValue(Expression.java:93) at
> freemarker.core.DollarVariable.accept(DollarVariable.java:76) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
> at
> freemarker.core.Environment.visit(Environment.java:351) at
> freemarker.core.IteratorBlock.accept(IteratorBlock.java:95) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:196) at
> freemarker.core.Environment.process(Environment.java:176) at
> freemarker.template.Template.process(Template.java:231) at
> org.ofbiz.base.util.template.FreeMarkerWorker.
> renderTemplateAtLocation(FreeMarkerWorker.java:177)
> at org.ofbiz.widget.screen.HtmlWidget.
> renderHtmlTemplate(HtmlWidget.java:86) at
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.
> renderWidgetString(HtmlWidget.java:114)
> at org.ofbiz.widget.screen.HtmlWidget.
> renderWidgetString(HtmlWidget.java:73) at
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.
> renderWidgetString(ModelScreenWidget.java:801)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.
> renderSubWidgetsString(ModelScreenWidget.java:156)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.
> renderWidgetString(ModelScreenWidget.java:527)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render
> (ModelScreenWidget.java:188)
> at
> org.ofbiz.widget.screen.ModelScreenWidget
> $DecoratorSectionInclude.
> renderWidgetString(ModelScreenWidget.java:549)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.
> renderSubWidgetsString(ModelScreenWidget.java:156)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.
> renderWidgetString(ModelScreenWidget.java:249)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString
> (ModelScreen.java:102)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.
> renderWidgetString(ModelScreenWidget.java:495)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.
> renderSubWidgetsString
> (ModelScreenWidget.java:156)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.
> renderWidgetString(ModelScreenWidget.java:249)
> at org.ofbiz.widget.screen.ModelScreen.renderScreenString
> (ModelScreen.java:102)
> at org.ofbiz.widget.screen.ScreenRenderer.render
> (ScreenRenderer.java:139) at
> org.ofbiz.widget.screen.ScreenRenderer.render
> (ScreenRenderer.java:104) at
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(
> ScreenWidgetViewHandler.java:85)
> at org.ofbiz.webapp.control.RequestHandler.renderView
> (RequestHandler.java:551)
> at org.ofbiz.webapp.control.RequestHandler.doRequest
> (RequestHandler.java:354) at
> org.ofbiz.webapp.control.ControlServlet.doGet
> (ControlServlet.java:191) at
>
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> weblogic.servlet.internal.ServletStubImpl
> $ServletInvocationAction.run
> (ServletStubImpl.java:1072)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet
> (ServletStubImpl.java:465)
> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
> at
> weblogic.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:27) at
>
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:242)
> at
> weblogic.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:27) at
> com.bt.netc.frameworks.filters.FilterProxyImpl.doFilter
> (FilterProxyImpl.java:65)
> at
> org.springframework.web.filter.DelegatingFilterProxy.
> doFilter(DelegatingFilterProxy.java:137)
> at
>
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
> at
> weblogic.servlet.internal.WebAppServletContext$
> ServletInvocationAction.run(WebAppServletContext.java:6987)
> at
> weblogic.security.acl.internal.AuthenticatedSubject.
> doAs(AuthenticatedSubject.java:321)
> at
>
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>  at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet
> (WebAppServletContext.java:3892)
> at
> weblogic.servlet.internal.ServletRequestImpl.execute
> (ServletRequestImpl.java:
> 2766)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at
> weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) Caused by:
> java.lang.NullPointerException at
> freemarker.ext.beans.BeanModel.get(BeanModel.java:173) ... 93 more
>  get(request)
> failed on instance of org.ofbiz.base.util.collections.MapStack The
> problematic
> instruction: ---------- ==> assignment:
> moduleName=request.getAttribute("moduleNameList").get(cnt)
> [on line 6, column 17
>
=== message truncated ===
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

vaibhav-2
Just by refreshing how is it able to get the Map Stack instance is confusing to me. also this problem has come quite frequently when the same page is being rendered by requests from 2 different webapps at the same time in my application.
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

cjhowe
where is paramsMap being defined?  It's likely coming from a bsh script
ie context.put("paramsMap", paramsMap);

or a service.  Without telling more about your custom application, I'm
not sure how much help can be offered.

--- vaibhav <[hidden email]> wrote:

>
> Just by refreshing how is it able to get the Map Stack instance is
> confusing
> to me. also this problem has come quite frequently when the same page
> is
> being rendered by requests from 2 different webapps at the same time
> in my
> application.
> --
> View this message in context:
>
http://www.nabble.com/Error-coming-frequenly-on-ofbizUrl-tf2554344.html#a8902003
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

vaibhav-2
This what is have in the bsh
import java.util.Map;
import java.util.HashMap;
import com.bt.custc.ecommerce.module.orderjourney.common.BBDeliveryDetails;


context.put("paramsMap", BBDeliveryDetails.getDeliveryDetailsClosedAddress(request));

where in the method getDeliveryDetailsClosedAddress of class BBDeliveryDetails, i prepare the paramsMap and return it back (to be put in context in bsh and then iterated in ftl)
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

cjhowe
Then in order to get the result you've been getting,

BBDeliveryDetails.getDeliveryDetailsClosedAddress(request)

is returning a null pointer exception with certain requests.


--- vaibhav <[hidden email]> wrote:

>
> This what is have in the bsh
> import java.util.Map;
> import java.util.HashMap;
> import
> com.bt.custc.ecommerce.module.orderjourney.common.BBDeliveryDetails;
>
>
> context.put("paramsMap",
> BBDeliveryDetails.getDeliveryDetailsClosedAddress(request));
>
> where in the method getDeliveryDetailsClosedAddress of class
> BBDeliveryDetails, i prepare the paramsMap and return it back (to be
> put in
> context in bsh and then iterated in ftl)
> --
> View this message in context:
>
http://www.nabble.com/Error-coming-frequenly-on-ofbizUrl-tf2554344.html#a8902177
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

vaibhav-2
How can a map created in a java class witha new operator retun null pointer exception. also if thats the case hte application should break down at bsh, but its not so and is breaking at ftl only.

Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

cjhowe
It's returning null.

context.put("paramsMap", null);
is valid

i'm not a java person....i just know when your ftl is failing it is
because the above is being used.


--- vaibhav <[hidden email]> wrote:

>
> How can a map created in a java class witha new operator retun null
> pointer
> exception. also if thats the case hte application should break down
> at bsh,
> but its not so and is breaking at ftl only.
>
>
> --
> View this message in context:
>
http://www.nabble.com/Error-coming-frequenly-on-ofbizUrl-tf2554344.html#a8902402
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

                       
                                        <#assign opt2="">
                                                <#if paramsMap.delivOptionVal?exists>

where the ftl is breaking at <#if paramsMap.delivOptionVal?exists>
then which other tag to use to avoid this
vaibhav-2
So even if i am doing this in my ftl
<#if paramsMap.profileAddresses?has_content>
                         <#list paramsMap.profileAddresses as profileAddress>
                       
Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

Jacopo Cappellato
Are you sure the problem is there?

Jacopo

vaibhav wrote:

> So even if i am doing this in my ftl
> <#if paramsMap.profileAddresses?has_content>
> <#list paramsMap.profileAddresses as profileAddress>
> <tr>
>
> <#assign opt2="">
> <#if paramsMap.delivOptionVal?exists>
>
> where the ftl is breaking at <#if paramsMap.delivOptionVal?exists>
> then which other tag to use to avoid this


Reply | Threaded
Open this post in threaded view
|

Re: Error coming frequenly on ofbizUrl

cjhowe
In reply to this post by vaibhav-2
you haven't checked that paramsMap exists
--- vaibhav <[hidden email]> wrote:

>
> So even if i am doing this in my ftl
> <#if paramsMap.profileAddresses?has_content>
> <#list paramsMap.profileAddresses as profileAddress>
> <tr>
>
> <#assign opt2="">
> <#if paramsMap.delivOptionVal?exists>
>
> where the ftl is breaking at <#if paramsMap.delivOptionVal?exists>
> then which other tag to use to avoid this
> --
> View this message in context:
>
http://www.nabble.com/Error-coming-frequenly-on-ofbizUrl-tf2554344.html#a8902503
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>

12