You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "hudi-bot (via GitHub)" <gi...@apache.org> on 2025/11/30 05:05:56 UTC

[I] NullPointerException when HoodieTableFileSystemView.getReplaceInstant [hudi]

hudi-bot opened a new issue, #15273:
URL: https://github.com/apache/hudi/issues/15273

   {code:java}
   2022-07-07 16:18:40,369 ERROR org.apache.hudi.timeline.service.RequestHandler [] - Got runtime exception servicing request partition=2022-07-04&maxinstant=20220707161605152&includependingcompaction=false&basepath=XXXXXXXXXXXX&lastinstantts=20220707161605152&timelinehash=39ca9988a873b481b6d9f476ff2578de6b8c975e9c438cc6ad688ffe0a4ec8d5
   java.lang.NullPointerException: null
   at org.apache.hudi.common.table.view.HoodieTableFileSystemView.getReplaceInstant(HoodieTableFileSystemView.java:360) ~[hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.common.table.view.AbstractTableFileSystemView.isFileGroupReplacedBeforeOrOn(AbstractTableFileSystemView.java:1112) ~[hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.common.table.view.AbstractTableFileSystemView.lambda$getLatestFileSlicesBeforeOrOn$42(AbstractTableFileSystemView.java:653) ~[hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) ~[?:1.8.0_221]
   at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_221]
   at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_221]
   at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_221]
   at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) ~[?:1.8.0_221]
   at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_221]
   at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_221]
   at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_221]
   at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_221]
   at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_221]
   at org.apache.hudi.timeline.service.handlers.FileSliceHandler.getLatestFileSlicesBeforeOrOn(FileSliceHandler.java:67) ~[hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.timeline.service.RequestHandler.lambda$registerFileSlicesAPI$16(RequestHandler.java:362) ~[hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.timeline.service.RequestHandler$ViewHandler.handle(RequestHandler.java:501) ~[hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at io.javalin.security.SecurityUtil.noopAccessManager(SecurityUtil.kt:22) ~[hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at io.javalin.Javalin.lambda$addHandler$0(Javalin.java:606) ~[hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:46) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at io.javalin.core.JavalinServlet$service$2$1.invoke(JavalinServlet.kt:17) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at io.javalin.core.JavalinServlet$service$1.invoke(JavalinServlet.kt:143) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at io.javalin.core.JavalinServlet$service$2.invoke(JavalinServlet.kt:41) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at io.javalin.core.JavalinServlet.service(JavalinServlet.kt:107) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at io.javalin.core.util.JettyServerUtil$initialize$httpHandler$1.doHandle(JettyServerUtil.kt:72) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.handler.HandlerList.handle(HandlerList.java:61) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:174) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.Server.handle(Server.java:502) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.HttpChannel.handle(HttpChannel.java:370) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.server.HttpConnection.onFillable(HttpConnection.java:267) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.io.FillInterest.fillable(FillInterest.java:103) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at org.apache.hudi.org.apache.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) [hudi-flink1.14-bundle-yichesql_2.11-0.11.0.jar:0.11.0]
   at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221] {code}
   there is always happen this bug when i use hudi 0.11.0 but not in 0.10.0
   
   i notice that there is a bug fix in https://issues.apache.org/jira/browse/HUDI-3263
   
   but this bug still happen
   
    
   
    
   
    
   
   ## JIRA info
   
   - Link: https://issues.apache.org/jira/browse/HUDI-4371
   - Type: Bug
   - Affects version(s):
     - 0.11.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] NullPointerException when HoodieTableFileSystemView.getReplaceInstant [hudi]

Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 closed issue #15273: NullPointerException when HoodieTableFileSystemView.getReplaceInstant
URL: https://github.com/apache/hudi/issues/15273


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org