NullPointerExceptions on ColdFusion 8.0.1

View: New views
2 Messages — Rating Filter:   Alert me  

NullPointerExceptions on ColdFusion 8.0.1

by Karl-Heinz Blenk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi @all,

I use a cold fusion 8.0.1 server on a windows 2003 server (x64 edition
of both products).

The application use a ms sql 2005 database, I use the current sql jdbc
driver from microsoft for sql 2005.

Some times, some days we get null pointer exceptions at different code
lines / templates.

-- snip --
java.lang.NullPointerException at
coldfusion.sql.QueryDetails.equals(QueryDetails.java:112) at
coldfusion.util.LruCache.removeEntry(LruCache.java:104) at
coldfusion.util.LruCache.reap(LruCache.java:212) at
coldfusion.util.LruCache.get(LruCache.java:190) at
coldfusion.sql.Executive.getCachedQuery(Executive.java:1309) at
coldfusion.tagext.sql.QueryTag.setupCachedQuery(QueryTag.java:708) at
coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:517) at ...
-- snip --

All NPEs occur when using cached querys (they occur on different
cfquery-tags). The first lines of the stack trace are always the same.

I've updated the ms sql jdbc driver for a few weeks ago. In the past the
above NPEs occured, too.
Is my NPE problem a jdbc driver related issue or a cold fusion issue?

Can anybody give me some hints? Have anybody any ideas?

Regards,
Karl-Heinz

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308781
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4

Re: NullPointerExceptions on ColdFusion 8.0.1

by Barney Boisvert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

From that stack trace, it sure looks like a bug in the query cache.
You filed it with Adobe?

On Tue, Jul 8, 2008 at 12:53 PM, Karl-Heinz Blenk <Blenk@...> wrote:

> Hi @all,
>
> I use a cold fusion 8.0.1 server on a windows 2003 server (x64 edition
> of both products).
>
> The application use a ms sql 2005 database, I use the current sql jdbc
> driver from microsoft for sql 2005.
>
> Some times, some days we get null pointer exceptions at different code
> lines / templates.
>
> -- snip --
> java.lang.NullPointerException at
> coldfusion.sql.QueryDetails.equals(QueryDetails.java:112) at
> coldfusion.util.LruCache.removeEntry(LruCache.java:104) at
> coldfusion.util.LruCache.reap(LruCache.java:212) at
> coldfusion.util.LruCache.get(LruCache.java:190) at
> coldfusion.sql.Executive.getCachedQuery(Executive.java:1309) at
> coldfusion.tagext.sql.QueryTag.setupCachedQuery(QueryTag.java:708) at
> coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:517) at ...
> -- snip --
>
> All NPEs occur when using cached querys (they occur on different
> cfquery-tags). The first lines of the stack trace are always the same.
>
> I've updated the ms sql jdbc driver for a few weeks ago. In the past the
> above NPEs occured, too.
> Is my NPE problem a jdbc driver related issue or a cold fusion issue?
>
> Can anybody give me some hints? Have anybody any ideas?
>
> Regards,
> Karl-Heinz
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308782
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4