[
https://issues.apache.org/jira/browse/SQOOP-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218261#comment-14218261
]
Hudson commented on SQOOP-1759:
-------------------------------
FAILURE: Integrated in Sqoop-ant-jdk-1.6-hadoop20 #948 (See
[https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/948/])
SQOOP-1759: TestIncrementalImport fails with NPE on Windows (jarcec:
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=bcefb92277444aab49ee229dd6db542e7f914a3b)
* src/test/com/cloudera/sqoop/TestIncrementalImport.java
> TestIncrementalImport fails with NPE on Windows
> -----------------------------------------------
>
> Key: SQOOP-1759
> URL: https://issues.apache.org/jira/browse/SQOOP-1759
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.4.5
> Environment: Windows
> Reporter: Venkat Ranganathan
> Assignee: Venkat Ranganathan
> Fix For: 1.4.6
>
> Attachments: SQOOP-1759.diff
>
>
> SQOOP-1138 fixes output directory handling in incremental imports in Sqoop
> and added a few tests. The ORM class file and jar file created used the
> default name QueryResult and repeated deletion and recreation of the jar file
> caused NPE when the JarFileLoader was loading the Jar file in one of the
> tests because of Windows IO related issues with the following stack trace
> {quote}
> java.lang.RuntimeException: java.lang.NullPointerException
> Stacktrace
> java.lang.RuntimeException: java.lang.RuntimeException:
> java.lang.NullPointerException
> at
> com.cloudera.sqoop.TestIncrementalImport.runImport(TestIncrementalImport.java:485)
> at
> com.cloudera.sqoop.TestIncrementalImport.testUpdateModifyWithTimestampWithQuery(TestIncrementalImport.java:1031)
> Caused by: java.lang.RuntimeException: java.lang.NullPointerException
> at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:184)
> at com.cloudera.sqoop.Sqoop.runSqoop(Sqoop.java:45)
> at
> com.cloudera.sqoop.TestIncrementalImport.runImport(TestIncrementalImport.java:480)
> Caused by: java.lang.NullPointerException
> at java.io.FilterInputStream.close(FilterInputStream.java:181)
> at
> sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream.close(JarURLConnection.java:108)
> at sun.misc.Resource.getBytes(Resource.java:143)
> {quote}
> The fix is to explicitly specify a unique class name for the ORM class file
> generated (which is also the jar file name) generated
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)