Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: panic when function args list is empty #67

Closed
AlexStocks opened this issue Jun 4, 2019 · 2 comments · Fixed by #98
Closed

Fix: panic when function args list is empty #67

AlexStocks opened this issue Jun 4, 2019 · 2 comments · Fixed by #98
Labels
bug Something isn't working

Comments

@AlexStocks
Copy link
Contributor

image
It should not panic when the function args list is empty.

@fangyincheng
Copy link
Contributor

this issue include these cases:

  1. args list is empty
  2. returns list is empty
  3. arg is nil
  4. return nil(eg: need []interface{}{}, but return nil)

@pantianying
Copy link
Member

test code:

	println("\n\n\nstart to test dubbo - GetUsers")
	ret1, err := conMap["com.ikurento.user.UserProvider"].GetRPCService().(*UserProvider).QueryDeviceStatus()
	if err != nil {
		panic(err)
	}
	println("response result: %v", ret1)

@hxmhlt hxmhlt added the bug Something isn't working label Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants