You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/28 03:28:51 UTC
[GitHub] [dubbo] vio-lin opened a new issue #8942: use jdk compiler when failed with error can not see real error in message
vio-lin opened a new issue #8942:
URL: https://github.com/apache/dubbo/issues/8942
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
- [x] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: branch master 2021/09/28
* Operating System version: win 10
* Java version: jdk 8
### Steps to reproduce this issue
1. use JdkCompilerTest unitTest
2. add a method to compile a class with error code
3. find error message in console
Pls. provide [GitHub address] to reproduce this issue.
### Expected Result
message should contain some error message to fix the compile error
### Actual Result
contain string that point to object address
```
java.lang.IllegalStateException: Compilation failed. class: classTemp.DemoServiceGrpc, diagnostics: javax.tools.DiagnosticCollector@7848321e
at com.ctrip.framework.cdubbo.internal.compiler.JdkCompiler.doCompile(JdkCompiler.java:89)
at org.apache.dubbo.common.compiler.support.AbstractCompiler.compile(AbstractCompiler.java:58)
at com.ctrip.framework.cdubbo.spring.bean.GrpcServiceBeanDefinitionRegistry.compile(GrpcServiceBeanDefinitionRegistry.java:64)
at com.ctrip.framework.cdubbo.spring.bean.GrpcServiceBeanDefinitionRegistry.processGrpcBean(GrpcServiceBeanDefinitionRegistry.java:43)
at com.ctrip.framework.cdubbo.spring.bean.CDubboBeanDefinitionRegistry.postProcessBeanDefinitionRegistry(CDubboBeanDefinitionRegistry.java:58)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:524)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
```
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] CrazyHZM commented on issue #8942: use jdk compiler when failed with error can not see real error in message
Posted by GitBox <gi...@apache.org>.
CrazyHZM commented on issue #8942:
URL: https://github.com/apache/dubbo/issues/8942#issuecomment-931097389
Resolved in #8943
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo] CrazyHZM closed issue #8942: use jdk compiler when failed with error can not see real error in message
Posted by GitBox <gi...@apache.org>.
CrazyHZM closed issue #8942:
URL: https://github.com/apache/dubbo/issues/8942
--
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: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org