Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-1503

WML file (saved WB) cannot be loaded - file not found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.3
    • 3.1.4
    • Converters
    • None
    • Debian

    Description

      To reproduce:

      1. enter room, draw something on WB and save image of WB
      2. clear WB, go to File tab and try to load saved image - nothing happens

      I checked that file gets created and really exists but in log I see FileNotFoundException.

      DEBUG 11-04 09:23:42.050 o.a.o.c.d.LibraryWmlLoader:50 [RTMPConnectionExecutor-2] - filepathComplete: /opt/om313/webapps/komiq/upload/stored/d7c60958-2e1a-4612-a905-c88860c21ee8.wml
      ERROR 11-04 09:23:42.060 o.a.o.c.d.LibraryWmlLoader:63 [RTMPConnectionExecutor-2] - loadWmlFile
      java.io.FileNotFoundException: /opt/om313/webapps/komiq/upload/stored/d7c60958-2e1a-4612-a905-c88860c21ee8.wml (No such file or directory)
      	at java.io.FileInputStream.open0(Native Method)
      	at java.io.FileInputStream.open(FileInputStream.java:195)
      	at java.io.FileInputStream.<init>(FileInputStream.java:138)
      	at org.apache.openmeetings.core.documents.LibraryWmlLoader.loadWmlFile(LibraryWmlLoader.java:55)
      	at org.apache.openmeetings.core.remote.ConferenceLibrary.loadWmlObject(ConferenceLibrary.java:164)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:189)
      	at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:114)
      	at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:191)
      	at org.red5.server.net.rtmp.RTMPHandler.onCommand(RTMPHandler.java:297)
      	at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:116)
      	at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:72)
      	at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:38)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745) 
      

      It was hard to spot it but application is looking for d7c60958-2e1a-4612-a905-c88860c21ee8.wml (filename with MINUSES) but on filesystem files are created with UNDERSCORES: d7c60958_2e1a_4612_a905_c88860c21ee8.wml.

      Attachments

        Activity

          People

            solomax Maxim Solodovnik
            mjedrzejczak Maciej Jędrzejczak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: