You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/05/22 08:40:32 UTC

[GitHub] [incubator-shardingsphere] xfyang1989 commented on issue #2427: Optional.get() cannot be called on an absent value"

xfyang1989 commented on issue #2427: Optional.get() cannot be called on an absent value"
URL: https://github.com/apache/incubator-shardingsphere/issues/2427#issuecomment-494710318
 
 
   Execute the above SQL report the following error, what is the general reason?
   
   Caused by: java.lang.IllegalStateException: Optional.get() cannot be called on an absent value
           at com.google.common.base.Absent.get(Absent.java:45)
           at org.apache.shardingsphere.core.parsing.antlr.filler.sharding.statement.impl.dml.UpdateSetWhereFiller.fill(UpdateSetWhereFiller.java:49)
           at org.apache.shardingsphere.core.parsing.antlr.filler.sharding.statement.impl.dml.UpdateSetWhereFiller.fill(UpdateSetWhereFiller.java:39)
           at org.apache.shardingsphere.core.parsing.antlr.filler.SQLStatementFillerEngine.fill(SQLStatementFillerEngine.java:82)
           at org.apache.shardingsphere.core.parsing.antlr.AntlrParsingEngine.parse(AntlrParsingEngine.java:71)
           at org.apache.shardingsphere.core.parsing.SQLParsingEngine.parse(SQLParsingEngine.java:62)
           at org.apache.shardingsphere.core.routing.router.sharding.ParsingSQLRouter.parse(ParsingSQLRouter.java:86)
           at org.apache.shardingsphere.core.routing.PreparedStatementRoutingEngine.route(PreparedStatementRoutingEngine.java:64)
           at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.sqlRoute(ShardingPreparedStatement.java:222)
           at org.apache.shardingsphere.shardingjdbc.jdbc.core.statement.ShardingPreparedStatement.execute(ShardingPreparedStatement.java:168)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:59)
           at com.sun.proxy.$Proxy112.execute(Unknown Source)
           at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:46)
           at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74)
           at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50)
           at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
           at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76)
           ... 70 common frames omitted
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services