On line 1707 there is a dereference of 'relKind' which may very likely be set to null. This can cause a null pointer exception. I've include dthe workaround I am using, though there is almost certainly somethig better. Bob Weiler String relKind; switch (r.getBytes(3)[0]) { case 'r': relKind = "TABLE"; break; case 'i': relKind = "INDEX"; break; case 'S': relKind = "SEQUENCE"; break; default: relKind = null; } tuple[0] = null; // Catalog name tuple[1] = null; // Schema name tuple[2] = r.getBytes(1); // Table name tuple[3] = relKind != null ? relKind.getBytes() : null; // Table type tuple[4] = remarks; // Remarks v.addElement(tuple); } ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl