epermana / tungsten-replicator

Automatically exported from code.google.com/p/tungsten-replicator
1 stars 0 forks source link

NullPointerException #700

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
After setup.

What is the expected output?
INFO   | jvm 1    | 2013/09/09 17:49:05 | java.lang.NullPointerException
INFO   | jvm 1    | 2013/09/09 17:49:05 |       at 
com.continuent.tungsten.replicator.applier.MySQLDrizzleApplier.setObject(MySQLDr
izzleApplier.java:327)
INFO   | jvm 1    | 2013/09/09 17:49:05 |       at 
com.continuent.tungsten.replicator.applier.JdbcApplier.bindColumnValues(JdbcAppl
ier.java:540)
INFO   | jvm 1    | 2013/09/09 17:49:05 |       at 
com.continuent.tungsten.replicator.applier.JdbcApplier.applyOneRowChangePrepared
(JdbcApplier.java:1011)
INFO   | jvm 1    | 2013/09/09 17:49:05 |       at 
com.continuent.tungsten.replicator.applier.JdbcApplier.applyRowChangeData(JdbcAp
plier.java:1234)
INFO   | jvm 1    | 2013/09/09 17:49:05 |       at 
com.continuent.tungsten.replicator.applier.JdbcApplier.apply(JdbcApplier.java:13
27)
INFO   | jvm 1    | 2013/09/09 17:49:05 |       at 
com.continuent.tungsten.replicator.applier.ApplierWrapper.apply(ApplierWrapper.j
ava:101)
INFO   | jvm 1    | 2013/09/09 17:49:05 |       at 
com.continuent.tungsten.replicator.pipeline.SingleThreadStageTask.apply(SingleTh
readStageTask.java:706)
INFO   | jvm 1    | 2013/09/09 17:49:05 |       at 
com.continuent.tungsten.replicator.pipeline.SingleThreadStageTask.runTask(Single
ThreadStageTask.java:484)
INFO   | jvm 1    | 2013/09/09 17:49:05 |       at 
com.continuent.tungsten.replicator.pipeline.SingleThreadStageTask.run(SingleThre
adStageTask.java:169)
INFO   | jvm 1    | 2013/09/09 17:49:05 |       at 
java.lang.Thread.run(Thread.java:662)

What do you see instead?
In class com.continuent.tungsten.replicator.dbms.OneRowChange
change the method from
public String getTypeDescription()
        {
            if (typeDescription == null)
            {
                return "";
            }
            return typeDescription;
        }

to
public String getTypeDescription()
        {
            return typeDescription;
        }

What version of the product are you using?
2.1.2.30

On what operating system?
Linux TEST-WEB 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux

Original issue reported on code.google.com by seedman...@gmail.com on 10 Sep 2013 at 3:13

GoogleCodeExporter commented 9 years ago
please report which steps you have taken to arrive at the error.
How did you install? 
How did you start the service?

Original comment by g.maxia on 10 Sep 2013 at 3:16