Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT XML v2.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Ltd. of Beijing City (abbr, HXTT)

HXTT Text(CSV)
Errors In SubQueries Not Propagated Correctly
Martin Ross
2006-06-25 15:18:15.0
Using latest version,

select b.billid,"asdfasd" from BILL b

>[Error] Script lines: 1-2 --------------------------
Invalid column: asdfasd 

Which is fine...

But

select * from
(
select b.billid,"asdfasd" from BILL b
)

returns

>[Error] Script lines: 1-5 --------------------------
java.lang.NullPointerException
at com.hxtt.sql.common.n.a(Unknown Source)
at com.hxtt.sql.ad.u(Unknown Source)
at com.hxtt.sql.c0.a(Unknown Source)
at com.hxtt.sql.c0.a(Unknown Source)
at com.hxtt.sql.c0.a(Unknown Source)
at com.hxtt.sql.c0.a(Unknown Source)
at com.hxtt.sql.c0.a(Unknown Source)
at com.hxtt.sql.c0.a(Unknown Source)
at com.hxtt.sql.c0.a(Unknown Source)
at com.hxtt.sql.bf.a(Unknown Source)
at com.hxtt.sql.bf.a(Unknown Source)
at com.hxtt.sql.ac.a(Unknown Source)
at com.hxtt.sql.ac.a(Unknown Source)
at com.hxtt.sql.ac.execute(Unknown Source)
at NMFL.ur.a(Unknown Source)
at NMFL.sm.run(Unknown Source)

So somehow the error is getting lost and a misleading null pointer error is being returned.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap