• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

??? Tag exception: TagBeginGenerator.generateSetters

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic