https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
r

Rafs

10/11/2023, 10:10 AM
I'm trying to run
verifyPaparazzi
on Github CI but I get a NPE on line 21 for the
Paparazzi
object only on CI. Works fine locally
y

yschimke

10/11/2023, 12:16 PM
I got this when I didn't have git LFS installed on CI
r

Rafs

10/11/2023, 12:26 PM
How did you manage to fix it. I'm using github actions
y

yschimke

10/11/2023, 12:30 PM
If it's this, the GitHub actions/checkout has an lfs Boolean flag
👍 1
s

saket

10/11/2023, 2:17 PM
can you share the stacktrace?
r

Rafs

10/11/2023, 2:20 PM
It worked after including the git LFS option with
actions/checkout
on github actions.
y

yschimke

10/11/2023, 2:21 PM
Bitmap factory or decoder returns null for bad images
s

saket

10/11/2023, 2:21 PM
@Rafs I'm curious what exactly is null at line 21
oh I see. maybe paparazzi could throw a better error if images can't be decoded instead of an NPE. @Rafs wanna file an issue?
r

Rafs

10/11/2023, 2:23 PM
Yeah sure I can file an issue