You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/31 10:25:16 UTC

[GitHub] [apisix] hauer9 opened a new issue #3171: runtime error(ctx.lua): bad argument #2 to 'setmetatable' (nil or table expected)

hauer9 opened a new issue #3171:
URL: https://github.com/apache/apisix/issues/3171


   ### Issue description
   
   I had the same error as issue #3079 while debugging my program, and then I fixed the bug with pr #3105, but this error happened.
   
   ![image](https://user-images.githubusercontent.com/38620097/103406321-45e86300-4b95-11eb-9490-c8eb5ca06a55.png)
   ![image](https://user-images.githubusercontent.com/38620097/103406336-51d42500-4b95-11eb-8c07-5493913ce9bd.png)
   
   ![image](https://user-images.githubusercontent.com/38620097/103406295-310bcf80-4b95-11eb-9e82-1ae769721914.png)
   
   
   ### Environment
   
   * apisix version: 2.1
   * OS: Linux
   * Nginx version: openresty / 1.19.3.1
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #3171: runtime error(ctx.lua): bad argument #2 to 'setmetatable' (nil or table expected)

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3171:
URL: https://github.com/apache/apisix/issues/3171#issuecomment-753787976


   Can you confirm if this change: https://github.com/apache/apisix/pull/3182/files solve your problem?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #3171: runtime error(ctx.lua): bad argument #2 to 'setmetatable' (nil or table expected)

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3171:
URL: https://github.com/apache/apisix/issues/3171#issuecomment-753838842


   We will get it merged once @membphis is back.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] Hcreak commented on issue #3171: runtime error(ctx.lua): bad argument #2 to 'setmetatable' (nil or table expected)

Posted by GitBox <gi...@apache.org>.
Hcreak commented on issue #3171:
URL: https://github.com/apache/apisix/issues/3171#issuecomment-753816647


   @spacewander 
   I want to know will this bug be corrected in the next release?
   I’m suffering from this problem now. L O L~


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #3171: runtime error(ctx.lua): bad argument #2 to 'setmetatable' (nil or table expected)

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3171:
URL: https://github.com/apache/apisix/issues/3171#issuecomment-752919206


   Will you add a log in ctx.lua:83 to see what is passed to setmetatable?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] hauer9 commented on issue #3171: runtime error(ctx.lua): bad argument #2 to 'setmetatable' (nil or table expected)

Posted by GitBox <gi...@apache.org>.
hauer9 commented on issue #3171:
URL: https://github.com/apache/apisix/issues/3171#issuecomment-753798915


   Yes, thx.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] hauer9 commented on issue #3171: runtime error(ctx.lua): bad argument #2 to 'setmetatable' (nil or table expected)

Posted by GitBox <gi...@apache.org>.
hauer9 commented on issue #3171:
URL: https://github.com/apache/apisix/issues/3171#issuecomment-753739599


   ![image](https://user-images.githubusercontent.com/38620097/103498822-fea5ef00-4e80-11eb-9ed5-5e8b8a32008d.png)
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #3171: runtime error(ctx.lua): bad argument #2 to 'setmetatable' (nil or table expected)

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3171:
URL: https://github.com/apache/apisix/issues/3171


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org