Hi Charlie,
I'm a bit late to the party but I do have a fix for this.
If you add useDynamicCharsetInfo=false to the end of the mysql jdbc url
of your datasource you should see no more NullPointerException.
Interestingly the mysql jdbc driver can detect it's running on Adobe
Coldfusion and has a set of configs that it defaults to including this
particular one
(http://dev.mysql.com/doc/connector-j/en/connector-j-useconfigs.html).
In the meantime, I'll work on a more permanent fix so this doesn't trip
others up too.
Thanks
Andy
On 24/01/2013 20:54, Skellington wrote:
Hello,
I just switched to using MySQL 5.5.29 from 5.1.x and the following
query no longer works.
The error I get is "The page you were executing caused an internal
server error".
61: <cfquery name="gGetDBInfo" datasource="#session.dbsource#">
62: SHOW VARIABLES LIKE "%version%"
^ Snippet from underlying CFML source
Stack Trace
java.lang.NullPointerException
at
com.naryx.tagfusion.cfm.engine.cfQueryResultSetMetaData$ColumnMetaData.access$800(Unknown
Source)
at
com.naryx.tagfusion.cfm.engine.cfQueryResultSetMetaData.getColumnType(Unknown
Source)
at com.naryx.tagfusion.cfm.engine.cfQueryResultData.setRow(Unknown Source)
at com.naryx.tagfusion.cfm.engine.cfQueryResultData.populate(Unknown
Source)
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.