grpc-java-contrib icon indicating copy to clipboard operation
grpc-java-contrib copied to clipboard

Invalid output file name for insertion point during debug

Open jvmlet opened this issue 4 years ago • 2 comments

I'm on latest version 1.2.0, see this image

The next call to Files.createParentDirs(outFile); at line 167 fails with

java.io.IOException: The filename, directory name, or volume label syntax is incorrect

jvmlet avatar Sep 12 '21 06:09 jvmlet

What OS are you using? Cursory searching of that error suggests Windows.

rmichela avatar Sep 12 '21 20:09 rmichela

It's windows indeed, but the implementation is buggy anyway. getNameWithoutExtension cuts the full path and dot character before java is missing from output file name. So, while it might not throw the exception in Linux environment, it behaves not the way it should....

jvmlet avatar Sep 13 '21 03:09 jvmlet