Modify ↓
Opened 8 years ago
Last modified 6 years ago
#14488 new defect
NPE at com.jhlabs.image.TransferFilter.filterRGB
Reported by: | laznik | Owned by: | Nipel-Crumple |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin rasterfilters | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- install rasterfilters plugin
- restart JOSM
- by a call from external source to JOSM load a map showing this area: http://www.freemap.sk/#p=48.4254|18.80556|15|C,m=C - open JOSM
- load Bing and MapBox background imagery layers
- click one of the layers and click the rasterfilters button
- select Contrast & Brightness filter
- click the Add button
What is the expected result?
filter Brightness and Contrast controls should appear
What happens instead?
crash
Please provide any additional information below. Attach a screenshot if possible.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2017-02-26 23:10:22 +0100 (Sun, 26 Feb 2017) Build-Date:2017-02-26 22:34:39 Revision:11639 Relative:URL: ^/trunk Identification: JOSM/1.5 (11639 en) Mac OS X 10.11.6 Memory Usage: 469 MB / 910 MB (276 MB allocated, but free) Java version: 1.8.0_111-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Screen: Display 69732480 1440x900 Maximum Screen Size: 1440x900 VM arguments: [-Djava.library.path=/Applications/GPS/JOSM.app/Contents/MacOS, -DLibraryDirectory=${HOME}/Library, -DDocumentsDirectory=${HOME}/Documents, -DApplicationSupportDirectory=${HOME}/Library/Application Support, -DCachesDirectory=${HOME}/Library/Caches, -DSandboxEnabled=false, -Dapple.laf.useScreenMenuBar=true, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true] Dataset consistency test: No problems found Plugins: + DirectDownload (33004) + DirectUpload (32885) + apache-commons (32994) + buildings_tools (33004) + editgpx (33004) + ejml (32680) + freemapkapor (unknown) + geotools (33042) + importvec (33088) + jts (32699) + opendata (33156) + rasterfilters (33113) + utilsplugin2 (33124) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/Freemap&zip=1 Validator rules: + https://josm.openstreetmap.de/josmfile?page=Rules/CzechRepublicAddressSystem&zip=1 Last errors/warnings: - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - E: Handled by bug report queue: java.lang.NullPointerException. Cause: java.lang.NullPointerException === REPORTED CRASH DATA === MapView#paintLayer: - layer: TMSLayer [info=ImageryInfo{name='Bing aerial imagery', countryCode='', url='http://www.bing.com/maps/', imageryType=BING}] Warning issued by: MapView#paintLayer === STACK TRACE === Thread: AWT-EventQueue-0 (18) of main java.lang.NullPointerException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:598) at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677) at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:735) at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.visitTiles(AbstractTileSourceLayer.java:1376) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.paintTileImages(AbstractTileSourceLayer.java:1122) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.drawInViewArea(AbstractTileSourceLayer.java:1571) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.access$2900(AbstractTileSourceLayer.java:117) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSourcePainter.doPaint(AbstractTileSourceLayer.java:1945) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSourcePainter.paint(AbstractTileSourceLayer.java:1940) at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:441) at org.openstreetmap.josm.gui.MapView.paint(MapView.java:522) at javax.swing.JComponent.paintChildren(JComponent.java:889) at javax.swing.JComponent.paint(JComponent.java:1065) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502) at javax.swing.RepaintManager.paint(RepaintManager.java:1272) at javax.swing.JComponent._paintImmediately(JComponent.java:5158) at javax.swing.JComponent.paintImmediately(JComponent.java:4969) at javax.swing.RepaintManager$4.run(RepaintManager.java:831) at javax.swing.RepaintManager$4.run(RepaintManager.java:814) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738) at javax.swing.RepaintManager.access$1200(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.NullPointerException at com.jhlabs.image.TransferFilter.filterRGB(TransferFilter.java:36) at com.jhlabs.image.PointFilter.filter(PointFilter.java:51) at com.jhlabs.image.TransferFilter.filter(TransferFilter.java:45) at org.openstreetmap.josm.plugins.rasterfilters.filters.ContrastFilterImpl.applyFilter(ContrastFilterImpl.java:34) at org.openstreetmap.josm.plugins.rasterfilters.model.FiltersManager.process(FiltersManager.java:178) at org.openstreetmap.josm.gui.layer.ImageryLayer.applyImageProcessors(ImageryLayer.java:323) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.lambda$paintTileImages$2(AbstractTileSourceLayer.java:1128) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.visitTilePosition(AbstractTileSourceLayer.java:1384) at org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.lambda$visitTiles$3(AbstractTileSourceLayer.java:1376) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250) at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110) at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) at java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250) at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:114) at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) === RUNNING THREADS === Thread: ForkJoinPool.commonPool-worker-6 (78) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824) java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693) java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Thread: TMS-downloader-9 (72) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: TMS-downloader-8 (71) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: Nashorn AST Serializer (37) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: Java2D Queue Flusher (14) of system java.lang.Object.wait(Native Method) sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:203) Thread: AWT-Shutdown (13) of system java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295) java.lang.Thread.run(Thread.java:745) Thread: TMS-downloader-3 (66) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: Reference Handler (2) of system java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) java.lang.ref.Reference.tryHandlePending(Reference.java:191) java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153) Thread: TMS-downloader-0 (63) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: CacheEventQueue.QProcessor-TMS_BLOCK_v2Thread-9 (84) sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: JCS-ElementEventQueue-Thread-4 (33) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: AppKit Thread (12) of system Thread: TMS-downloader-1 (64) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: main-worker-0 (51) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: TimerQueue (20) of system sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.DelayQueue.take(DelayQueue.java:211) javax.swing.TimerQueue.run(TimerQueue.java:174) java.lang.Thread.run(Thread.java:745) Thread: ForkJoinPool.commonPool-worker-3 (75) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824) java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693) java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Thread: File Watcher (11) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:492) java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:680) sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118) org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:114) org.openstreetmap.josm.io.FileWatcher$$Lambda$4/193064360.run(Unknown Source) java.lang.Thread.run(Thread.java:745) Thread: TMS-downloader-7 (70) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: ForkJoinPool.commonPool-worker-7 (79) java.awt.image.ComponentColorModel.getRGBComponent(ComponentColorModel.java:897) java.awt.image.ComponentColorModel.getRed(ComponentColorModel.java:944) java.awt.image.ComponentColorModel.getRGB(ComponentColorModel.java:1131) java.awt.image.BufferedImage.getRGB(BufferedImage.java:986) com.jhlabs.image.PointFilter.filter(PointFilter.java:49) com.jhlabs.image.TransferFilter.filter(TransferFilter.java:45) org.openstreetmap.josm.plugins.rasterfilters.filters.ContrastFilterImpl.applyFilter(ContrastFilterImpl.java:34) org.openstreetmap.josm.plugins.rasterfilters.model.FiltersManager.process(FiltersManager.java:178) org.openstreetmap.josm.gui.layer.ImageryLayer.applyImageProcessors(ImageryLayer.java:323) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.lambda$paintTileImages$2(AbstractTileSourceLayer.java:1128) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$$Lambda$293/2062904172.accept(Unknown Source) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.visitTilePosition(AbstractTileSourceLayer.java:1384) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.lambda$visitTiles$3(AbstractTileSourceLayer.java:1376) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet$$Lambda$295/625816635.accept(Unknown Source) java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250) java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:114) java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693) java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250) java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110) java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693) java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Thread: DestroyJavaVM (48) of main Thread: AWT-EventQueue-0 (18) of main Stacktrace see above. Thread: Signal Dispatcher (4) of system Thread: Timer-1 (52) of main java.lang.Object.wait(Native Method) java.lang.Object.wait(Object.java:502) java.util.TimerThread.mainLoop(Timer.java:526) java.util.TimerThread.run(Timer.java:505) Thread: RemoteControl HTTP Server (43) of main java.net.PlainSocketImpl.socketAccept(Native Method) java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409) java.net.ServerSocket.implAccept(ServerSocket.java:545) java.net.ServerSocket.accept(ServerSocket.java:513) org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:103) Thread: WeakCollectionCleaner (39) of main java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) org.geotools.util.WeakCollectionCleaner.run(WeakCollectionCleaner.java:77) Thread: TMS-downloader-2 (65) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: message-notifier-0 (47) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: image-fetcher-0 (62) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: ForkJoinPool.commonPool-worker-0 (81) java.awt.image.ComponentColorModel.getRGBComponent(ComponentColorModel.java:897) java.awt.image.ComponentColorModel.getBlue(ComponentColorModel.java:1014) java.awt.image.ComponentColorModel.getRGB(ComponentColorModel.java:1133) sun.java2d.loops.OpaqueCopyAnyToArgb.Blit(CustomComponent.java:145) sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:560) sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:541) sun.java2d.loops.MaskBlit$General.MaskBlit(MaskBlit.java:189) sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Blit.java:204) sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:959) sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:577) sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:86) sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1030) sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:196) sun.java2d.SunGraphics2D.copyImage(SunGraphics2D.java:3229) sun.java2d.pipe.DrawImage.makeBufferedImage(DrawImage.java:357) sun.java2d.pipe.DrawImage.renderImageXform(DrawImage.java:462) sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:264) sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:770) sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:1068) sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3398) sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3342) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.drawImageInside(AbstractTileSourceLayer.java:1106) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.lambda$paintTileImages$2(AbstractTileSourceLayer.java:1132) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$$Lambda$293/2062904172.accept(Unknown Source) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.visitTilePosition(AbstractTileSourceLayer.java:1384) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.lambda$visitTiles$3(AbstractTileSourceLayer.java:1376) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet$$Lambda$295/625816635.accept(Unknown Source) java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250) java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110) java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693) java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250) java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110) java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693) java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Thread: RemoteControl HTTP Server (44) of main java.net.PlainSocketImpl.socketAccept(Native Method) java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409) java.net.ServerSocket.implAccept(ServerSocket.java:545) java.net.ServerSocket.accept(ServerSocket.java:513) org.openstreetmap.josm.io.remotecontrol.RemoteControlHttpServer.run(RemoteControlHttpServer.java:103) Thread: Timer-0 (45) of main java.lang.Object.wait(Native Method) java.util.TimerThread.mainLoop(Timer.java:552) java.util.TimerThread.run(Timer.java:505) Thread: Map Status Collector (53) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:399) java.lang.Thread.run(Thread.java:745) Thread: Nashorn AST Serializer (38) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: GT authority factory disposer (34) of main java.lang.Object.wait(Native Method) java.util.TimerThread.mainLoop(Timer.java:552) java.util.TimerThread.run(Timer.java:505) Thread: TMS-downloader-6 (69) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: Java2D Disposer (15) of system java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) sun.java2d.Disposer.run(Disposer.java:148) java.lang.Thread.run(Thread.java:745) Thread: ForkJoinPool.commonPool-worker-5 (77) java.awt.image.ComponentColorModel.getRGBComponent(ComponentColorModel.java:897) java.awt.image.ComponentColorModel.getRed(ComponentColorModel.java:944) java.awt.image.ComponentColorModel.getRGB(ComponentColorModel.java:1131) java.awt.image.BufferedImage.getRGB(BufferedImage.java:986) com.jhlabs.image.PointFilter.filter(PointFilter.java:49) com.jhlabs.image.TransferFilter.filter(TransferFilter.java:45) org.openstreetmap.josm.plugins.rasterfilters.filters.ContrastFilterImpl.applyFilter(ContrastFilterImpl.java:34) org.openstreetmap.josm.plugins.rasterfilters.model.FiltersManager.process(FiltersManager.java:178) org.openstreetmap.josm.gui.layer.ImageryLayer.applyImageProcessors(ImageryLayer.java:323) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer.lambda$paintTileImages$2(AbstractTileSourceLayer.java:1128) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$$Lambda$293/2062904172.accept(Unknown Source) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.visitTilePosition(AbstractTileSourceLayer.java:1384) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet.lambda$visitTiles$3(AbstractTileSourceLayer.java:1376) org.openstreetmap.josm.gui.layer.AbstractTileSourceLayer$TileSet$$Lambda$295/625816635.accept(Unknown Source) java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250) java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:114) java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693) java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250) java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110) java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693) java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Thread: Finalizer (3) of system java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164) java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209) Thread: TMS-downloader-4 (67) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: Nashorn AST Serializer (36) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: Nashorn AST Serializer (35) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) Thread: ForkJoinPool.commonPool-worker-2 (74) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824) java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693) java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Thread: ForkJoinPool.commonPool-worker-1 (85) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824) java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693) java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) Thread: TMS-downloader-5 (68) of main sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:84) org.openstreetmap.josm.data.cache.HostLimitQueue.poll(HostLimitQueue.java:30) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745)
Attachments (0)
Change History (3)
comment:1 by , 8 years ago
Component: | Plugin → Plugin rasterfilters |
---|---|
Owner: | changed from | to
comment:2 by , 8 years ago
Summary: | rasterfilters crash → NPE at com.jhlabs.image.TransferFilter.filterRGB |
---|
comment:3 by , 6 years ago
Note:
See TracTickets
for help on using tickets.
Ticket #16675 has been marked as a duplicate of this ticket.