Giter Site home page Giter Site logo

Comments (5)

neel1996 avatar neel1996 commented on May 27, 2024

@Nageswari-droid fix pushed as part of 8ff0196

from gitconvex.

Nageswari-droid avatar Nageswari-droid commented on May 27, 2024

Working!

from gitconvex.

Nageswari-droid avatar Nageswari-droid commented on May 27, 2024

push throws error while displaying un-pushed commits for a new repo

runtime error: invalid memory address or nil pointer dereference

goroutine 7 [running]:
runtime/debug.Stack(0x1, 0x0, 0x0)
        c:/go/src/runtime/debug/stack.go:24 +0xa5
runtime/debug.PrintStack()
        c:/go/src/runtime/debug/stack.go:16 +0x29
github.com/99designs/gqlgen/graphql.DefaultRecover(0xfa1ba0, 0xc000598930, 0xde4ea0, 0x136c4a0, 0x0, 0x0)
        C:/Users/neelu/go/pkg/mod/github.com/99designs/[email protected]/graphql/recovery.go:16 +0xae
github.com/99designs/gqlgen/graphql.(*OperationContext).Recover(0xc000092e00, 0xfa1ba0, 0xc000598930, 0xde4ea0, 0x136c4a0, 0x0, 0xcc93ef)
        C:/Users/neelu/go/pkg/mod/github.com/99designs/[email protected]/graphql/context_operation.go:110 +0x5d
github.com/neel1996/gitconvex-server/graph/generated.(*executionContext)._Query_gitUnPushedCommits.func1(0xc00020e710, 0xc00020e760, 0xc0005b1368)
        D:/bkup/GitConvex/gitconvex_v2.0.0/gitconvex/graph/generated/generated.go:3775 +0x85
panic(0xde4ea0, 0x136c4a0)
        c:/go/src/runtime/panic.go:969 +0x1c7
github.com/neel1996/gitconvex-server/git.UnPushedCommits.func1(0xc0002b2690, 0xc0002b2690, 0x0)
        D:/bkup/GitConvex/gitconvex_v2.0.0/gitconvex/git/git_unpushed_commits.go:74 +0x4f
github.com/go-git/go-git/v5/plumbing/object.(*commitPostIterator).ForEach(0xc0001beee0, 0xc0001bef00, 0xf9e4a0, 0xc0001beee0)
        C:/Users/neelu/go/pkg/mod/github.com/go-git/go-git/[email protected]/plumbing/object/commit_walker.go:173 +0x69
github.com/neel1996/gitconvex-server/git.UnPushedCommits(0xc000598ab0, 0xc0005b10e8, 0xd, 0xeac3c6, 0x1, 0xc0001d0b1f)
        D:/bkup/GitConvex/gitconvex_v2.0.0/gitconvex/git/git_unpushed_commits.go:73 +0x2fc
github.com/neel1996/gitconvex-server/graph.(*queryResolver).GitUnPushedCommits(0xc000686280, 0xfa1ba0, 0xc000598930, 0xc0001d0ac6, 0x8, 0xc0001d0add, 0x30, 0xc0001d0b1f, 0x6, 0xde0840, ...)
        D:/bkup/GitConvex/gitconvex_v2.0.0/gitconvex/graph/schema.resolvers.go:296 +0x22d
github.com/neel1996/gitconvex-server/graph/generated.(*executionContext)._Query_gitUnPushedCommits.func2(0xfa1ba0, 0xc000598930, 0x20, 0xe45960, 0xc00020e701, 0xc0001be160)
        D:/bkup/GitConvex/gitconvex_v2.0.0/gitconvex/graph/generated/generated.go:3797 +0x228
github.com/99designs/gqlgen/graphql/executor.processExtensions.func3(0xfa1ba0, 0xc000598930, 0xc0001be160, 0xc000598960, 0xc000598990, 0x0, 0x0)
        C:/Users/neelu/go/pkg/mod/github.com/99designs/[email protected]/graphql/executor/extensions.go:62 +0x42
github.com/neel1996/gitconvex-server/graph/generated.(*executionContext)._Query_gitUnPushedCommits(0xc00020e710, 0xfa1ba0, 0xc000598900, 0xc0000ce880, 0x0, 0x0, 0x0, 0x0, 0x0)
        D:/bkup/GitConvex/gitconvex_v2.0.0/gitconvex/graph/generated/generated.go:3795 +0x2d9
github.com/neel1996/gitconvex-server/graph/generated.(*executionContext)._Query.func10(0x0, 0x0)
        D:/bkup/GitConvex/gitconvex_v2.0.0/gitconvex/graph/generated/generated.go:6416 +0xaf
github.com/99designs/gqlgen/graphql.(*FieldSet).Dispatch(0xc00050c960)
        C:/Users/neelu/go/pkg/mod/github.com/99designs/[email protected]/graphql/fieldset.go:34 +0x1ed
github.com/neel1996/gitconvex-server/graph/generated.(*executionContext)._Query(0xc00020e710, 0xfa1ba0, 0xc0005988d0, 0xc00020e3f0, 0x1, 0x1, 0xc0005988d0, 0x30)
        D:/bkup/GitConvex/gitconvex_v2.0.0/gitconvex/graph/generated/generated.go:6486 +0x452
github.com/neel1996/gitconvex-server/graph/generated.(*executableSchema).Exec.func1(0xfa1ba0, 0xc0005988d0, 0x10)
        D:/bkup/GitConvex/gitconvex_v2.0.0/gitconvex/graph/generated/generated.go:921 +0x85
github.com/99designs/gqlgen/graphql/executor.(*Executor).DispatchOperation.func1.1.1(0xfa1ba0, 0xc0005988d0, 0xc00020e720)
        C:/Users/neelu/go/pkg/mod/github.com/99designs/[email protected]/graphql/executor/executor.go:105 +0x4a
github.com/99designs/gqlgen/graphql/executor.processExtensions.func2(0xfa1ba0, 0xc0005988d0, 0xc00020e720, 0xf808d0)
        C:/Users/neelu/go/pkg/mod/github.com/99designs/[email protected]/graphql/executor/extensions.go:59 +0x42
github.com/99designs/gqlgen/graphql/executor.(*Executor).DispatchOperation.func1.1(0xfa1ba0, 0xc000598870, 0xc000598840)
        C:/Users/neelu/go/pkg/mod/github.com/99designs/[email protected]/graphql/executor/executor.go:104 +0x131
github.com/99designs/gqlgen/graphql/handler/transport.POST.Do(0xf9fce0, 0xc0004cc1c0, 0xc000092d00, 0xf9e220, 0xc0000aeab0)
        C:/Users/neelu/go/pkg/mod/github.com/99designs/[email protected]/graphql/handler/transport/http_post.go:53 +0x3c8
github.com/99designs/gqlgen/graphql/handler.(*Server).ServeHTTP(0xc0002255a0, 0xf9fce0, 0xc0004cc1c0, 0xc000092d00)
        C:/Users/neelu/go/pkg/mod/github.com/99designs/[email protected]/graphql/handler/server.go:115 +0x21b
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0002c6600, 0xf9fce0, 0xc0004cc1c0, 0xc000092a00)
        C:/Users/neelu/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:210 +0xe5
github.com/rs/cors.(*Cors).Handler.func1(0xf9fce0, 0xc0004cc1c0, 0xc000092a00)
        C:/Users/neelu/go/pkg/mod/github.com/rs/[email protected]/cors.go:219 +0x1c6
net/http.HandlerFunc.ServeHTTP(0xc0002257e0, 0xf9fce0, 0xc0004cc1c0, 0xc000092a00)
        c:/go/src/net/http/server.go:2042 +0x4b
net/http.serverHandler.ServeHTTP(0xc0000c01c0, 0xf9fce0, 0xc0004cc1c0, 0xc000092a00)
        c:/go/src/net/http/server.go:2843 +0xaa
net/http.(*conn).serve(0xc0001030e0, 0xfa1ae0, 0xc0002cb880)
        c:/go/src/net/http/server.go:1925 +0x8ad
created by net/http.(*Server).Serve
        c:/go/src/net/http/server.go:2969 +0x36d

from gitconvex.

neel1996 avatar neel1996 commented on May 27, 2024

@Nageswari-droid fix pushed as part of neel1996/gitconvex-server@be7a403

from gitconvex.

neel1996 avatar neel1996 commented on May 27, 2024

additional fix applied -> 5d6cc13

from gitconvex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.