aspose file tools*
The moose likes Servlets and the fly likes ??? Tag exception: TagBeginGenerator.generateSetters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "??? Tag exception: TagBeginGenerator.generateSetters" Watch "??? Tag exception: TagBeginGenerator.generateSetters" New topic
Author

??? Tag exception: TagBeginGenerator.generateSetters

Joey Zhou
Greenhorn

Joined: May 22, 2001
Posts: 3
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?

Java, milk ...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: ??? Tag exception: TagBeginGenerator.generateSetters