error weasis

1,427 views
Skip to first unread message

Fabrizzio Salazar Insis

unread,
Jan 30, 2013, 10:11:38 AM1/30/13
to dcm...@googlegroups.com
hi all

i have this problem.

when i try to open weasis it show this message:

cannot read this media!
transfer syntax uid: 1.2.840.10008.1.2.4.90
dicom codec: dcm4che
no image reader available for transfer syntax: 1.2.840.10008.1.2.4.90


this only occuss in mac, when i open weasis on windows it works.
this error message only shows sometimes , not all the time.


my server is installed on centos.

help please

Fs

fabrizzi...@msn.com

unread,
Jan 30, 2013, 11:24:46 AM1/30/13
to dcm...@googlegroups.com
the first time it works, when i try to open again weasis it show the error message, i have to resolve this help please.

Regards
Fs

nicolas...@gmail.com

unread,
Jan 30, 2013, 2:56:39 PM1/30/13
to dcm...@googlegroups.com
Could you attach log files if you get errors either on the dcm4chee side or on the weasis side.   

Are you running the latest version of Weasis? Is it a multiframe series?

fabrizzi...@msn.com

unread,
Jan 30, 2013, 5:24:42 PM1/30/13
to dcm...@googlegroups.com
the error occurs with any type of series, any modality, i'm using the last version 1.2.4. it seems that dcm4chee is ok.

the weasis log :

------------------------

----------------------------------------------------

Match: beginTraversal

Match: digest selected JREDesc: JREDesc[version 1.6.0_10+, heap=134217728-536870912, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:

    platform is: 1.7

    product is: 1.7.0_11

    location is: http://java.sun.com/products/autodl/j2se

    path is: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

    args is: 

    native platform is: Mac OS X, x86_64 [ x86_64, 64bit ]

    JavaFX runtime is: JavaFX 2.2.4 found at /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/

    enabled is: true

    registered is: true

    system is: true


Match: selecting maxHeap: 536870912

Match: selecting InitHeap: 134217728

Match: digesting vmargs: null

Match: digested vmargs: [JVMParameters: isSecure: true, args: ]

Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]

Match: digest LaunchDesc: null

Match: digest properties: []

Match: JVM args: [JVMParameters: isSecure: true, args: ]

Match: digest LaunchDesc: http://dicom.vital-it.ch:8089/weasis/substance.jnlp

Match: digest properties: []

Match: JVM args: [JVMParameters: isSecure: true, args: ]

Match: endTraversal ..

Match: JVM args final: -Xmx512m -Xms128m

Match: Running JREInfo Version    match: 1.7.0.11 == 1.7.0.11

Match: Running JVM args match: have:<-Djnlp.packEnabled=true -Xmx512m -Xms128m>  satisfy want:<-Xmx512m -Xms128m>

Match: beginTraversal

Match: digest selected JREDesc: JREDesc[version 0+, heap=-1--1, args=null, href=null, sel=false, com.sun.javaws.jnl.ResourcesDesc@4a6d35ef, null], JREInfo: JREInfo for index 0:

    platform is: 1.7

    product is: 1.7.0_11

    location is: http://java.sun.com/products/autodl/j2se

    path is: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

    args is: 

    native platform is: Mac OS X, x86_64 [ x86_64, 64bit ]

    JavaFX runtime is: JavaFX 2.2.4 found at /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/

    enabled is: true

    registered is: true

    system is: true


Match: ignoring maxHeap: -1

Match: ignoring InitHeap: -1

Match: digesting vmargs: null

Match: digested vmargs: [JVMParameters: isSecure: true, args: ]

Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]

Match: digest LaunchDesc: http://dicom.vital-it.ch:8089/weasis/substance.jnlp

Match: digest properties: []

Match: JVM args: [JVMParameters: isSecure: true, args: ]

Match: endTraversal ..

Match: JVM args final: 

Match: Running JREInfo Version    match: 1.7.0.11 == 1.7.0.11

Match: Running JVM args match: have:<-Djnlp.packEnabled=true -Xmx512m -Xms128m>  satisfy want:<>

