Aspose Font

Hello,
I am trying aspose font for creating fonts in tomcat. I am facing this issue when a font is created the second time.

First time works, and if i run it in loop works fine. Running in multi thread or in tomcat throws the below exception.

Any help would be great.

java.lang.NullPointerException
com.aspose.font.FontEnvironment.lif(Unknown Source)
com.aspose.font.FontFactory.open(Unknown Source)
com.aspose.font.FontFactory.open(Unknown Source)
com.aspose.font.Font.open(Unknown Source)

A post was merged into an existing topic: Code works locally, errors on second pass in production environment