renzhuyan opened a new issue, #3446:
URL: https://github.com/apache/incubator-shenyu/issues/3446

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   _No response_
   
   ### Expected Behavior
   
   _No response_
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment
   
   ```markdown
   ShenYu version(s):2.5.0
   ```
   
   
   ### Debug logs
   
   2022-05-28 15:50:58 [shenyu-scheduled-upstream-task-1] INFO  
org.apache.shenyu.admin.service.manager.impl.LoadServiceDocEntryImpl - 
loadDocOnSelectorChanged 
serviceList=[{"contextPath":"/mvc","ip":"172.16.1.50","port":8289,"startupTime":1653724258052,"healthy":true,"enabled":true,"clusterName":"mvc"}]
   2022-05-28 15:51:00 [shenyu-scheduled-upstream-task-1] ERROR 
org.apache.shenyu.admin.service.manager.impl.DocManagerImpl - getDocInfo 
error={}
   java.lang.NullPointerException: null
        at 
org.apache.shenyu.admin.service.manager.impl.SwaggerDocParser.parseJson(SwaggerDocParser.java:59)
        at 
org.apache.shenyu.admin.service.manager.impl.DocManagerImpl.getDocInfo(DocManagerImpl.java:99)
        at 
org.apache.shenyu.admin.service.manager.impl.DocManagerImpl.addDocInfo(DocManagerImpl.java:81)
        at 
org.apache.shenyu.admin.service.manager.impl.ServiceDocManagerImpl.pullApiDocument(ServiceDocManagerImpl.java:72)
        at 
org.apache.shenyu.admin.service.manager.impl.ServiceDocManagerImpl.lambda$pullApiDocument$0(ServiceDocManagerImpl.java:53)
        at java.lang.Iterable.forEach(Iterable.java:75)
        at 
org.apache.shenyu.admin.service.manager.impl.ServiceDocManagerImpl.pullApiDocument(ServiceDocManagerImpl.java:52)
        at 
org.apache.shenyu.admin.service.manager.impl.LoadServiceDocEntryImpl.loadDocOnSelectorChanged(LoadServiceDocEntryImpl.java:82)
        at 
org.apache.shenyu.admin.listener.DataChangedEventDispatcher.onApplicationEvent(DataChangedEventDispatcher.java:66)
        at 
org.apache.shenyu.admin.listener.DataChangedEventDispatcher.onApplicationEvent(DataChangedEventDispatcher.java:39)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
        at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
        at 
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:403)
        at 
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:360)
        at 
org.apache.shenyu.admin.service.impl.UpstreamCheckService.updateSelectorHandler(UpstreamCheckService.java:310)
        at 
org.apache.shenyu.admin.service.impl.UpstreamCheckService.updateHandler(UpstreamCheckService.java:281)
        at 
org.apache.shenyu.admin.service.impl.UpstreamCheckService.lambda$submit$3(UpstreamCheckService.java:202)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266)
        at java.util.concurrent.FutureTask.run(FutureTask.java)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:750)
   
   ### Anything else?
   
   
![e28671a6bbc71ea1770ee4da521bbed](https://user-images.githubusercontent.com/21033025/170816214-889d74fb-4aa2-45b3-a185-e62da4d7ed4c.png)
   
![3b1f9631de93d3c038e36e670681a7b](https://user-images.githubusercontent.com/21033025/170816219-399b0d1e-55d8-474f-8efc-d3638832028a.png)
   


-- 
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