Comments (5)
@Nageswari-droid fix pushed as part of 8ff0196
from gitconvex.
Working!
from gitconvex.
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.
@Nageswari-droid fix pushed as part of neel1996/gitconvex-server@be7a403
from gitconvex.
additional fix applied -> 5d6cc13
from gitconvex.
Related Issues (20)
- Cloned repo directory issue HOT 1
- Remote repo count error
- Incorrect message in file view
- Push operation failed HOT 1
- Staging removed files fails
- Delay in branch checkout view
- UI error in file view section
- Push to remote option disabled for new local branch
- Delay on loading branches in repository.
- UI error for empty files in file explorer
- Error in newly initialized git repo. HOT 2
- Commit log error in new repo
- Installation via brew produce: "Errno::EISDIR: Is a directory - read" HOT 1
- Docker image HOT 4
- Build Project from DockerFile doesn't work
- furry
- ok now
- view
- check issue
- try this
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitconvex.