IF I comment out the variable=null code from doFinally() methods of
EmbeddedData, it works fine. At least the HTML select tags are generated
correctly. Should I just comment them out? What am I getting myself
into?
Regards,
Ali
Hello,
I am trying to get the db:select tag work with embedded data. I am
getting the following exception below. Does anybody know the cause and
how to avoid this error?
It's a null ptr exception in the TableData.java caused by the doFinally()
method setting the visibleFields=null. Why does doFinally() methods set
all the fields to null? Apparently, AFTER doFinally is executed, we are
still using the Tag handler. Is doFinally's set nulls for tag re-use? If
so, why do you we not set everything to null BEFORE we start using a tag?
instead of AFTER?
I don't know anything about taglibs but i gotto fix this. Any help is
appreciated.
Regards,
Ali
setVisibleFields=user_name
java.lang.Exception: Stack trace
at
java.lang.Thread.dumpStack(Thread.java:1071)
at
org.dbforms.taglib.TableData.setVisibleFields(TableData.java:115)
at
_jsp._advertiser_0profile_0single__jsp._jspService(_advertiser_0profi
le_0single__jsp.java:701)
at
com.caucho.jsp.JavaPage.service(JavaPage.java:75)
at
com.caucho.jsp.Page.pageservice(Page.java:571)
at
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.j
ava:155)
at
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.ja
va:211)
at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain
.java:177)
at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocatio
n.java:221)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263
)
at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:331)
at
com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
at
com.caucho.util.ThreadPool.run(ThreadPool.java:408)
at
java.lang.Thread.run(Thread.java:536)
doFinally is called.
doFinally is called.
1028128 [thread-pool-12] ERROR org.dbforms.taglib.DbFormTag -
DbFormTag.doCatch
called - java.lang.NullPointerException
java.lang.NullPointerException
at
java.util.StringTokenizer.<init>(StringTokenizer.java:119)
at
java.util.StringTokenizer.<init>(StringTokenizer.java:135)
at
org.dbforms.util.ParseUtil.splitString(ParseUtil.java:295)
at
org.dbforms.taglib.TableData.fetchData(TableData.java:185)
at
org.dbforms.taglib.EmbeddedData.doStartTag(EmbeddedData.java:275)
at
_jsp._advertiser_0profile_0single__jsp._jspService(_advertiser_0profi
le_0single__jsp.java:762)
at
com.caucho.jsp.JavaPage.service(JavaPage.java:75)
at
com.caucho.jsp.Page.pageservice(Page.java:571)
at
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.j
ava:155)
at
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.ja
va:211)
at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain
.java:177)
at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocatio
n.java:221)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263
)
at
com.caucho.server.port.TcpConnection.run(TcpConnection.java:331)
at
com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
at
com.caucho.util.ThreadPool.run(ThreadPool.java:408)
at
java.lang.Thread.run(Thread.java:536)
- AW: [dbforms] Problem with db:select tag - 2 Ali Demir
- AW: [dbforms] Problem with db:select tag - 2 Henner Kollmann