• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

??? Tag exception: TagBeginGenerator.generateSetters

 
Joey Zhou
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can anyone help me? I really can't work this out.
<%@ taglib uri="../db-taglib.tld" prefix="db" %>
<%@ taglib uri="../ma-taglib.tld" prefix="ma" %>
...
<db:connection id="conn" url="jdbc racle:thin:@abc.xxx.net:1521 rcl">
<db:userId>user</db:userId>
<db assword>abcd</db assword>
</db:connection>
// so far the tag works fine. however when I add one more tag as // following, it gives the exception.
<db:query id="abc" connection="conn">
select * from table_abc
</db:query>
...
exception:
java.lang.NullPointerException
at org.apache.jasper.compiler.TagBeginGenerator.generateSetters(TagBeginGenerator.java:196)
at org.apache.jasper.compiler.TagBeginGenerator.generateServiceMethodStatements(TagBeginGenerator.java:291)
at org.apache.jasper.compiler.TagBeginGenerator.generate(TagBeginGenerator.java:360)
...
The code is also works fine in the windows2000 pro. the exception above occurs in the RedHat 6.2. I debug it for 2 days and haven't got any clue. can anybody help me?
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic