zhjyz2 commented on issue #4316:
URL: https://github.com/apache/streampark/issues/4316#issuecomment-3663526211

   I encountered a similar bug that seems to be caused by improper parameter 
handling. For example, my Flink Home file path contains the character"-" : 
"/opt/flink/flink-1.16.3", and when I try to view the Flink conf, an exception 
occurs while parsing the path.
   <img width="1520" height="342" alt="Image" 
src="https://github.com/user-attachments/assets/1ac22223-6e6b-46f7-8d20-9fd372337a66";
 />
   <img width="378" height="958" alt="Image" 
src="https://github.com/user-attachments/assets/8fc2d79f-8b0f-4e1c-b12d-df400ac0e669";
 />
   
   full log:
   ```
   2025-12-17 11:51:57 | ERROR | streampark-flink-app-watching-79 | 
org.apache.streampark.console.core.task.FlinkAppHttpWatcher:330] get flink 
jobOverview error: Illegal base64 character 2d
   java.lang.IllegalArgumentException: Illegal base64 character 2d
           at java.base/java.util.Base64$Decoder.decode0(Base64.java:746)
           at java.base/java.util.Base64$Decoder.decode(Base64.java:538)
           at java.base/java.util.Base64$Decoder.decode(Base64.java:561)
           at 
org.apache.streampark.common.util.DeflaterUtils$.unzipString(DeflaterUtils.scala:44)
           at 
org.apache.streampark.common.util.DeflaterUtils.unzipString(DeflaterUtils.scala)
           at 
org.apache.streampark.console.core.service.impl.FlinkEnvServiceImpl.getFlinkConfig(FlinkEnvServiceImpl.java:176)
           at 
org.apache.streampark.console.core.service.impl.FlinkEnvServiceImpl$$FastClassBySpringCGLIB$$fd9e041d.invoke(<generated>)
           at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
           at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
           at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
           at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388)
           at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
           at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
           at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
           at 
org.apache.streampark.console.core.service.impl.FlinkEnvServiceImpl$$EnhancerBySpringCGLIB$$b03f35d0.getFlinkConfig(<generated>)
           at 
org.apache.streampark.console.core.service.impl.SavepointServiceImpl.clearExpire(SavepointServiceImpl.java:160)
           at 
org.apache.streampark.console.core.service.impl.SavepointServiceImpl.saveSavePoint(SavepointServiceImpl.java:322)
           at 
org.apache.streampark.console.core.service.impl.SavepointServiceImpl$$FastClassBySpringCGLIB$$5fcde58d.invoke(<generated>)
           at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
           at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
           at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
           at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388)
           at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
           at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
           at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
           at 
org.apache.streampark.console.core.service.impl.SavepointServiceImpl$$EnhancerBySpringCGLIB$$734f4020.saveSavePoint(<generated>)
           at 
org.apache.streampark.console.core.task.CheckpointProcessor.saveSavepoint(CheckpointProcessor.java:184)
           at 
org.apache.streampark.console.core.task.CheckpointProcessor.process(CheckpointProcessor.java:99)
           at 
org.apache.streampark.console.core.task.CheckpointProcessor.lambda$process$0(CheckpointProcessor.java:76)
           at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
           at 
org.apache.streampark.console.core.task.CheckpointProcessor.process(CheckpointProcessor.java:76)
           at 
org.apache.streampark.console.core.task.FlinkAppHttpWatcher.handleCheckPoints(FlinkAppHttpWatcher.java:390)
           at 
org.apache.streampark.console.core.task.FlinkAppHttpWatcher.getFromFlinkRestApi(FlinkAppHttpWatcher.java:328)
           at 
org.apache.streampark.console.core.task.FlinkAppHttpWatcher.lambda$watch$2(FlinkAppHttpWatcher.java:220)
           at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
           at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
           at java.base/java.lang.Thread.run(Thread.java:834)
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to