Ask Experts Questions for FREE Help !
Ask
    Jeniba's Avatar
    Jeniba Posts: 9, Reputation: 1
    New Member
     
    #1

    Jan 17, 2013, 04:51 AM
    Avro with Serialization
    How to use Avro with Serialization?Explain with an simple example in Java..
    JudyKayTee's Avatar
    JudyKayTee Posts: 46,505, Reputation: 4600
    Uber Member
     
    #2

    Jan 17, 2013, 08:25 AM
    Welcome to Apache Avro!
    Jeniba's Avatar
    Jeniba Posts: 9, Reputation: 1
    New Member
     
    #3

    Jan 20, 2013, 11:46 PM
    After reading the doc.Iam still not clear how to serialize and deserialize.The Compilation for Schema is done. It creates a java file. If I run the code for serialization and deserialization Iam getting exceptions.
    Exception in thread "main" java.lang.NullPointerException
    at org.apache.avro.specific.SpecificData.createSchema (SpecificData.java:209)
    at org.apache.avro.specific.SpecificData.getSchema(Sp ecificData.java:154)
    at org.apache.avro.specific.SpecificDatumWriter.<init >(SpecificDatumWriter.java:33)
    at trial.main(trial.java:34)
    Iam not getting the problem Iam running the code by using Eclipse.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.



View more questions Search