java.io.FileNotFoundException: /Users/fabrizzio/Library/Application Support/Oracle/Java/Deployment/cache/6.0/29/3ab865dd-4aa7ba2a.icns (No such file or directory)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(FileInputStream.java:138)

at java.io.FileInputStream.<init>(FileInputStream.java:97)

at com.sun.javaws.MacOSXShortcutUtil.copy(Unknown Source)

at com.sun.javaws.MacOSXShortcutUtil.createBundle(Unknown Source)

at com.sun.javaws.MacOSXLocalInstallHandler.createBundle(Unknown Source)

at com.sun.javaws.MacOSXLocalInstallHandler.createShortcuts(Unknown Source)

at com.sun.javaws.LocalInstallHandler.installShortcuts(Unknown Source)

at com.sun.javaws.LocalInstallHandler.performIntegration(Unknown Source)

at com.sun.javaws.LocalInstallHandler.install(Unknown Source)

at com.sun.javaws.Launcher.notifyLocalInstallHandler(Unknown Source)

at com.sun.javaws.Launcher.prepareResources(Unknown Source)

at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)

at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

at com.sun.javaws.Launcher.launch(Unknown Source)

at com.sun.javaws.Main.launchApp(Unknown Source)

at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

at com.sun.javaws.Main.access$000(Unknown Source)

at com.sun.javaws.Main$1.run(Unknown Source)

at java.lang.Thread.run(Thread.java:722)


***** Starting Configuration *****

Operating system: macosx-x86-64

Installation directory: /Users/fabrizzio/.weasis

weasis.language: en

weasis.country: US

weasis.variant: 

weasis.confirm.closing: true

weasis.export.dicom: false

org.apache.sling.commons.log.level: INFO

org.apache.sling.commons.log.file: 

org.apache.sling.commons.log.file.number: 5

org.apache.sling.commons.log.file.size: 10MB

org.apache.sling.commons.log.pattern: {0,date,dd.MM.yyyy HH:mm:ss.SSS} *{4}* [{2}] {3} {5}

weasis.look: com.apple.laf.AquaLookAndFeel

Last running version: 1.2.4

Current version: 1.2.4

***** End of Configuration *****


Weasis Starting...

========================


Uninstall not used: weasis-dicom-explorer-i18n-1.1.0

Uninstall not used: weasis-base-viewer2d-i18n-1.1.0

Uninstall not used: weasis-core-ui-i18n-1.1.0

Uninstall not used: weasis-core-api-i18n-1.1.0

Uninstall not used: weasis-base-ui-i18n-1.1.0

Uninstall not used: weasis-dicom-viewer2d-i18n-1.1.0

Uninstall not used: weasis-dicom-codec-i18n-1.1.0

Cannot install native bundle: jai-lib-macosx-x86-64-1.1.4-b03

Cannot install native bundle: weasis-imageio-codec-macosx-x86-64-1.2-b04

30.01.2013 17:00:53.197 *INFO* [FelixStartLevel] org.apache.sling.commons.log.internal.LogManager LogManager: Logging set up from context

____________________________

Welcome to Apache Felix Gogo


telnetd is running on 127.0.0.1:17179

30.01.2013 17:01:01.331 *ERROR* [AWT-EventQueue-0] org.weasis.core.api.media.data.ImageElement Cannot read pixel data!: file:/var/folders/63/3rxt_mps0sg_cl801vk0z12c0000gn/T/weasis-fabrizzio.E6B295A9/dicom/image_6228767484149403455.dcm

java.util.concurrent.ExecutionException: java.lang.NullPointerException

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

at java.util.concurrent.FutureTask.get(FutureTask.java:111)

