java.lang.reflect.InvocationTargetException

ICEsoft JIRA Issue Tracker | Arran Mccullough | 8 months ago
  1. 0

    A similar issue is reported in PDF-727. With the same PDF file the following error stack trace is thrown: WARNING: Problem loading JBIG2 image using Levigo: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.icepdf.core.pobjects.ImageUtility.proJbig2Decode(ImageUtility.java:870) at org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:724) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:351) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:293) at org.icepdf.core.pobjects.graphics.SmoothScaledImageReference.call(SmoothScaledImageReference.java:99) at org.icepdf.core.pobjects.graphics.SmoothScaledImageReference.call(SmoothScaledImageReference.java:40) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Can't instantiate segment class at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:405) at com.levigo.jbig2.JBIG2Page.createNormalPage(JBIG2Page.java:182) at com.levigo.jbig2.JBIG2Page.createPage(JBIG2Page.java:154) at com.levigo.jbig2.JBIG2Page.composePageBitmap(JBIG2Page.java:145) at com.levigo.jbig2.JBIG2Page.getBitmap(JBIG2Page.java:125) at com.levigo.jbig2.JBIG2ImageReader.read(JBIG2ImageReader.java:223) at javax.imageio.ImageReader.read(ImageReader.java:940) ... 14 more Caused by: java.lang.IllegalStateException: already have a ValueNode for 0/1/0/3 at com.levigo.jbig2.decoder.huffman.InternalNode.append(InternalNode.java:81) at com.levigo.jbig2.decoder.huffman.HuffmanTable.initTree(HuffmanTable.java:68) at com.levigo.jbig2.decoder.huffman.FixedSizeTable.<init>(FixedSizeTable.java:30) at com.levigo.jbig2.segments.TextRegion.symbolIDCodeLengths(TextRegion.java:892) at com.levigo.jbig2.segments.TextRegion.computeSymbolCodeLength(TextRegion.java:255) at com.levigo.jbig2.segments.TextRegion.parseHeader(TextRegion.java:153) at com.levigo.jbig2.segments.TextRegion.init(TextRegion.java:901) at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:400) ... 20 more The PDF content seems to be rendering fine though.

    ICEsoft JIRA Issue Tracker | 8 months ago | Arran Mccullough
    java.lang.reflect.InvocationTargetException
  2. 0

    A similar issue is reported in PDF-727. With the same PDF file the following error stack trace is thrown: WARNING: Problem loading JBIG2 image using Levigo: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.icepdf.core.pobjects.ImageUtility.proJbig2Decode(ImageUtility.java:870) at org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:724) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:351) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:293) at org.icepdf.core.pobjects.graphics.SmoothScaledImageReference.call(SmoothScaledImageReference.java:99) at org.icepdf.core.pobjects.graphics.SmoothScaledImageReference.call(SmoothScaledImageReference.java:40) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Can't instantiate segment class at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:405) at com.levigo.jbig2.JBIG2Page.createNormalPage(JBIG2Page.java:182) at com.levigo.jbig2.JBIG2Page.createPage(JBIG2Page.java:154) at com.levigo.jbig2.JBIG2Page.composePageBitmap(JBIG2Page.java:145) at com.levigo.jbig2.JBIG2Page.getBitmap(JBIG2Page.java:125) at com.levigo.jbig2.JBIG2ImageReader.read(JBIG2ImageReader.java:223) at javax.imageio.ImageReader.read(ImageReader.java:940) ... 14 more Caused by: java.lang.IllegalStateException: already have a ValueNode for 0/1/0/3 at com.levigo.jbig2.decoder.huffman.InternalNode.append(InternalNode.java:81) at com.levigo.jbig2.decoder.huffman.HuffmanTable.initTree(HuffmanTable.java:68) at com.levigo.jbig2.decoder.huffman.FixedSizeTable.<init>(FixedSizeTable.java:30) at com.levigo.jbig2.segments.TextRegion.symbolIDCodeLengths(TextRegion.java:892) at com.levigo.jbig2.segments.TextRegion.computeSymbolCodeLength(TextRegion.java:255) at com.levigo.jbig2.segments.TextRegion.parseHeader(TextRegion.java:153) at com.levigo.jbig2.segments.TextRegion.init(TextRegion.java:901) at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:400) ... 20 more The PDF content seems to be rendering fine though.

    ICEsoft JIRA Issue Tracker | 8 months ago | Arran Mccullough
    java.lang.reflect.InvocationTargetException
  3. 0

    The memory increases after each conversion, until Tomcat finally crashes. Meanwhile logs files are filled with this stacktraces repeated again and again: 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger info INFO: JBIG2ReadParam not specified. Default will be used. 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger info INFO: Globals not set. 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger error SEVERE: No global segment added so far. 14-jul-2015 13:38:56 org.icepdf.core.pobjects.ImageUtility jbig2Decode ADVERTENCIA: Problem loading JBIG2 image: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.icepdf.core.pobjects.ImageUtility.jbig2Decode(ImageUtility.java:727) at org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:630) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:348) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:291) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:74) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:40) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at org.jpedal.jbig2.segment.region.text.TextRegionSegment.readSegment(TextRegionSegment.java:112) at org.jpedal.jbig2.decoders.JBIG2StreamDecoder.readSegments(JBIG2StreamDecoder.java:432) at org.jpedal.jbig2.decoders.JBIG2StreamDecoder.decodeJBIG2(JBIG2StreamDecoder.java:174) at org.jpedal.jbig2.JBIG2Decoder.decodeJBIG2(JBIG2Decoder.java:148) ... 14 more 14-jul-2015 13:38:56 org.icepdf.core.util.LazyObjectLoader loadObject SEVERE: Error loading object instance: 611 0R java.io.IOException: Controlador no válido at java.io.RandomAccessFile.getFilePointer(Native Method) at org.icepdf.core.io.RandomAccessFileInputStream.getAbsolutePosition(RandomAccessFileInputStream.java:125) at org.icepdf.core.util.LazyObjectLoader.loadObject(LazyObjectLoader.java:70) at org.icepdf.core.util.Library.getObject(Library.java:156) at org.icepdf.core.util.Library.getObject(Library.java:206) at org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:608) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:348) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:291) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:74) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:40) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 14-jul-2015 13:38:56 org.icepdf.core.pobjects.ImageStream jbig2Decode ADVERTENCIA: Problem loading JBIG2 imageusing Levigo: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.icepdf.core.pobjects.ImageUtility.proJbig2Decode(ImageUtility.java:684) at org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:624) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:348) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:291) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:74) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:40) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: Can't instantiate segment class at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:405) at com.levigo.jbig2.JBIG2Page.createNormalPage(JBIG2Page.java:182) at com.levigo.jbig2.JBIG2Page.createPage(JBIG2Page.java:154) at com.levigo.jbig2.JBIG2Page.composePageBitmap(JBIG2Page.java:145) at com.levigo.jbig2.JBIG2Page.getBitmap(JBIG2Page.java:125) at com.levigo.jbig2.JBIG2ImageReader.read(JBIG2ImageReader.java:223) at javax.imageio.ImageReader.read(Unknown Source) ... 14 more Caused by: java.lang.NullPointerException at com.levigo.jbig2.segments.TextRegion.initSymbols(TextRegion.java:817) at com.levigo.jbig2.segments.TextRegion.getSymbols(TextRegion.java:249) at com.levigo.jbig2.segments.TextRegion.parseHeader(TextRegion.java:151) at com.levigo.jbig2.segments.TextRegion.init(TextRegion.java:901) at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:400) ... 20 more 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger info INFO: JBIG2ReadParam not specified. Default will be used. 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger info INFO: Globals not set. 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger error SEVERE: No global segment added so far. 14-jul-2015 13:38:56 org.icepdf.core.pobjects.ImageStream jbig2Decode ADVERTENCIA: Problem loading JBIG2 imageusing Levigo: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.icepdf.core.pobjects.ImageUtility.proJbig2Decode(ImageUtility.java:684) at org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:624) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:348) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:291) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:74) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:40) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: Can't instantiate segment class at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:405) at com.levigo.jbig2.JBIG2Page.createNormalPage(JBIG2Page.java:182) at com.levigo.jbig2.JBIG2Page.createPage(JBIG2Page.java:154) at com.levigo.jbig2.JBIG2Page.composePageBitmap(JBIG2Page.java:145) at com.levigo.jbig2.JBIG2Page.getBitmap(JBIG2Page.java:125) at com.levigo.jbig2.JBIG2ImageReader.read(JBIG2ImageReader.java:223) at javax.imageio.ImageReader.read(Unknown Source) ... 14 more Caused by: java.lang.NullPointerException at com.levigo.jbig2.segments.TextRegion.initSymbols(TextRegion.java:817) at com.levigo.jbig2.segments.TextRegion.getSymbols(TextRegion.java:249) at com.levigo.jbig2.segments.TextRegion.parseHeader(TextRegion.java:151) at com.levigo.jbig2.segments.TextRegion.init(TextRegion.java:901) at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:400) ... 20 more At the end, Tomcat crashes and paints this log: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dbb843d, pid=6164, tid=2984 # # JRE version: 6.0_45-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x38843d] # # An error report file with more information is saved as: # C:\indenova\tomcat\bin\hs_err_pid6164.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # hs_err_pid6164.log: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dbb843d, pid=6164, tid=2984 # # JRE version: 6.0_45-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x38843d] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x00000000003d7000): GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=2984] siginfo: ExceptionCode=0xc0000005, reading address 0x00000000000001b0 Registers: RAX=0x0000000000000198, RBX=0x0000000778153390, RCX=0x0000000000000003, RDX=0x0000000000000001 RSP=0x000000000b09f7a0, RBP=0x0000000778153390, RSI=0x000000000b09f970, RDI=0x000000000b09f970 R8 =0x00000000001ac019, R9 =0x0000000006b20000, R10=0x00000000003d0388, R11=0x00000000001abff5 R12=0x00000000003d0410, R13=0x00000000001ac801, R14=0x0000000000000000, R15=0x0000000000020000 RIP=0x000000006dbb843d, EFLAGS=0x0000000000010202 Top of Stack: (sp=0x000000000b09f7a0) 0x000000000b09f7a0: 00025fe100000db4 00000000003d2e08 0x000000000b09f7b0: 000000000b09f970 00000000003d2e00 0x000000000b09f7c0: 000000000b3c6de0 00025fe100000db4 0x000000000b09f7d0: 00025fe200000db4 000007fefea01132 0x000000000b09f7e0: 000000006de35040 0000000000000000 0x000000000b09f7f0: 000000000042f950 00000000003d0170 0x000000000b09f800: 00000000003d05d8 000000006da1ce01 0x000000000b09f810: 0000000742950000 0000000017ad6000 0x000000000b09f820: 0000000777b65760 000000000001d514 0x000000000b09f830: 00000000003d0388 00000000003d2e00 0x000000000b09f840: 00000000003d04c8 0000000777bf57c8 0x000000000b09f850: 000000000b6dfb88 000000000b09f970 0x000000000b09f860: 00025fe200000db4 000000006dbb6839 0x000000000b09f870: 000000000b09f9d0 000000006dbb4b7a 0x000000000b09f880: 0000000777b65760 000000000001d514 0x000000000b09f890: 000000000b09f9d0 0000000776165470 Instructions: (pc=0x000000006dbb843d) 0x000000006dbb841d: 18 48 8b f1 74 16 8b 45 08 0f b6 0d 13 0e 38 00 0x000000006dbb842d: 48 d3 e0 48 03 05 01 0e 38 00 eb 04 48 8b 45 08 0x000000006dbb843d: 44 8b 40 18 4c 8d 48 10 41 8b c8 c1 f9 03 45 85 0x000000006dbb844d: c0 7f 5d 45 85 c0 79 47 84 d2 b9 0c 00 00 00 b8 Register to memory mapping: RAX=0x0000000000000198 is an unknown value RBX=0x0000000778153390 is an oop com.levigo.jbig2.SegmentHeader - klass: 'com/levigo/jbig2/SegmentHeader' RCX=0x0000000000000003 is an unknown value RDX=0x0000000000000001 is an unknown value RSP=0x000000000b09f7a0 is an unknown value RBP=0x0000000778153390 is an oop com.levigo.jbig2.SegmentHeader - klass: 'com/levigo/jbig2/SegmentHeader' RSI=0x000000000b09f970 is an unknown value RDI=0x000000000b09f970 is an unknown value R8 =0x00000000001ac019 is an unknown value R9 =0x0000000006b20000 is an unknown value R10=0x00000000003d0388 is an unknown value R11=0x00000000001abff5 is an unknown value R12=0x00000000003d0410 is an unknown value R13=0x00000000001ac801 is an unknown value R14=0x0000000000000000 is an unknown value R15=0x0000000000020000 is an unknown value Stack: [0x0000000000000000,0x0000000000000000], sp=0x000000000b09f7a0, free space=180861k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x38843d] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x000000000f11a800 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=7112, stack(0x0000000000ca0000,0x0000000000da0000)] 0x000000000d7f5800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4940, stack(0x0000000017a70000,0x0000000017b70000)] 0x000000000d7f5000 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=1416, stack(0x0000000018f70000,0x0000000019070000)] 0x000000000d7f4000 JavaThread "Thread-60" daemon [_thread_in_native, id=7536, stack(0x0000000018e70000,0x0000000018f70000)] 0x000000000d7f3800 JavaThread "OfficeProcessThread-5" daemon [_thread_blocked, id=6632, stack(0x0000000018d70000,0x0000000018e70000)] 0x000000000d7f2800 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=5176, stack(0x0000000018c70000,0x0000000018d70000)] 0x000000000d32d000 JavaThread "Thread-58" daemon [_thread_in_native, id=5752, stack(0x0000000018b70000,0x0000000018c70000)] 0x000000000d7f2000 JavaThread "Thread-57" daemon [_thread_blocked, id=3840, stack(0x0000000018a70000,0x0000000018b70000)] 0x000000000d7f1000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5460, stack(0x0000000018970000,0x0000000018a70000)] 0x000000000d7f0800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=5632, stack(0x0000000018870000,0x0000000018970000)] 0x000000000d7ef800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=3796, stack(0x0000000018770000,0x0000000018870000)] 0x000000000d7ef000 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=4688, stack(0x0000000018670000,0x0000000018770000)] 0x000000000d7ee800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=5396, stack(0x0000000018570000,0x0000000018670000)] 0x000000000f121000 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=8104, stack(0x0000000018470000,0x0000000018570000)] 0x000000000f120800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=4984, stack(0x0000000018370000,0x0000000018470000)] 0x000000000f11f800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=5864, stack(0x0000000018270000,0x0000000018370000)] 0x000000000f11f000 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=5668, stack(0x0000000018170000,0x0000000018270000)] 0x000000000f11e000 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=5480, stack(0x0000000018070000,0x0000000018170000)] 0x000000000f11d800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=7860, stack(0x0000000017f70000,0x0000000018070000)] 0x000000000f11d000 JavaThread "OfficeProcessThread-4" daemon [_thread_blocked, id=6996, stack(0x0000000017e70000,0x0000000017f70000)] 0x000000000f11c000 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=4036, stack(0x0000000017d70000,0x0000000017e70000)] 0x000000000f11b800 JavaThread "Thread-44" daemon [_thread_in_native, id=5124, stack(0x0000000017c70000,0x0000000017d70000)] 0x000000000f11a000 JavaThread "OfficeProcessThread-3" daemon [_thread_blocked, id=5432, stack(0x0000000017970000,0x0000000017a70000)] 0x000000000d332800 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=2928, stack(0x0000000017870000,0x0000000017970000)] 0x000000000d332000 JavaThread "Thread-42" daemon [_thread_in_native, id=8020, stack(0x0000000017770000,0x0000000017870000)] 0x000000000d331000 JavaThread "OfficeProcessThread-2" daemon [_thread_blocked, id=3808, stack(0x0000000017670000,0x0000000017770000)] 0x000000000d330800 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=5660, stack(0x0000000017570000,0x0000000017670000)] 0x000000000d330000 JavaThread "Thread-40" daemon [_thread_in_native, id=4604, stack(0x0000000017230000,0x0000000017330000)] 0x000000000d32f000 JavaThread "OfficeProcessThread-1" daemon [_thread_blocked, id=7848, stack(0x0000000017470000,0x0000000017570000)] 0x000000000d32e800 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=6884, stack(0x0000000017370000,0x0000000017470000)] 0x000000000d32d800 JavaThread "Thread-38" daemon [_thread_in_native, id=7804, stack(0x0000000016ee0000,0x0000000016fe0000)] 0x000000000d32c000 JavaThread "OfficeProcessThread-0" daemon [_thread_blocked, id=4296, stack(0x000000000e400000,0x000000000e500000)] 0x000000000d32a800 JavaThread "Timer-0" daemon [_thread_blocked, id=5908, stack(0x0000000000840000,0x0000000000940000)] 0x000000000d32a000 JavaThread "http-apr-8081-exec-10" daemon [_thread_blocked, id=3016, stack(0x0000000017130000,0x0000000017230000)] 0x000000000d329800 JavaThread "http-apr-8081-exec-9" daemon [_thread_blocked, id=544, stack(0x0000000017030000,0x0000000017130000)] 0x000000000d328800 JavaThread "http-apr-8081-exec-8" daemon [_thread_blocked, id=1548, stack(0x0000000016de0000,0x0000000016ee0000)] 0x000000000d324000 JavaThread "ajp-apr-8010-AsyncTimeout" daemon [_thread_blocked, id=3436, stack(0x0000000016ce0000,0x0000000016de0000)] 0x000000000d323800 JavaThread "ajp-apr-8010-Acceptor-1" daemon [_thread_in_native, id=5888, stack(0x0000000016be0000,0x0000000016ce0000)] 0x000000000fdfa000 JavaThread "ajp-apr-8010-Acceptor-0" daemon [_thread_in_native, id=5252, stack(0x0000000016ae0000,0x0000000016be0000)] 0x000000000fdf9000 JavaThread "ajp-apr-8010-CometPoller-7" daemon [_thread_blocked, id=5280, stack(0x00000000169e0000,0x0000000016ae0000)] 0x000000000fdf8800 JavaThread "ajp-apr-8010-CometPoller-6" daemon [_thread_blocked, id=7348, stack(0x00000000168e0000,0x00000000169e0000)] 0x000000000fdf7800 JavaThread "ajp-apr-8010-CometPoller-5" daemon [_thread_blocked, id=6768, stack(0x00000000167e0000,0x00000000168e0000)] 0x000000000fdf7000 JavaThread "ajp-apr-8010-CometPoller-4" daemon [_thread_blocked, id=7692, stack(0x00000000166e0000,0x00000000167e0000)] 0x000000000fdf6000 JavaThread "ajp-apr-8010-CometPoller-3" daemon [_thread_blocked, id=7400, stack(0x00000000165e0000,0x00000000166e0000)] 0x000000000fdf5800 JavaThread "ajp-apr-8010-CometPoller-2" daemon [_thread_blocked, id=4404, stack(0x00000000164e0000,0x00000000165e0000)] 0x000000000fdf5000 JavaThread "ajp-apr-8010-CometPoller-1" daemon [_thread_blocked, id=5164, stack(0x00000000163e0000,0x00000000164e0000)] 0x000000000fdf4000 JavaThread "ajp-apr-8010-CometPoller-0" daemon [_thread_blocked, id=7912, stack(0x00000000162e0000,0x00000000163e0000)] 0x000000000fdf3800 JavaThread "ajp-apr-8010-Poller-7" daemon [_thread_blocked, id=5116, stack(0x00000000161e0000,0x00000000162e0000)] 0x000000000fdf2800 JavaThread "ajp-apr-8010-Poller-6" daemon [_thread_blocked, id=4192, stack(0x00000000160e0000,0x00000000161e0000)] 0x000000000fdf2000 JavaThread "ajp-apr-8010-Poller-5" daemon [_thread_blocked, id=7364, stack(0x0000000015fe0000,0x00000000160e0000)] 0x000000000fdf1000 JavaThread "ajp-apr-8010-Poller-4" daemon [_thread_blocked, id=7960, stack(0x0000000015ee0000,0x0000000015fe0000)] 0x000000000fdf0800 JavaThread "ajp-apr-8010-Poller-3" daemon [_thread_blocked, id=800, stack(0x0000000015de0000,0x0000000015ee0000)] 0x000000000fdef800 JavaThread "ajp-apr-8010-Poller-2" daemon [_thread_blocked, id=4180, stack(0x0000000015ce0000,0x0000000015de0000)] 0x000000000fdef000 JavaThread "ajp-apr-8010-Poller-1" daemon [_thread_blocked, id=6276, stack(0x0000000015be0000,0x0000000015ce0000)] 0x000000000fdee800 JavaThread "ajp-apr-8010-Poller-0" daemon [_thread_blocked, id=7752, stack(0x0000000015ae0000,0x0000000015be0000)] 0x000000000fded800 JavaThread "http-apr-8081-exec-7" daemon [_thread_blocked, id=3192, stack(0x00000000159e0000,0x0000000015ae0000)] 0x000000000fded000 JavaThread "http-apr-8081-exec-6" daemon [_thread_in_Java, id=4608, stack(0x00000000158e0000,0x00000000159e0000)] 0x000000000fdec000 JavaThread "http-apr-8081-exec-5" daemon [_thread_blocked, id=7524, stack(0x00000000157e0000,0x00000000158e0000)] 0x000000000fdeb800 JavaThread "http-apr-8081-exec-4" daemon [_thread_blocked, id=6020, stack(0x00000000156e0000,0x00000000157e0000)] 0x000000000fdea800 JavaThread "http-apr-8081-exec-3" daemon [_thread_blocked, id=7616, stack(0x00000000155e0000,0x00000000156e0000)] 0x000000000cb34000 JavaThread "http-apr-8081-exec-2" daemon [_thread_blocked, id=8116, stack(0x00000000154e0000,0x00000000155e0000)] 0x000000000cb33000 JavaThread "http-apr-8081-exec-1" daemon [_thread_blocked, id=6244, stack(0x00000000153e0000,0x00000000154e0000)] 0x000000000cb32800 JavaThread "http-apr-8081-AsyncTimeout" daemon [_thread_blocked, id=6628, stack(0x00000000152e0000,0x00000000153e0000)] 0x000000000cb31800 JavaThread "http-apr-8081-Acceptor-0" daemon [_thread_in_native, id=2888, stack(0x00000000151e0000,0x00000000152e0000)] 0x000000000cb31000 JavaThread "http-apr-8081-Sendfile-0" daemon [_thread_blocked, id=6888, stack(0x00000000150e0000,0x00000000151e0000)] 0x000000000cb30000 JavaThread "http-apr-8081-CometPoller-7" daemon [_thread_blocked, id=3360, stack(0x0000000014fe0000,0x00000000150e0000)] 0x000000000cb2f800 JavaThread "http-apr-8081-CometPoller-6" daemon [_thread_blocked, id=4732, stack(0x0000000014ee0000,0x0000000014fe0000)] 0x000000000cb2e800 JavaThread "http-apr-8081-CometPoller-5" daemon [_thread_blocked, id=7852, stack(0x0000000014de0000,0x0000000014ee0000)] 0x000000000cb2e000 JavaThread "http-apr-8081-CometPoller-4" daemon [_thread_blocked, id=6332, stack(0x0000000014ce0000,0x0000000014de0000)] 0x000000000cb2d800 JavaThread "http-apr-8081-CometPoller-3" daemon [_thread_blocked, id=4456, stack(0x0000000014be0000,0x0000000014ce0000)] 0x000000000cb2c800 JavaThread "http-apr-8081-CometPoller-2" daemon [_thread_blocked, id=5792, stack(0x0000000014ae0000,0x0000000014be0000)] 0x000000000cb2c000 JavaThread "http-apr-8081-CometPoller-1" daemon [_thread_blocked, id=1256, stack(0x00000000149e0000,0x0000000014ae0000)] 0x000000000cb2b000 JavaThread "http-apr-8081-CometPoller-0" daemon [_thread_blocked, id=2124, stack(0x00000000148e0000,0x00000000149e0000)] 0x000000000cb2a800 JavaThread "http-apr-8081-Poller-7" daemon [_thread_blocked, id=7468, stack(0x00000000147e0000,0x00000000148e0000)] 0x000000000cb29800 JavaThread "http-apr-8081-Poller-6" daemon [_thread_blocked, id=7612, stack(0x00000000146e0000,0x00000000147e0000)] 0x000000000cb29000 JavaThread "http-apr-8081-Poller-5" daemon [_thread_in_native, id=4312, stack(0x00000000145e0000,0x00000000146e0000)] 0x000000000cb28000 JavaThread "http-apr-8081-Poller-4" daemon [_thread_in_native, id=7604, stack(0x00000000144e0000,0x00000000145e0000)] 0x000000000cb27800 JavaThread "http-apr-8081-Poller-3" daemon [_thread_blocked, id=5492, stack(0x0000000014280000,0x0000000014380000)] 0x000000000cb27000 JavaThread "http-apr-8081-Poller-2" daemon [_thread_blocked, id=7800, stack(0x00000000140c0000,0x00000000141c0000)] 0x000000000cb26000 JavaThread "http-apr-8081-Poller-1" daemon [_thread_blocked, id=4272, stack(0x0000000013f10000,0x0000000014010000)] 0x000000000cb25800 JavaThread "http-apr-8081-Poller-0" daemon [_thread_blocked, id=7456, stack(0x0000000013d50000,0x0000000013e50000)] 0x000000000cb24800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=5560, stack(0x00000000104a0000,0x00000000105a0000)] 0x000000000f850800 JavaThread "Sched1_QuartzSchedulerThread" [_thread_blocked, id=5880, stack(0x0000000013c50000,0x0000000013d50000)] 0x000000000ccd9000 JavaThread "Sched1_Worker-5" [_thread_blocked, id=3612, stack(0x0000000010b70000,0x0000000010c70000)] 0x000000000c3c4000 JavaThread "Sched1_Worker-4" [_thread_blocked, id=5572, stack(0x0000000010a70000,0x0000000010b70000)] 0x000000000d5a5000 JavaThread "Sched1_Worker-3" [_thread_blocked, id=2992, stack(0x0000000010970000,0x0000000010a70000)] 0x000000000d7bd800 JavaThread "Sched1_Worker-2" [_thread_blocked, id=6804, stack(0x0000000010870000,0x0000000010970000)] 0x00000000120ef800 JavaThread "Sched1_Worker-1" [_thread_blocked, id=2632, stack(0x0000000010610000,0x0000000010710000)] 0x000000000c6bf000 JavaThread "GC Daemon" daemon [_thread_blocked, id=4152, stack(0x000000000e120000,0x000000000e220000)] 0x000000000b8cc800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1760, stack(0x000000000c200000,0x000000000c300000)] 0x000000000b8c1000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=6608, stack(0x000000000c100000,0x000000000c200000)] 0x000000000b8bb000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=7980, stack(0x000000000c000000,0x000000000c100000)] 0x000000000b8b9800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4900, stack(0x000000000bf00000,0x000000000c000000)] 0x000000000b8b8800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5756, stack(0x000000000be00000,0x000000000bf00000)] 0x000000000b8b8000 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=7908, stack(0x000000000bd00000,0x000000000be00000)] 0x000000000b866000 JavaThread "Finalizer" daemon [_thread_blocked, id=1640, stack(0x000000000bc00000,0x000000000bd00000)] 0x000000000b859800 JavaThread "Reference Handler" daemon [_thread_blocked, id=4820, stack(0x000000000bb00000,0x000000000bc00000)] 0x000000000045c000 JavaThread "main" [_thread_in_native, id=3920, stack(0x0000000000fa0000,0x00000000010a0000)] Other Threads: 0x000000000b850000 VMThread [stack: 0x000000000ba00000,0x000000000bb00000] [id=5224] 0x000000000c308800 WatcherThread [stack: 0x000000000c700000,0x000000000c800000] [id=6684] =>0x00000000003d7000 (exited) GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=2984] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap par new generation total 1258304K, used 343472K [0x00000006ed400000, 0x0000000742950000, 0x0000000742950000) eden space 1118528K, 18% used [0x00000006ed400000, 0x00000006f9aec0d0, 0x0000000731850000) from space 139776K, 100% used [0x000000073a0d0000, 0x0000000742950000, 0x0000000742950000) to space 139776K, 0% used [0x0000000731850000, 0x0000000731850000, 0x000000073a0d0000) concurrent mark-sweep generation total 2796224K, used 2546294K [0x0000000742950000, 0x00000007ed400000, 0x00000007ed400000) concurrent-mark-sweep perm gen total 307200K, used 87679K [0x00000007ed400000, 0x0000000800000000, 0x0000000800000000) Code Cache [0x0000000001410000, 0x0000000001e10000, 0x0000000004410000) total_blobs=2669 nmethods=2011 adapters=609 free_code_cache=39974144 largest_free_block=7424 Dynamic libraries: 0x0000000140000000 - 0x000000014001e000 C:\indenova\tomcat\bin\tomcat7.exe 0x0000000077820000 - 0x00000000779c9000 C:\Windows\SYSTEM32\ntdll.dll 0x0000000077600000 - 0x000000007771f000 C:\Windows\system32\kernel32.dll 0x000007fefd900000 - 0x000007fefd96c000 C:\Windows\system32\KERNELBASE.dll 0x000007fefe3d0000 - 0x000007fefe4ab000 C:\Windows\system32\ADVAPI32.dll 0x000007fefe310000 - 0x000007fefe3af000 C:\Windows\system32\msvcrt.dll 0x000007fefe710000 - 0x000007fefe72f000 C:\Windows\SYSTEM32\sechost.dll 0x000007fefdae0000 - 0x000007fefdc0d000 C:\Windows\system32\RPCRT4.dll 0x000007fefeb20000 - 0x000007feff8a8000 C:\Windows\system32\SHELL32.dll 0x000007fefe0e0000 - 0x000007fefe151000 C:\Windows\system32\SHLWAPI.dll 0x000007fefd9d0000 - 0x000007fefda37000 C:\Windows\system32\GDI32.dll 0x0000000077720000 - 0x000000007781a000 C:\Windows\system32\USER32.dll 0x000007fefeb10000 - 0x000007fefeb1e000 C:\Windows\system32\LPK.dll 0x000007fefe160000 - 0x000007fefe229000 C:\Windows\system32\USP10.dll 0x000007fefd9a0000 - 0x000007fefd9ce000 C:\Windows\system32\IMM32.DLL 0x000007fefea00000 - 0x000007fefeb09000 C:\Windows\system32\MSCTF.dll 0x000000006d830000 - 0x000000006dfec000 C:\Program Files\Java\jre6\bin\server\jvm.dll 0x000007fef5630000 - 0x000007fef566b000 C:\Windows\system32\WINMM.dll 0x000000006d7a0000 - 0x000000006d7ae000 C:\Program Files\Java\jre6\bin\verify.dll 0x000000006d3c0000 - 0x000000006d3e7000 C:\Program Files\Java\jre6\bin\java.dll 0x000000006d7f0000 - 0x000000006d802000 C:\Program Files\Java\jre6\bin\zip.dll 0x000007fefe4b0000 - 0x000007fefe6b3000 C:\Windows\system32\ole32.dll 0x000000006d560000 - 0x000000006d56a000 C:\Program Files\Java\jre6\bin\management.dll 0x0000000180000000 - 0x000000018018c000 C:\indenova\tomcat\bin\tcnative-1.dll 0x00000000779f0000 - 0x00000000779f7000 C:\Windows\system32\PSAPI.DLL 0x000007fefe6c0000 - 0x000007fefe70d000 C:\Windows\system32\WS2_32.dll 0x000007fefe0d0000 - 0x000007fefe0d8000 C:\Windows\system32\NSI.dll 0x000007fefcd80000 - 0x000007fefcdd5000 C:\Windows\system32\MSWSOCK.dll 0x000000006d770000 - 0x000000006d77b000 C:\Program Files\Java\jre6\bin\sunmscapi.dll 0x000007fefd780000 - 0x000007fefd8ec000 C:\Windows\system32\CRYPT32.dll 0x000007fefd5e0000 - 0x000007fefd5ef000 C:\Windows\system32\MSASN1.dll 0x000007fefc770000 - 0x000007fefc777000 C:\Windows\System32\wshtcpip.dll 0x000007fefcde0000 - 0x000007fefcdf7000 C:\Windows\system32\CRYPTSP.dll 0x000007fefcae0000 - 0x000007fefcb27000 C:\Windows\system32\rsaenh.dll 0x000007fefd5f0000 - 0x000007fefd5ff000 C:\Windows\system32\profapi.dll 0x000007fefd3e0000 - 0x000007fefd3ef000 C:\Windows\system32\CRYPTBASE.dll 0x000000006d620000 - 0x000000006d637000 C:\Program Files\Java\jre6\bin\net.dll 0x000007fefcd70000 - 0x000007fefcd77000 C:\Windows\System32\wship6.dll 0x000007fefc0f0000 - 0x000007fefc105000 C:\Windows\system32\NLAapi.dll 0x000007fefa9f0000 - 0x000007fefaa05000 C:\Windows\system32\napinsp.dll 0x000007fefcc00000 - 0x000007fefcc5b000 C:\Windows\system32\DNSAPI.dll 0x000007fefaa20000 - 0x000007fefaa2b000 C:\Windows\System32\winrnr.dll 0x000007fefbdd0000 - 0x000007fefbdf7000 C:\Windows\system32\IPHLPAPI.DLL 0x000007fefba50000 - 0x000007fefba5b000 C:\Windows\system32\WINNSI.DLL 0x000007fefa980000 - 0x000007fefa988000 C:\Windows\system32\rasadhlp.dll 0x000007fefb9e0000 - 0x000007fefba33000 C:\Windows\System32\fwpuclnt.dll 0x000007fefd490000 - 0x000007fefd4e7000 C:\Windows\system32\apphelp.dll 0x000000006d000000 - 0x000000006d1c4000 C:\Program Files\Java\jre6\bin\awt.dll 0x000007fef9830000 - 0x000007fef98a1000 C:\Windows\system32\WINSPOOL.DRV 0x000007fefbeb0000 - 0x000007fefc0a4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll 0x000000006d4e0000 - 0x000000006d515000 C:\Program Files\Java\jre6\bin\jpeg.dll 0x000007fefb440000 - 0x000007fefb458000 C:\Windows\system32\DWMAPI.DLL 0x000000006d2a0000 - 0x000000006d315000 C:\Program Files\Java\jre6\bin\fontmanager.dll VM Arguments: jvm_args: -Dcatalina.base=C:\indenova\tomcat -Dcatalina.home=C:\indenova\tomcat -Djava.endorsed.dirs=C:\indenova\tomcat\endorsed -Djava.io.tmpdir=C:\indenova\tomcat\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\indenova\tomcat\conf\logging.properties -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseCodeCacheFlushing -XX:+CMSClassUnloadingEnabled -XX:+DisableExplicitGC -XX:NewRatio=2 -XX:SurvivorRatio=8 -XX:+UseCodeCacheFlushing -XX:+CMSClassUnloadingEnabled -XX:+DisableExplicitGC -XX:PermSize=300m -XX:MaxPermSize=300m -XX:ParallelCMSThreads=4 -XX:ParallelGCThreads=1 exit -Xms4096m -Xmx4096m java_command: <unknown> Launcher Type: generic Environment Variables: JAVA_HOME=C:\Program Files\Java\jre6 PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Windows System Resource Manager\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\; USERNAME=DIGITALSCAN$ OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 4, GenuineIntel --------------- S Y S T E M --------------- OS: Windows NT 6.1 , 64 bit Build 7601 Service Pack 1 CPU:total 6 (1 cores per cpu, 1 threads per core) family 6 model 26 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt Memory: 4k page, physical 8388088k(1837160k free), swap 16774312k(9894644k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (20.45-b01) for windows-amd64 JRE (1.6.0_45-b06), built on Apr 1 2013 12:31:37 by "java_re" with MS VC++ 8.0 (VS2005) time: Tue Jul 14 13:40:55 2015 elapsed time: 259 seconds Also, temp directory is full of imageio*************.tmp files that are not deleted after the conversion (this also happens in Linux). I've been able to fix this issue just deleting levigo-jbig2-imageio library from the classpath, but the memory leak problem still there. I cannot give you now any PDF sample, because this issue is happening with confidential scanned documents that I cannot share here. I will try to find some other PDF for you.

    ICEsoft JIRA Issue Tracker | 1 year ago | Yassine El Bouamri
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The memory increases after each conversion, until Tomcat finally crashes. Meanwhile logs files are filled with this stacktraces repeated again and again: 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger info INFO: JBIG2ReadParam not specified. Default will be used. 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger info INFO: Globals not set. 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger error SEVERE: No global segment added so far. 14-jul-2015 13:38:56 org.icepdf.core.pobjects.ImageUtility jbig2Decode ADVERTENCIA: Problem loading JBIG2 image: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.icepdf.core.pobjects.ImageUtility.jbig2Decode(ImageUtility.java:727) at org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:630) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:348) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:291) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:74) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:40) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at org.jpedal.jbig2.segment.region.text.TextRegionSegment.readSegment(TextRegionSegment.java:112) at org.jpedal.jbig2.decoders.JBIG2StreamDecoder.readSegments(JBIG2StreamDecoder.java:432) at org.jpedal.jbig2.decoders.JBIG2StreamDecoder.decodeJBIG2(JBIG2StreamDecoder.java:174) at org.jpedal.jbig2.JBIG2Decoder.decodeJBIG2(JBIG2Decoder.java:148) ... 14 more 14-jul-2015 13:38:56 org.icepdf.core.util.LazyObjectLoader loadObject SEVERE: Error loading object instance: 611 0R java.io.IOException: Controlador no válido at java.io.RandomAccessFile.getFilePointer(Native Method) at org.icepdf.core.io.RandomAccessFileInputStream.getAbsolutePosition(RandomAccessFileInputStream.java:125) at org.icepdf.core.util.LazyObjectLoader.loadObject(LazyObjectLoader.java:70) at org.icepdf.core.util.Library.getObject(Library.java:156) at org.icepdf.core.util.Library.getObject(Library.java:206) at org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:608) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:348) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:291) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:74) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:40) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 14-jul-2015 13:38:56 org.icepdf.core.pobjects.ImageStream jbig2Decode ADVERTENCIA: Problem loading JBIG2 imageusing Levigo: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.icepdf.core.pobjects.ImageUtility.proJbig2Decode(ImageUtility.java:684) at org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:624) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:348) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:291) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:74) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:40) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: Can't instantiate segment class at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:405) at com.levigo.jbig2.JBIG2Page.createNormalPage(JBIG2Page.java:182) at com.levigo.jbig2.JBIG2Page.createPage(JBIG2Page.java:154) at com.levigo.jbig2.JBIG2Page.composePageBitmap(JBIG2Page.java:145) at com.levigo.jbig2.JBIG2Page.getBitmap(JBIG2Page.java:125) at com.levigo.jbig2.JBIG2ImageReader.read(JBIG2ImageReader.java:223) at javax.imageio.ImageReader.read(Unknown Source) ... 14 more Caused by: java.lang.NullPointerException at com.levigo.jbig2.segments.TextRegion.initSymbols(TextRegion.java:817) at com.levigo.jbig2.segments.TextRegion.getSymbols(TextRegion.java:249) at com.levigo.jbig2.segments.TextRegion.parseHeader(TextRegion.java:151) at com.levigo.jbig2.segments.TextRegion.init(TextRegion.java:901) at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:400) ... 20 more 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger info INFO: JBIG2ReadParam not specified. Default will be used. 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger info INFO: Globals not set. 14-jul-2015 13:38:56 com.levigo.jbig2.util.log.JDKLogger error SEVERE: No global segment added so far. 14-jul-2015 13:38:56 org.icepdf.core.pobjects.ImageStream jbig2Decode ADVERTENCIA: Problem loading JBIG2 imageusing Levigo: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.icepdf.core.pobjects.ImageUtility.proJbig2Decode(ImageUtility.java:684) at org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:624) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:348) at org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:291) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:74) at org.icepdf.core.pobjects.graphics.ImageStreamReference.call(ImageStreamReference.java:40) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: Can't instantiate segment class at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:405) at com.levigo.jbig2.JBIG2Page.createNormalPage(JBIG2Page.java:182) at com.levigo.jbig2.JBIG2Page.createPage(JBIG2Page.java:154) at com.levigo.jbig2.JBIG2Page.composePageBitmap(JBIG2Page.java:145) at com.levigo.jbig2.JBIG2Page.getBitmap(JBIG2Page.java:125) at com.levigo.jbig2.JBIG2ImageReader.read(JBIG2ImageReader.java:223) at javax.imageio.ImageReader.read(Unknown Source) ... 14 more Caused by: java.lang.NullPointerException at com.levigo.jbig2.segments.TextRegion.initSymbols(TextRegion.java:817) at com.levigo.jbig2.segments.TextRegion.getSymbols(TextRegion.java:249) at com.levigo.jbig2.segments.TextRegion.parseHeader(TextRegion.java:151) at com.levigo.jbig2.segments.TextRegion.init(TextRegion.java:901) at com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:400) ... 20 more At the end, Tomcat crashes and paints this log: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dbb843d, pid=6164, tid=2984 # # JRE version: 6.0_45-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x38843d] # # An error report file with more information is saved as: # C:\indenova\tomcat\bin\hs_err_pid6164.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # hs_err_pid6164.log: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006dbb843d, pid=6164, tid=2984 # # JRE version: 6.0_45-b06 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x38843d] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x00000000003d7000): GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=2984] siginfo: ExceptionCode=0xc0000005, reading address 0x00000000000001b0 Registers: RAX=0x0000000000000198, RBX=0x0000000778153390, RCX=0x0000000000000003, RDX=0x0000000000000001 RSP=0x000000000b09f7a0, RBP=0x0000000778153390, RSI=0x000000000b09f970, RDI=0x000000000b09f970 R8 =0x00000000001ac019, R9 =0x0000000006b20000, R10=0x00000000003d0388, R11=0x00000000001abff5 R12=0x00000000003d0410, R13=0x00000000001ac801, R14=0x0000000000000000, R15=0x0000000000020000 RIP=0x000000006dbb843d, EFLAGS=0x0000000000010202 Top of Stack: (sp=0x000000000b09f7a0) 0x000000000b09f7a0: 00025fe100000db4 00000000003d2e08 0x000000000b09f7b0: 000000000b09f970 00000000003d2e00 0x000000000b09f7c0: 000000000b3c6de0 00025fe100000db4 0x000000000b09f7d0: 00025fe200000db4 000007fefea01132 0x000000000b09f7e0: 000000006de35040 0000000000000000 0x000000000b09f7f0: 000000000042f950 00000000003d0170 0x000000000b09f800: 00000000003d05d8 000000006da1ce01 0x000000000b09f810: 0000000742950000 0000000017ad6000 0x000000000b09f820: 0000000777b65760 000000000001d514 0x000000000b09f830: 00000000003d0388 00000000003d2e00 0x000000000b09f840: 00000000003d04c8 0000000777bf57c8 0x000000000b09f850: 000000000b6dfb88 000000000b09f970 0x000000000b09f860: 00025fe200000db4 000000006dbb6839 0x000000000b09f870: 000000000b09f9d0 000000006dbb4b7a 0x000000000b09f880: 0000000777b65760 000000000001d514 0x000000000b09f890: 000000000b09f9d0 0000000776165470 Instructions: (pc=0x000000006dbb843d) 0x000000006dbb841d: 18 48 8b f1 74 16 8b 45 08 0f b6 0d 13 0e 38 00 0x000000006dbb842d: 48 d3 e0 48 03 05 01 0e 38 00 eb 04 48 8b 45 08 0x000000006dbb843d: 44 8b 40 18 4c 8d 48 10 41 8b c8 c1 f9 03 45 85 0x000000006dbb844d: c0 7f 5d 45 85 c0 79 47 84 d2 b9 0c 00 00 00 b8 Register to memory mapping: RAX=0x0000000000000198 is an unknown value RBX=0x0000000778153390 is an oop com.levigo.jbig2.SegmentHeader - klass: 'com/levigo/jbig2/SegmentHeader' RCX=0x0000000000000003 is an unknown value RDX=0x0000000000000001 is an unknown value RSP=0x000000000b09f7a0 is an unknown value RBP=0x0000000778153390 is an oop com.levigo.jbig2.SegmentHeader - klass: 'com/levigo/jbig2/SegmentHeader' RSI=0x000000000b09f970 is an unknown value RDI=0x000000000b09f970 is an unknown value R8 =0x00000000001ac019 is an unknown value R9 =0x0000000006b20000 is an unknown value R10=0x00000000003d0388 is an unknown value R11=0x00000000001abff5 is an unknown value R12=0x00000000003d0410 is an unknown value R13=0x00000000001ac801 is an unknown value R14=0x0000000000000000 is an unknown value R15=0x0000000000020000 is an unknown value Stack: [0x0000000000000000,0x0000000000000000], sp=0x000000000b09f7a0, free space=180861k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x38843d] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x000000000f11a800 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=7112, stack(0x0000000000ca0000,0x0000000000da0000)] 0x000000000d7f5800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4940, stack(0x0000000017a70000,0x0000000017b70000)] 0x000000000d7f5000 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=1416, stack(0x0000000018f70000,0x0000000019070000)] 0x000000000d7f4000 JavaThread "Thread-60" daemon [_thread_in_native, id=7536, stack(0x0000000018e70000,0x0000000018f70000)] 0x000000000d7f3800 JavaThread "OfficeProcessThread-5" daemon [_thread_blocked, id=6632, stack(0x0000000018d70000,0x0000000018e70000)] 0x000000000d7f2800 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=5176, stack(0x0000000018c70000,0x0000000018d70000)] 0x000000000d32d000 JavaThread "Thread-58" daemon [_thread_in_native, id=5752, stack(0x0000000018b70000,0x0000000018c70000)] 0x000000000d7f2000 JavaThread "Thread-57" daemon [_thread_blocked, id=3840, stack(0x0000000018a70000,0x0000000018b70000)] 0x000000000d7f1000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5460, stack(0x0000000018970000,0x0000000018a70000)] 0x000000000d7f0800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=5632, stack(0x0000000018870000,0x0000000018970000)] 0x000000000d7ef800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=3796, stack(0x0000000018770000,0x0000000018870000)] 0x000000000d7ef000 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=4688, stack(0x0000000018670000,0x0000000018770000)] 0x000000000d7ee800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=5396, stack(0x0000000018570000,0x0000000018670000)] 0x000000000f121000 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=8104, stack(0x0000000018470000,0x0000000018570000)] 0x000000000f120800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=4984, stack(0x0000000018370000,0x0000000018470000)] 0x000000000f11f800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=5864, stack(0x0000000018270000,0x0000000018370000)] 0x000000000f11f000 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=5668, stack(0x0000000018170000,0x0000000018270000)] 0x000000000f11e000 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=5480, stack(0x0000000018070000,0x0000000018170000)] 0x000000000f11d800 JavaThread "ICEpdf-thread-image-pool" daemon [_thread_blocked, id=7860, stack(0x0000000017f70000,0x0000000018070000)] 0x000000000f11d000 JavaThread "OfficeProcessThread-4" daemon [_thread_blocked, id=6996, stack(0x0000000017e70000,0x0000000017f70000)] 0x000000000f11c000 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=4036, stack(0x0000000017d70000,0x0000000017e70000)] 0x000000000f11b800 JavaThread "Thread-44" daemon [_thread_in_native, id=5124, stack(0x0000000017c70000,0x0000000017d70000)] 0x000000000f11a000 JavaThread "OfficeProcessThread-3" daemon [_thread_blocked, id=5432, stack(0x0000000017970000,0x0000000017a70000)] 0x000000000d332800 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=2928, stack(0x0000000017870000,0x0000000017970000)] 0x000000000d332000 JavaThread "Thread-42" daemon [_thread_in_native, id=8020, stack(0x0000000017770000,0x0000000017870000)] 0x000000000d331000 JavaThread "OfficeProcessThread-2" daemon [_thread_blocked, id=3808, stack(0x0000000017670000,0x0000000017770000)] 0x000000000d330800 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=5660, stack(0x0000000017570000,0x0000000017670000)] 0x000000000d330000 JavaThread "Thread-40" daemon [_thread_in_native, id=4604, stack(0x0000000017230000,0x0000000017330000)] 0x000000000d32f000 JavaThread "OfficeProcessThread-1" daemon [_thread_blocked, id=7848, stack(0x0000000017470000,0x0000000017570000)] 0x000000000d32e800 JavaThread "MessageDispatcher" daemon [_thread_in_native, id=6884, stack(0x0000000017370000,0x0000000017470000)] 0x000000000d32d800 JavaThread "Thread-38" daemon [_thread_in_native, id=7804, stack(0x0000000016ee0000,0x0000000016fe0000)] 0x000000000d32c000 JavaThread "OfficeProcessThread-0" daemon [_thread_blocked, id=4296, stack(0x000000000e400000,0x000000000e500000)] 0x000000000d32a800 JavaThread "Timer-0" daemon [_thread_blocked, id=5908, stack(0x0000000000840000,0x0000000000940000)] 0x000000000d32a000 JavaThread "http-apr-8081-exec-10" daemon [_thread_blocked, id=3016, stack(0x0000000017130000,0x0000000017230000)] 0x000000000d329800 JavaThread "http-apr-8081-exec-9" daemon [_thread_blocked, id=544, stack(0x0000000017030000,0x0000000017130000)] 0x000000000d328800 JavaThread "http-apr-8081-exec-8" daemon [_thread_blocked, id=1548, stack(0x0000000016de0000,0x0000000016ee0000)] 0x000000000d324000 JavaThread "ajp-apr-8010-AsyncTimeout" daemon [_thread_blocked, id=3436, stack(0x0000000016ce0000,0x0000000016de0000)] 0x000000000d323800 JavaThread "ajp-apr-8010-Acceptor-1" daemon [_thread_in_native, id=5888, stack(0x0000000016be0000,0x0000000016ce0000)] 0x000000000fdfa000 JavaThread "ajp-apr-8010-Acceptor-0" daemon [_thread_in_native, id=5252, stack(0x0000000016ae0000,0x0000000016be0000)] 0x000000000fdf9000 JavaThread "ajp-apr-8010-CometPoller-7" daemon [_thread_blocked, id=5280, stack(0x00000000169e0000,0x0000000016ae0000)] 0x000000000fdf8800 JavaThread "ajp-apr-8010-CometPoller-6" daemon [_thread_blocked, id=7348, stack(0x00000000168e0000,0x00000000169e0000)] 0x000000000fdf7800 JavaThread "ajp-apr-8010-CometPoller-5" daemon [_thread_blocked, id=6768, stack(0x00000000167e0000,0x00000000168e0000)] 0x000000000fdf7000 JavaThread "ajp-apr-8010-CometPoller-4" daemon [_thread_blocked, id=7692, stack(0x00000000166e0000,0x00000000167e0000)] 0x000000000fdf6000 JavaThread "ajp-apr-8010-CometPoller-3" daemon [_thread_blocked, id=7400, stack(0x00000000165e0000,0x00000000166e0000)] 0x000000000fdf5800 JavaThread "ajp-apr-8010-CometPoller-2" daemon [_thread_blocked, id=4404, stack(0x00000000164e0000,0x00000000165e0000)] 0x000000000fdf5000 JavaThread "ajp-apr-8010-CometPoller-1" daemon [_thread_blocked, id=5164, stack(0x00000000163e0000,0x00000000164e0000)] 0x000000000fdf4000 JavaThread "ajp-apr-8010-CometPoller-0" daemon [_thread_blocked, id=7912, stack(0x00000000162e0000,0x00000000163e0000)] 0x000000000fdf3800 JavaThread "ajp-apr-8010-Poller-7" daemon [_thread_blocked, id=5116, stack(0x00000000161e0000,0x00000000162e0000)] 0x000000000fdf2800 JavaThread "ajp-apr-8010-Poller-6" daemon [_thread_blocked, id=4192, stack(0x00000000160e0000,0x00000000161e0000)] 0x000000000fdf2000 JavaThread "ajp-apr-8010-Poller-5" daemon [_thread_blocked, id=7364, stack(0x0000000015fe0000,0x00000000160e0000)] 0x000000000fdf1000 JavaThread "ajp-apr-8010-Poller-4" daemon [_thread_blocked, id=7960, stack(0x0000000015ee0000,0x0000000015fe0000)] 0x000000000fdf0800 JavaThread "ajp-apr-8010-Poller-3" daemon [_thread_blocked, id=800, stack(0x0000000015de0000,0x0000000015ee0000)] 0x000000000fdef800 JavaThread "ajp-apr-8010-Poller-2" daemon [_thread_blocked, id=4180, stack(0x0000000015ce0000,0x0000000015de0000)] 0x000000000fdef000 JavaThread "ajp-apr-8010-Poller-1" daemon [_thread_blocked, id=6276, stack(0x0000000015be0000,0x0000000015ce0000)] 0x000000000fdee800 JavaThread "ajp-apr-8010-Poller-0" daemon [_thread_blocked, id=7752, stack(0x0000000015ae0000,0x0000000015be0000)] 0x000000000fded800 JavaThread "http-apr-8081-exec-7" daemon [_thread_blocked, id=3192, stack(0x00000000159e0000,0x0000000015ae0000)] 0x000000000fded000 JavaThread "http-apr-8081-exec-6" daemon [_thread_in_Java, id=4608, stack(0x00000000158e0000,0x00000000159e0000)] 0x000000000fdec000 JavaThread "http-apr-8081-exec-5" daemon [_thread_blocked, id=7524, stack(0x00000000157e0000,0x00000000158e0000)] 0x000000000fdeb800 JavaThread "http-apr-8081-exec-4" daemon [_thread_blocked, id=6020, stack(0x00000000156e0000,0x00000000157e0000)] 0x000000000fdea800 JavaThread "http-apr-8081-exec-3" daemon [_thread_blocked, id=7616, stack(0x00000000155e0000,0x00000000156e0000)] 0x000000000cb34000 JavaThread "http-apr-8081-exec-2" daemon [_thread_blocked, id=8116, stack(0x00000000154e0000,0x00000000155e0000)] 0x000000000cb33000 JavaThread "http-apr-8081-exec-1" daemon [_thread_blocked, id=6244, stack(0x00000000153e0000,0x00000000154e0000)] 0x000000000cb32800 JavaThread "http-apr-8081-AsyncTimeout" daemon [_thread_blocked, id=6628, stack(0x00000000152e0000,0x00000000153e0000)] 0x000000000cb31800 JavaThread "http-apr-8081-Acceptor-0" daemon [_thread_in_native, id=2888, stack(0x00000000151e0000,0x00000000152e0000)] 0x000000000cb31000 JavaThread "http-apr-8081-Sendfile-0" daemon [_thread_blocked, id=6888, stack(0x00000000150e0000,0x00000000151e0000)] 0x000000000cb30000 JavaThread "http-apr-8081-CometPoller-7" daemon [_thread_blocked, id=3360, stack(0x0000000014fe0000,0x00000000150e0000)] 0x000000000cb2f800 JavaThread "http-apr-8081-CometPoller-6" daemon [_thread_blocked, id=4732, stack(0x0000000014ee0000,0x0000000014fe0000)] 0x000000000cb2e800 JavaThread "http-apr-8081-CometPoller-5" daemon [_thread_blocked, id=7852, stack(0x0000000014de0000,0x0000000014ee0000)] 0x000000000cb2e000 JavaThread "http-apr-8081-CometPoller-4" daemon [_thread_blocked, id=6332, stack(0x0000000014ce0000,0x0000000014de0000)] 0x000000000cb2d800 JavaThread "http-apr-8081-CometPoller-3" daemon [_thread_blocked, id=4456, stack(0x0000000014be0000,0x0000000014ce0000)] 0x000000000cb2c800 JavaThread "http-apr-8081-CometPoller-2" daemon [_thread_blocked, id=5792, stack(0x0000000014ae0000,0x0000000014be0000)] 0x000000000cb2c000 JavaThread "http-apr-8081-CometPoller-1" daemon [_thread_blocked, id=1256, stack(0x00000000149e0000,0x0000000014ae0000)] 0x000000000cb2b000 JavaThread "http-apr-8081-CometPoller-0" daemon [_thread_blocked, id=2124, stack(0x00000000148e0000,0x00000000149e0000)] 0x000000000cb2a800 JavaThread "http-apr-8081-Poller-7" daemon [_thread_blocked, id=7468, stack(0x00000000147e0000,0x00000000148e0000)] 0x000000000cb29800 JavaThread "http-apr-8081-Poller-6" daemon [_thread_blocked, id=7612, stack(0x00000000146e0000,0x00000000147e0000)] 0x000000000cb29000 JavaThread "http-apr-8081-Poller-5" daemon [_thread_in_native, id=4312, stack(0x00000000145e0000,0x00000000146e0000)] 0x000000000cb28000 JavaThread "http-apr-8081-Poller-4" daemon [_thread_in_native, id=7604, stack(0x00000000144e0000,0x00000000145e0000)] 0x000000000cb27800 JavaThread "http-apr-8081-Poller-3" daemon [_thread_blocked, id=5492, stack(0x0000000014280000,0x0000000014380000)] 0x000000000cb27000 JavaThread "http-apr-8081-Poller-2" daemon [_thread_blocked, id=7800, stack(0x00000000140c0000,0x00000000141c0000)] 0x000000000cb26000 JavaThread "http-apr-8081-Poller-1" daemon [_thread_blocked, id=4272, stack(0x0000000013f10000,0x0000000014010000)] 0x000000000cb25800 JavaThread "http-apr-8081-Poller-0" daemon [_thread_blocked, id=7456, stack(0x0000000013d50000,0x0000000013e50000)] 0x000000000cb24800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=5560, stack(0x00000000104a0000,0x00000000105a0000)] 0x000000000f850800 JavaThread "Sched1_QuartzSchedulerThread" [_thread_blocked, id=5880, stack(0x0000000013c50000,0x0000000013d50000)] 0x000000000ccd9000 JavaThread "Sched1_Worker-5" [_thread_blocked, id=3612, stack(0x0000000010b70000,0x0000000010c70000)] 0x000000000c3c4000 JavaThread "Sched1_Worker-4" [_thread_blocked, id=5572, stack(0x0000000010a70000,0x0000000010b70000)] 0x000000000d5a5000 JavaThread "Sched1_Worker-3" [_thread_blocked, id=2992, stack(0x0000000010970000,0x0000000010a70000)] 0x000000000d7bd800 JavaThread "Sched1_Worker-2" [_thread_blocked, id=6804, stack(0x0000000010870000,0x0000000010970000)] 0x00000000120ef800 JavaThread "Sched1_Worker-1" [_thread_blocked, id=2632, stack(0x0000000010610000,0x0000000010710000)] 0x000000000c6bf000 JavaThread "GC Daemon" daemon [_thread_blocked, id=4152, stack(0x000000000e120000,0x000000000e220000)] 0x000000000b8cc800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1760, stack(0x000000000c200000,0x000000000c300000)] 0x000000000b8c1000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=6608, stack(0x000000000c100000,0x000000000c200000)] 0x000000000b8bb000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=7980, stack(0x000000000c000000,0x000000000c100000)] 0x000000000b8b9800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4900, stack(0x000000000bf00000,0x000000000c000000)] 0x000000000b8b8800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5756, stack(0x000000000be00000,0x000000000bf00000)] 0x000000000b8b8000 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=7908, stack(0x000000000bd00000,0x000000000be00000)] 0x000000000b866000 JavaThread "Finalizer" daemon [_thread_blocked, id=1640, stack(0x000000000bc00000,0x000000000bd00000)] 0x000000000b859800 JavaThread "Reference Handler" daemon [_thread_blocked, id=4820, stack(0x000000000bb00000,0x000000000bc00000)] 0x000000000045c000 JavaThread "main" [_thread_in_native, id=3920, stack(0x0000000000fa0000,0x00000000010a0000)] Other Threads: 0x000000000b850000 VMThread [stack: 0x000000000ba00000,0x000000000bb00000] [id=5224] 0x000000000c308800 WatcherThread [stack: 0x000000000c700000,0x000000000c800000] [id=6684] =>0x00000000003d7000 (exited) GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=2984] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap par new generation total 1258304K, used 343472K [0x00000006ed400000, 0x0000000742950000, 0x0000000742950000) eden space 1118528K, 18% used [0x00000006ed400000, 0x00000006f9aec0d0, 0x0000000731850000) from space 139776K, 100% used [0x000000073a0d0000, 0x0000000742950000, 0x0000000742950000) to space 139776K, 0% used [0x0000000731850000, 0x0000000731850000, 0x000000073a0d0000) concurrent mark-sweep generation total 2796224K, used 2546294K [0x0000000742950000, 0x00000007ed400000, 0x00000007ed400000) concurrent-mark-sweep perm gen total 307200K, used 87679K [0x00000007ed400000, 0x0000000800000000, 0x0000000800000000) Code Cache [0x0000000001410000, 0x0000000001e10000, 0x0000000004410000) total_blobs=2669 nmethods=2011 adapters=609 free_code_cache=39974144 largest_free_block=7424 Dynamic libraries: 0x0000000140000000 - 0x000000014001e000 C:\indenova\tomcat\bin\tomcat7.exe 0x0000000077820000 - 0x00000000779c9000 C:\Windows\SYSTEM32\ntdll.dll 0x0000000077600000 - 0x000000007771f000 C:\Windows\system32\kernel32.dll 0x000007fefd900000 - 0x000007fefd96c000 C:\Windows\system32\KERNELBASE.dll 0x000007fefe3d0000 - 0x000007fefe4ab000 C:\Windows\system32\ADVAPI32.dll 0x000007fefe310000 - 0x000007fefe3af000 C:\Windows\system32\msvcrt.dll 0x000007fefe710000 - 0x000007fefe72f000 C:\Windows\SYSTEM32\sechost.dll 0x000007fefdae0000 - 0x000007fefdc0d000 C:\Windows\system32\RPCRT4.dll 0x000007fefeb20000 - 0x000007feff8a8000 C:\Windows\system32\SHELL32.dll 0x000007fefe0e0000 - 0x000007fefe151000 C:\Windows\system32\SHLWAPI.dll 0x000007fefd9d0000 - 0x000007fefda37000 C:\Windows\system32\GDI32.dll 0x0000000077720000 - 0x000000007781a000 C:\Windows\system32\USER32.dll 0x000007fefeb10000 - 0x000007fefeb1e000 C:\Windows\system32\LPK.dll 0x000007fefe160000 - 0x000007fefe229000 C:\Windows\system32\USP10.dll 0x000007fefd9a0000 - 0x000007fefd9ce000 C:\Windows\system32\IMM32.DLL 0x000007fefea00000 - 0x000007fefeb09000 C:\Windows\system32\MSCTF.dll 0x000000006d830000 - 0x000000006dfec000 C:\Program Files\Java\jre6\bin\server\jvm.dll 0x000007fef5630000 - 0x000007fef566b000 C:\Windows\system32\WINMM.dll 0x000000006d7a0000 - 0x000000006d7ae000 C:\Program Files\Java\jre6\bin\verify.dll 0x000000006d3c0000 - 0x000000006d3e7000 C:\Program Files\Java\jre6\bin\java.dll 0x000000006d7f0000 - 0x000000006d802000 C:\Program Files\Java\jre6\bin\zip.dll 0x000007fefe4b0000 - 0x000007fefe6b3000 C:\Windows\system32\ole32.dll 0x000000006d560000 - 0x000000006d56a000 C:\Program Files\Java\jre6\bin\management.dll 0x0000000180000000 - 0x000000018018c000 C:\indenova\tomcat\bin\tcnative-1.dll 0x00000000779f0000 - 0x00000000779f7000 C:\Windows\system32\PSAPI.DLL 0x000007fefe6c0000 - 0x000007fefe70d000 C:\Windows\system32\WS2_32.dll 0x000007fefe0d0000 - 0x000007fefe0d8000 C:\Windows\system32\NSI.dll 0x000007fefcd80000 - 0x000007fefcdd5000 C:\Windows\system32\MSWSOCK.dll 0x000000006d770000 - 0x000000006d77b000 C:\Program Files\Java\jre6\bin\sunmscapi.dll 0x000007fefd780000 - 0x000007fefd8ec000 C:\Windows\system32\CRYPT32.dll 0x000007fefd5e0000 - 0x000007fefd5ef000 C:\Windows\system32\MSASN1.dll 0x000007fefc770000 - 0x000007fefc777000 C:\Windows\System32\wshtcpip.dll 0x000007fefcde0000 - 0x000007fefcdf7000 C:\Windows\system32\CRYPTSP.dll 0x000007fefcae0000 - 0x000007fefcb27000 C:\Windows\system32\rsaenh.dll 0x000007fefd5f0000 - 0x000007fefd5ff000 C:\Windows\system32\profapi.dll 0x000007fefd3e0000 - 0x000007fefd3ef000 C:\Windows\system32\CRYPTBASE.dll 0x000000006d620000 - 0x000000006d637000 C:\Program Files\Java\jre6\bin\net.dll 0x000007fefcd70000 - 0x000007fefcd77000 C:\Windows\System32\wship6.dll 0x000007fefc0f0000 - 0x000007fefc105000 C:\Windows\system32\NLAapi.dll 0x000007fefa9f0000 - 0x000007fefaa05000 C:\Windows\system32\napinsp.dll 0x000007fefcc00000 - 0x000007fefcc5b000 C:\Windows\system32\DNSAPI.dll 0x000007fefaa20000 - 0x000007fefaa2b000 C:\Windows\System32\winrnr.dll 0x000007fefbdd0000 - 0x000007fefbdf7000 C:\Windows\system32\IPHLPAPI.DLL 0x000007fefba50000 - 0x000007fefba5b000 C:\Windows\system32\WINNSI.DLL 0x000007fefa980000 - 0x000007fefa988000 C:\Windows\system32\rasadhlp.dll 0x000007fefb9e0000 - 0x000007fefba33000 C:\Windows\System32\fwpuclnt.dll 0x000007fefd490000 - 0x000007fefd4e7000 C:\Windows\system32\apphelp.dll 0x000000006d000000 - 0x000000006d1c4000 C:\Program Files\Java\jre6\bin\awt.dll 0x000007fef9830000 - 0x000007fef98a1000 C:\Windows\system32\WINSPOOL.DRV 0x000007fefbeb0000 - 0x000007fefc0a4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll 0x000000006d4e0000 - 0x000000006d515000 C:\Program Files\Java\jre6\bin\jpeg.dll 0x000007fefb440000 - 0x000007fefb458000 C:\Windows\system32\DWMAPI.DLL 0x000000006d2a0000 - 0x000000006d315000 C:\Program Files\Java\jre6\bin\fontmanager.dll VM Arguments: jvm_args: -Dcatalina.base=C:\indenova\tomcat -Dcatalina.home=C:\indenova\tomcat -Djava.endorsed.dirs=C:\indenova\tomcat\endorsed -Djava.io.tmpdir=C:\indenova\tomcat\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\indenova\tomcat\conf\logging.properties -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseCodeCacheFlushing -XX:+CMSClassUnloadingEnabled -XX:+DisableExplicitGC -XX:NewRatio=2 -XX:SurvivorRatio=8 -XX:+UseCodeCacheFlushing -XX:+CMSClassUnloadingEnabled -XX:+DisableExplicitGC -XX:PermSize=300m -XX:MaxPermSize=300m -XX:ParallelCMSThreads=4 -XX:ParallelGCThreads=1 exit -Xms4096m -Xmx4096m java_command: <unknown> Launcher Type: generic Environment Variables: JAVA_HOME=C:\Program Files\Java\jre6 PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Windows System Resource Manager\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\; USERNAME=DIGITALSCAN$ OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 4, GenuineIntel --------------- S Y S T E M --------------- OS: Windows NT 6.1 , 64 bit Build 7601 Service Pack 1 CPU:total 6 (1 cores per cpu, 1 threads per core) family 6 model 26 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt Memory: 4k page, physical 8388088k(1837160k free), swap 16774312k(9894644k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (20.45-b01) for windows-amd64 JRE (1.6.0_45-b06), built on Apr 1 2013 12:31:37 by "java_re" with MS VC++ 8.0 (VS2005) time: Tue Jul 14 13:40:55 2015 elapsed time: 259 seconds Also, temp directory is full of imageio*************.tmp files that are not deleted after the conversion (this also happens in Linux). I've been able to fix this issue just deleting levigo-jbig2-imageio library from the classpath, but the memory leak problem still there. I cannot give you now any PDF sample, because this issue is happening with confidential scanned documents that I cannot share here. I will try to find some other PDF for you.

    ICEsoft JIRA Issue Tracker | 1 year ago | Yassine El Bouamri
    java.lang.reflect.InvocationTargetException
  6. 0

    OptaPlanner vehicle routing course grained moves

    Stack Overflow | 6 months ago | Moritz Becker
    java.lang.IllegalStateException: UndoMove corruption: the beforeMoveScore (0/0/23/-2245/-12) is not the undoScore (0/0/23/-1358/-2) which is the uncorruptedScore (0/0/23/-1358/-2) of the workingSolution. 1) Enable EnvironmentMode FULL_ASSERT (if you haven't already) to fail-faster in case there's a score corruption. 2) Check the Move.createUndoMove(...) method of the moveClass (class org.optaplanner.core.impl.heuristic.move.CompositeMove). The move ([[Wastebin{id=3}..Wastebin{id=3}] {Wastebin{id=3} -> Vehicle{id=2}}, [Wastebin{id=3}..Wastebin{id=3}] {Wastebin{id=3} -> Wastebin{id=1}}]) might have a corrupted undoMove (Undo([[Wastebin{id=3}..Wastebin{id=3}] {Wastebin{id=3} -> Vehicle{id=2}}, [Wastebin{id=3}..Wastebin{id=3}] {Wastebin{id=3} -> Wastebin{id=1}}])). 3) Check your custom VariableListeners (if you have any) for shadow variables that are used by the score constraints with a different score weight between the beforeMoveScore (0/0/23/-2245/-12) and the undoScore (0/0/23/-1358/-2).

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      already have a ValueNode for 0/1/0/3

      at com.levigo.jbig2.decoder.huffman.InternalNode.append()
    2. com.levigo.jbig2
      JBIG2ImageReader.read
      1. com.levigo.jbig2.decoder.huffman.InternalNode.append(InternalNode.java:81)
      2. com.levigo.jbig2.decoder.huffman.HuffmanTable.initTree(HuffmanTable.java:68)
      3. com.levigo.jbig2.decoder.huffman.FixedSizeTable.<init>(FixedSizeTable.java:30)
      4. com.levigo.jbig2.segments.TextRegion.symbolIDCodeLengths(TextRegion.java:892)
      5. com.levigo.jbig2.segments.TextRegion.computeSymbolCodeLength(TextRegion.java:255)
      6. com.levigo.jbig2.segments.TextRegion.parseHeader(TextRegion.java:153)
      7. com.levigo.jbig2.segments.TextRegion.init(TextRegion.java:901)
      8. com.levigo.jbig2.SegmentHeader.getSegmentData(SegmentHeader.java:400)
      9. com.levigo.jbig2.JBIG2Page.createNormalPage(JBIG2Page.java:182)
      10. com.levigo.jbig2.JBIG2Page.createPage(JBIG2Page.java:154)
      11. com.levigo.jbig2.JBIG2Page.composePageBitmap(JBIG2Page.java:145)
      12. com.levigo.jbig2.JBIG2Page.getBitmap(JBIG2Page.java:125)
      13. com.levigo.jbig2.JBIG2ImageReader.read(JBIG2ImageReader.java:223)
      13 frames
    3. Java RT
      Method.invoke
      1. javax.imageio.ImageReader.read(ImageReader.java:940)
      2. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      3. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      4. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      5. java.lang.reflect.Method.invoke(Method.java:606)
      5 frames
    4. org.icepdf.core
      SmoothScaledImageReference.call
      1. org.icepdf.core.pobjects.ImageUtility.proJbig2Decode(ImageUtility.java:870)
      2. org.icepdf.core.pobjects.ImageStream.jbig2Decode(ImageStream.java:724)
      3. org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:351)
      4. org.icepdf.core.pobjects.ImageStream.getImage(ImageStream.java:293)
      5. org.icepdf.core.pobjects.graphics.SmoothScaledImageReference.call(SmoothScaledImageReference.java:99)
      6. org.icepdf.core.pobjects.graphics.SmoothScaledImageReference.call(SmoothScaledImageReference.java:40)
      6 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames