Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

mhirt
2008-01-24 20:25:45

Hello,

see [Bugtracker] bug 2890

Thanks for your support,

dmerino
2008-01-24 12:46:31

Hello,

at this moment we cann't report on your bugtracker.

We are young developers on Talend and we prefer post in the forum this "possible bugs".
If you, Talend Team, considers that it's a bug,  we think that is better that you open the bug in thebugtracker system that we.

When we have more experience on Talend, that we would to do is signup in the bugtracker system to could report it,
because we are finding some possible little bugs, normally between components conexion.

Thanks at all.

shong
2008-01-24 03:02:54

Hi Dmerino

It's better to report a bug on our bugtracker. Can you do it?

Thanks for your support!smile

Best regards

         shong

dmerino
2008-01-23 16:21:22

Hello,

we are working with Talend 2.2.2 GA and try it with 2.2.4 version too.

The problem is when FormatterUtils.format_Date(date date, String pattern )
method is invoked with date being null value, the method returns NullPointerEception instead null value.

This generic class is used for some components (like tAdvancedFileOutputXML)
and these are expected a String value like returns (like "" or null value, we think better last)
and receive a NullPointerException.


tAdvancedFileOutputXML component is cheking if the invocation of method returns null value,
but the actual implementation of method never can return null value.


A possible solution is modify FormatterUtils.java file located on directory

<%TALEND_HOME%>/plugins/org.talend.librariesmanager_<%TALEND_VERSION%>\resources\java\talend 


with the next source code for method "format_Date":

    public static String format_Date(java.util.Date date, String pattern) {
        if (date != null) {
            java.text.SimpleDateFormat simpleDateFormat = new java.text.SimpleDateFormat(pattern);
            return simpleDateFormat.format(date);
        } else
            return null;
    }

Another possible solution is modify some components to take care of this NullPointerException,
but we think this solution are more difficult to make than before.

Thanks at all

Board footer

Powered by FluxBB