at org.weasis.core.api.media.data.ImageElement.startImageLoading(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement.getImage(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement.getImage(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement.getImage(ImageElement.java)

at org.weasis.dicom.viewer2d.View2d.setDefautWindowLevel(View2d.java)

at org.weasis.dicom.viewer2d.View2d.setSeries(View2d.java)

at org.weasis.dicom.viewer2d.View2d.setSeries(View2d.java)

at org.weasis.core.ui.editor.image.DefaultView2d.setSeries(DefaultView2d.java)

at org.weasis.core.ui.editor.image.ImageViewerPlugin.addSeries(ImageViewerPlugin.java)

at org.weasis.base.ui.gui.WeasisWin.openSeriesInViewerPlugin(WeasisWin.java)

at org.weasis.base.ui.gui.WeasisWin.propertyChange(WeasisWin.java)

at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)

at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)

at org.weasis.dicom.explorer.DicomModel.firePropertyChange(DicomModel.java)

at org.weasis.core.ui.editor.ViewerPluginBuilder.openSequenceInPlugin(ViewerPluginBuilder.java)

at org.weasis.core.ui.editor.ViewerPluginBuilder.openSequenceInPlugin(ViewerPluginBuilder.java)

at org.weasis.dicom.explorer.wado.LoadSeries$Download$2.run(LoadSeries.java)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)

at java.awt.EventQueue.access$200(EventQueue.java:103)

at java.awt.EventQueue$3.run(EventQueue.java:682)

at java.awt.EventQueue$3.run(EventQueue.java:680)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Caused by: java.lang.NullPointerException

at org.weasis.dicom.codec.DicomMediaIO.initImageReader(DicomMediaIO.java)

at org.weasis.dicom.codec.DicomMediaIO.readAsRenderedImage(DicomMediaIO.java)

at org.weasis.dicom.codec.DicomMediaIO.getMediaFragment(DicomMediaIO.java)

at org.weasis.dicom.codec.DicomMediaIO.getMediaFragment(DicomMediaIO.java)

at org.weasis.core.api.media.data.ImageElement.loadImage(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement$Load.call(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement$Load.call(ImageElement.java)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

at java.lang.Thread.run(Thread.java:722)

30.01.2013 17:01:01.644 *ERROR* [Thread-18] org.weasis.core.api.media.data.ImageElement Cannot read pixel data!: file:/var/folders/63/3rxt_mps0sg_cl801vk0z12c0000gn/T/weasis-fabrizzio.E6B295A9/dicom/image_819426492475532276.dcm

java.util.concurrent.ExecutionException: java.lang.NullPointerException

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

at java.util.concurrent.FutureTask.get(FutureTask.java:111)

at org.weasis.core.api.media.data.ImageElement.startImageLoading(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement.getImage(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement.getImage(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement.getImage(ImageElement.java)

at org.weasis.dicom.codec.DicomSeries$PreloadingTask.loadArrays(DicomSeries.java)

at org.weasis.dicom.codec.DicomSeries$PreloadingTask.run(DicomSeries.java)

Caused by: java.lang.NullPointerException

at org.weasis.dicom.codec.DicomMediaIO.initImageReader(DicomMediaIO.java)

at org.weasis.dicom.codec.DicomMediaIO.readAsRenderedImage(DicomMediaIO.java)

at org.weasis.dicom.codec.DicomMediaIO.getMediaFragment(DicomMediaIO.java)

at org.weasis.dicom.codec.DicomMediaIO.getMediaFragment(DicomMediaIO.java)

at org.weasis.core.api.media.data.ImageElement.loadImage(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement$Load.call(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement$Load.call(ImageElement.java)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

at java.lang.Thread.run(Thread.java:722)

30.01.2013 17:01:01.648 *ERROR* [Thread-18] org.weasis.core.api.media.data.ImageElement Cannot read pixel data!: file:/var/folders/63/3rxt_mps0sg_cl801vk0z12c0000gn/T/weasis-fabrizzio.E6B295A9/dicom/image_2039241932576708042.dcm

java.util.concurrent.ExecutionException: java.lang.NullPointerException

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)

at java.util.concurrent.FutureTask.get(FutureTask.java:111)

at org.weasis.core.api.media.data.ImageElement.startImageLoading(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement.getImage(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement.getImage(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement.getImage(ImageElement.java)

at org.weasis.dicom.codec.DicomSeries$PreloadingTask.loadArrays(DicomSeries.java)

at org.weasis.dicom.codec.DicomSeries$PreloadingTask.run(DicomSeries.java)

Caused by: java.lang.NullPointerException

at org.weasis.dicom.codec.DicomMediaIO.initImageReader(DicomMediaIO.java)

at org.weasis.dicom.codec.DicomMediaIO.readAsRenderedImage(DicomMediaIO.java)

at org.weasis.dicom.codec.DicomMediaIO.getMediaFragment(DicomMediaIO.java)

at org.weasis.dicom.codec.DicomMediaIO.getMediaFragment(DicomMediaIO.java)

at org.weasis.core.api.media.data.ImageElement.loadImage(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement$Load.call(ImageElement.java)

at org.weasis.core.api.media.data.ImageElement$Load.call(ImageElement.java)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

at java.util.concurrent.FutureTask.run(FutureTask.java:166)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

at java.lang.Thread.run(Thread.java:722)

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: null source

at java.util.EventObject.<init>(EventObject.java:56)

at java.awt.AWTEvent.<init>(AWTEvent.java:337)

at java.awt.event.ComponentEvent.<init>(ComponentEvent.java:119)

at java.awt.event.WindowEvent.<init>(WindowEvent.java:203)

at java.awt.event.WindowEvent.<init>(WindowEvent.java:248)

at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:711)

at java.awt.Component.dispatchEventImpl(Component.java:4731)

at java.awt.Container.dispatchEventImpl(Container.java:2287)

at java.awt.Window.dispatchEventImpl(Window.java:2719)

at java.awt.Component.dispatchEvent(Component.java:4687)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)

at java.awt.EventQueue.access$200(EventQueue.java:103)

at java.awt.EventQueue$3.run(EventQueue.java:682)

at java.awt.EventQueue$3.run(EventQueue.java:680)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)

at java.awt.EventQueue$4.run(EventQueue.java:696)

at java.awt.EventQueue$4.run(EventQueue.java:694)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

--------



Regards
Fs

nicolas...@gmail.com

unread,
Jan 31, 2013, 3:26:07 AM1/31/13
to dcm...@googlegroups.com

A similar bug was reported, I was hopping that the version 1.2.4 would fix it. That bug happened very rarely, I never manage to reproduce it.

Is your issue happens sometimes, often or almost every time?

When it happens, could you copy the image that cannot be read, see the log:


30.01.2013 17:01:01.331 *ERROR* [AWT-EventQueue-0] org.weasis.core.api.media.

data.ImageElement Cannot read pixel data!: file:/var/folders/63/3rxt_mps0sg_cl801vk0z12c0000gn/T/weasis-fabrizzio.E6B295A9/dicom/image_6228767484149403455.dcm

And then try to open the image locally. You need to remove the series first (right click on the thumbnail and choose remove).

fabrizzi...@msn.com

unread,
Jan 31, 2013, 11:48:41 AM1/31/13
to dcm...@googlegroups.com
almost every time, i test it with 2 mackbook but it's the same thing.
i am using the last version 1.2.4.
i try to open just the single dicom file locally, but the error message is the same.

my centos server has activating the JPG2000 Lossless compression.

Regards

nicolas...@gmail.com

unread,
Jan 31, 2013, 4:43:59 PM1/31/13
to dcm...@googlegroups.com
Could you send me the image that  you cannot read.

Is a 64-bit Linux system? If yes, did you replace libclib_jiio.so (in bin) by the 64-bit version.

fabrizzi...@msn.com

unread,
Jan 31, 2013, 8:35:33 PM1/31/13
to dcm...@googlegroups.com
image_7101874500379122433.dcm 2.zip

nicolas...@gmail.com

unread,
Feb 1, 2013, 3:27:22 AM2/1/13
to dcm...@googlegroups.com
Yes, I can reproduce the issue from "Wrix" on the demo server. I will investigate.

nicolas...@gmail.com

unread,
Feb 20, 2013, 2:59:49 AM2/20/13
to dcm...@googlegroups.com
I can reproduce this issue only on Mac with JDK 7 and when launching Weasis through Java Web Start ... and sometimes it works with this configuration.

I finally located the issue and made a workaround, but I will try to open issue on OpenJDK because there is no thread safe access to the imageio registry to get or register image codecs.
Reply all
Reply to author
Forward
0 new messages