You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The same code will cause an error if the iris version number is replaced.if iris version is 12.2
1 is normal,but upgrade to 12.2.5 and above is abnormal,error mssage。The following is the error report。
The problem lies in ctx.Next()
Describe the bug
The same code will cause an error if the iris version number is replaced.if iris version is 12.2
1 is normal,but upgrade to 12.2.5 and above is abnormal,error mssage。The following is the error report。
The problem lies in ctx.Next()
project address: https://github.com/qiafan666/framework-go
To Reproduce
/hero.makeHandler.func2')
Trace: runtime error: invalid memory address or nil pointer dereference
D:/golang/src/runtime/panic.go:920
D:/golang/src/runtime/panic.go:261
D:/golang/src/runtime/signal_windows.go:364
D:/golang/go_WorkSpace/src/framework-go/controller/base_controller.go:29
D:/golang/src/reflect/value.go:596
D:/golang/src/reflect/value.go:380
D:/golang/go_WorkSpace/pkg/mod/github.com/kataras/iris/[email protected]/hero/handler.go:180
D:/golang/go_WorkSpace/pkg/mod/github.com/kataras/iris/[email protected]/context/context.go:683
D:/golang/go_WorkSpace/src/framework-go/middleware/portal_mid.go:62
D:/golang/go_WorkSpace/pkg/mod/github.com/kataras/iris/[email protected]/context/context.go:683
D:/golang/go_WorkSpace/pkg/mod/github.com/iris-contrib/middleware/[email protected]/cors.go:194
D:/golang/go_WorkSpace/src/framework-go/middleware/common.go:52
D:/golang/go_WorkSpace/pkg/mod/github.com/kataras/iris/[email protected]/context/context.go:683
D:/golang/go_WorkSpace/pkg/mod/github.com/qiafan666/[email protected]/middleware/defualt.go:43
D:/golang/go_WorkSpace/pkg/mod/github.com/kataras/iris/[email protected]/context/context.go:531
D:/golang/go_WorkSpace/pkg/mod/github.com/kataras/iris/[email protected]/core/router/handler.go:498
D:/golang/go_WorkSpace/pkg/mod/github.com/kataras/iris/[email protected]/core/router/router.go:101
D:/golang/go_WorkSpace/pkg/mod/github.com/kataras/iris/[email protected]/core/router/router.go:341
D:/golang/src/net/http/server.go:2938
D:/golang/src/net/http/server.go:2009
D:/golang/src/runtime/asm_amd64.s:1650
iris.Version
The text was updated successfully, but these errors were encountered: