Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1131 | major | always | 05-19-06 14:14 | 05-30-06 10:54 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.20 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|||||
Summary: | 0001131: MySQL queries fail with ClassCastException | ||||
Description: |
I haven't figured out exactly the circumstances that cause this. My best guess is that it's when a MySQL query returns no results. But in any case, sometimes queries fail with the following exception: [14:00:39.625] java.lang.ClassCastException: com.caucho.quercus.env.BooleanValue [14:00:39.625] at com.caucho.quercus.lib.mysql.Mysqli.query(Mysqli.java:401) [14:00:39.625] at com.caucho.quercus.lib.mysql.MysqlModule.mysql_query(MysqlModule.java:377) It looks like JdbcConnectionResource.query() is returning a BooleanValue in some cases, which the code is trying to cast to a JavaValue. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|