hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
Date Tue, 17 May 2011 10:40:53 GMT
Hey Lạc Trung,

I do not see a configuration instance used in your code; but you're
using the Configured class. Do you instantiate CopyFiles using
Hadoop's ReflectionUtils utility class? Unless that's done, the
getConf() would be returning a null causing the issue probably.

On Sat, May 14, 2011 at 8:07 PM, Lạc Trung <trungnb3535@gmail.com> wrote:
> Hello everybody !
>
>
>
> This exception was thrown when I tried to copy a file from local file to
> HDFS.

-- 
Harsh J

Mime
View raw message