Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base64 function fails with NPE on OpenJDK #197

costin opened this Issue Apr 24, 2014 · 0 comments


None yet
1 participant
Copy link

costin commented Apr 24, 2014

It seems that on OpenJDK ("openjdk version "1.7.0-internal") the current base64 encoding/decoding function fails with a NPE:

    > java.lang.NullPointerException
    >         at javax.xml.bind.DatatypeConverterImpl.guessLength(
    >         at javax.xml.bind.DatatypeConverterImpl._parseBase64Binary(
    >         at javax.xml.bind.DatatypeConverterImpl.parseBase64Binary(
    >         at javax.xml.bind.DatatypeConverter.parseBase64Binary(
    >         at org.elasticsearch.hadoop.util.IOUtils.deserializeFromBase64(
    >         at org.elasticsearch.hadoop.pig.EsStorage.prepareToWrite(
    >         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat$PigRecordWriter.<init>(
    >         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat.getRecordWriter(
    >         at org.apache.hadoop.mapred.ReduceTask$NewTrackingRecordWriter.<init>(
    >         at org.apache.hadoop.mapred.ReduceTask.runNewReducer(
    >         at
    >         at org.apache.hadoop.mapred.Child$
    >         at Method)
    >         at
    >         at
    >         at org.apache.hadoop.mapred.Child.main( 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.