Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1462

NullPointerException in SQLTransformer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.8
    • 2.1.10, 2.2
    • Blocks: Databases
    • None
    • Operating System: All
      Platform: All
    • 33850

    Description

      In src/blocks/databases/java/org/apache/cocoon/transformation/SQLTransformer.java
      around line 1134 are the lines

          Clob clob = rs.getClob(i);
          InputStream inputStream = clob.getAsciiStream();

      which cause a NPE when getClob() returns null.

      Attachments

        Activity

          People

            vgritsenko Vadim Gritsenko
            hip@cs.okstate.edu Brad
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: