Hi all!
I'm trying to recreate the photography "vignetting" effect using a svg created in Illustrator but when I try to load it in setup() I receive the following error:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at processing.core.PShapeSVG$Gradient.<init>(PShapeSVG.java:1267)
at processing.core.PShapeSVG$RadialGradient.<init>(PShapeSVG.java:1328)
at processing.core.PShapeSVG.parseChild(PShapeSVG.java:370)
at processing.core.PShapeSVG.parseChildren(PShapeSVG.java:299)
at processing.core.PShapeSVG.<init>(PShapeSVG.java:288)
at processing.core.PShapeSVG.<init>(PShapeSVG.java:174)
at processing.core.PShapeSVG.<init>(PShapeSVG.java:166)
at processing.core.PApplet.loadShape(Unknown Source)
at processing.core.PApplet.loadShape(Unknown Source)
If I change the svg image, using other images that I've used before with success, I don't receive this error... any idea?