Hi The list,

I have been investigating some more my null pointer problem, and I think
I found out a bug.

In the dbsourcemanager, in the file
src/org/apache/ddlutils/io/DataWriter.java, line 321, we have

          if (converter == null)
            if (value != null)
              valueAsText = value.toString();

          else {
            valueAsText = converter.convertToString(value,
column.getTypeCode());
          }


and it should be

          if (converter == null) {
            if (value != null)
              valueAsText = value.toString();

          } else {
            valueAsText = converter.convertToString(value,
column.getTypeCode());
          }

There is a small problem of indentation you see. And this way I can
export my module. I don't have null pointer exception anymore.

Should I fill a bug report?

Thanks


Iván Perdomo wrote:
> 
> On Fri, 22 May 2009 14:13:41 -0600
> Fabien Carrion <[email protected]> wrote:
> 
>> I was looking on how to change the debug level. But playing with
>> config/log4j.lcf didnt change anything.
> The log4j.lcf used at command line is located in the src folder.
> src/log4j.lcf
> 
> Cheers,
> 

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Openbravo-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-development

Reply via email to