John, I'm not sure about thread safe manner you have mentioned. How can I make it thread safe? I'm running only this unit test so I think it is not a problem with parallel test running.
On Wed, Jun 4, 2014 at 9:20 AM, John Hewson <[email protected]> wrote: > It’s probably an issue with your unit test, are you running it in parallel > on in some non-thread-safe manner? > > -- John > > On 3 Jun 2014, at 10:46, DImuthu Upeksha <[email protected]> > wrote: > > > Hi Tilman, > > > > Thank you for your quick response. I added jar to classpath but it gave > > same error, Then I updated my pom file with this > > https://code.google.com/p/jbig2-imageio/wiki/UsingMaven. Now exception > > didn't appear but it gives following error message > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger info > > > > INFO: JBIG2ReadParam not specified. Default will be used. > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger info > > > > INFO: Globals not set. > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger error > > > > SEVERE: No global segment added so far. > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger error > > > > SEVERE: No global segment added so far. > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger error > > > > SEVERE: No global segment added so far. > > > > Jun 03, 2014 11:12:33 PM com.levigo.jbig2.util.log.JDKLogger error > > > > SEVERE: No global segment added so far. > > > > > > On Wed, Jun 4, 2014 at 1:23 AM, Tilman Hausherr <[email protected]> > > wrote: > > > >> Put the levigo JBIG2 decoder in your class path > >> https://code.google.com/p/jbig2-imageio/ > >> > >> Tilman > >> > >> Am 03.06.2014 19:09, schrieb DImuthu Upeksha: > >> > >> [1]https://www.dropbox.com/s/ywscxm2n8pubat5/pdf3.pdf > >>> > >>> SEVERE: error while creating a xobject > >>> > >>> org.apache.pdfbox.filter.MissingImageReaderException: Cannot read JBIG2 > >>> image: jbig2-imageio is not installed > >>> > >> > >> > > > > > > -- > > Regards > > > > W.Dimuthu Upeksha > > Undergraduate > > Department of Computer Science And Engineering > > > > University of Moratuwa, Sri Lanka > > -- Regards W.Dimuthu Upeksha Undergraduate Department of Computer Science And Engineering University of Moratuwa, Sri Lanka
