datastax/java-driver — pull request #4 by mebigfatguy (2012-11-29 06:55:52+00:00)
Title: avoid NPE if colsDefs is null

code is written as if colsDef could be null, if it is you get an NPE in call to TableMetadata.build. Rework to add null check and pull that out of the loop.