[ 
https://issues.apache.org/jira/browse/THRIFT-6066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

zhengyan zhang updated THRIFT-6066:
-----------------------------------
    Description: 
[Avoid dispatching to parent when not needed in c_glib implementation by 
mhlakhani · Pull Request #3149 · apache/thrift · 
GitHub|https://github.com/apache/thrift/pull/3149]

After a modification, the value of dispatch_processor_class->dispatch_call is 
assigned only when extends_service is true. If the current service is 
BaseService (usually, there is only one service in a small project), an error 
occurs when thrift_dispatch_processor_process is executed because 
dispatch_processor_class->dispatch_call is nullptr. 

  was:
[Avoid dispatching to parent when not needed in c_glib implementation by 
mhlakhani · Pull Request #3149 · apache/thrift · 
GitHub|https://github.com/apache/thrift/pull/3149]

After a modification, the value of dispatch_processor_class->dispatch_call is 
assigned only when extends_service is true. If the current service is 
BaseService (usually, there is only one service in a small project), an error 
occurs when thrift_dispatch_processor_process is executed because 
dispatch_processor_class->dispatch_call is nullptr. 

!image-2026-06-06-14-50-45-235.png!


> An error occurs when thrift_dispatch_processor_process is executed because 
> dispatch_processor_class->dispatch_call is nullptr
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-6066
>                 URL: https://issues.apache.org/jira/browse/THRIFT-6066
>             Project: Thrift
>          Issue Type: Bug
>            Reporter: zhengyan zhang
>            Priority: Major
>
> [Avoid dispatching to parent when not needed in c_glib implementation by 
> mhlakhani · Pull Request #3149 · apache/thrift · 
> GitHub|https://github.com/apache/thrift/pull/3149]
> After a modification, the value of dispatch_processor_class->dispatch_call is 
> assigned only when extends_service is true. If the current service is 
> BaseService (usually, there is only one service in a small project), an error 
> occurs when thrift_dispatch_processor_process is executed because 
> dispatch_processor_class->dispatch_call is nullptr. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to