gaia's People
gaia's Issues
Server panicking when parameter isn't set
Query:
GET localhost:8080/packaging/by/
Terminal:
2024/04/07 11:27:13 http: panic serving 127.0.0.1:52564: runtime error: invalid memory address or nil pointer dereference
goroutine 19 [running]:
net/http.(*conn).serve.func1()
C:/Program Files/Go/src/net/http/server.go:1898 +0xbe
panic({0x3ab1a0?, 0x698420?})
C:/Program Files/Go/src/runtime/panic.go:770 +0x132
gaia/internal/inline-rejection/feature_handler.(*PackagingRestHandler).FetchPackagingByIdHandler(0xc000048178, {0x49f6d0, 0xc0000b20e0}, 0x25b093e0598?)
C:/Users/josti/Desktop/Projects/Gaia/internal/inline-rejection/feature_handler/packaging_handler.go:42 +0x68
net/http.HandlerFunc.ServeHTTP(0x6ac3a0?, {0x49f6d0?, 0xc0000b20e0?}, 0x2fdffa?)
C:/Program Files/Go/src/net/http/server.go:2166 +0x29
net/http.(*ServeMux).ServeHTTP(0x105879?, {0x49f6d0, 0xc0000b20e0}, 0xc0000a4240)
C:/Program Files/Go/src/net/http/server.go:2683 +0x1ad
net/http.serverHandler.ServeHTTP({0xc0000a2270?}, {0x49f6d0?, 0xc0000b20e0?}, 0x6?)
C:/Program Files/Go/src/net/http/server.go:3137 +0x8e
net/http.(*conn).serve(0xc00009e120, {0x49fdd0, 0xc0001868a0})
C:/Program Files/Go/src/net/http/server.go:2039 +0x5e8
created by net/http.(*Server).Serve in goroutine 1
C:/Program Files/Go/src/net/http/server.go:3285 +0x4b4
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.