qicz opened a new issue #2184:
URL: https://github.com/apache/incubator-shenyu/issues/2184
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
run the "shenyu-examples-http", the path process is a fault.
### Expected Behavior
the URI path is invalid.
### Steps To Reproduce
_No response_
### Environment
```markdown
ShenYu version(s): 2.4.1-SNAPSHOT
```
### Debug logs
Exception in thread "shenyu-spring-mvc-client-thread-pool-0"
java.nio.file.InvalidPathException: Illegal char <*> at index 14:
/\/http\/test/**
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.nio.file.Paths.get(Paths.java:84)
at
org.apache.shenyu.client.springmvc.init.SpringMvcClientBeanPostProcessor.buildMetaDataDTO(SpringMvcClientBeanPostProcessor.java:127)
at
org.apache.shenyu.client.springmvc.init.SpringMvcClientBeanPostProcessor.lambda$postProcessAfterInitialization$0(SpringMvcClientBeanPostProcessor.java:103)
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:748)
Exception in thread "shenyu-spring-mvc-client-thread-pool-1"
java.nio.file.InvalidPathException: Illegal char <*> at index 21:
/\/http\/order\/path/**/name
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.nio.file.Paths.get(Paths.java:84)
at
org.apache.shenyu.client.springmvc.init.SpringMvcClientBeanPostProcessor.buildMetaDataDTO(SpringMvcClientBeanPostProcessor.java:127)
at
org.apache.shenyu.client.springmvc.init.SpringMvcClientBeanPostProcessor.lambda$postProcessAfterInitialization$1(SpringMvcClientBeanPostProcessor.java:112)
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:748)
Exception in thread "shenyu-spring-mvc-client-thread-pool-2"
java.nio.file.InvalidPathException: Illegal char <*> at index 21:
/\/http\/order\/path/**
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.nio.file.Paths.get(Paths.java:84)
at
org.apache.shenyu.client.springmvc.init.SpringMvcClientBeanPostProcessor.buildMetaDataDTO(SpringMvcClientBeanPostProcessor.java:127)
at
org.apache.shenyu.client.springmvc.init.SpringMvcClientBeanPostProcessor.lambda$postProcessAfterInitialization$1(SpringMvcClientBeanPostProcessor.java:112)
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:748)
Exception in thread "shenyu-spring-mvc-client-thread-pool-3"
java.nio.file.InvalidPathException: Illegal char <*> at index 17:
/\/http\/request/**
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.nio.file.Paths.get(Paths.java:84)
at
org.apache.shenyu.client.springmvc.init.SpringMvcClientBeanPostProcessor.buildMetaDataDTO(SpringMvcClientBeanPostProcessor.java:127)
at
org.apache.shenyu.client.springmvc.init.SpringMvcClientBeanPostProcessor.lambda$postProcessAfterInitialization$0(SpringMvcClientBeanPostProcessor.java:103)
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:748)
### Anything else?
_No response_
--
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]