Is it an mp3 file that your are uploading?

2012/10/23 RM P <bytep...@gmail.com>

> Hi Sebastian,
>
> See below extract from the log file...  appreciate if you could some
> pointers to fix this problem.
>
>
> DEBUG 10-23 16:39:12.465 ProcessHelper.java 56719 87
> org.openmeetings.app.documents.GenerateSWF [http-0.0.0.0-5080-3] - process:
> uploadFLV ID :: 164
>
> DEBUG 10-23 16:39:12.465 ProcessHelper.java 56719 88
> org.openmeetings.app.documents.GenerateSWF [http-0.0.0.0-5080-3] - args:
> [ffmpeg, -i,
> F:\OM2.0\dist_3Oct\red5\webapps\openmeetings\uploadtemp\files\eb8e783bc283fdf261f790e5f29bc6a0.flv,
> -ar, 22050, -acodec, libmp3lame, -ab, 32k, -vcodec, flv,
> F:\OM2.0\dist_3Oct\red5\webapps\openmeetings\streams\hibernate\UPLOADFLV_164.flv]
>
> DEBUG 10-23 16:39:17.574 ProcessHelper.java 61828 119
> org.openmeetings.app.documents.GenerateSWF [http-0.0.0.0-5080-3] - exitVal:
> 0
>
> ERROR 10-23 16:39:17.574 FlvExplorerConverter.java 61828 164
> org.openmeetings.app.data.flvrecord.converter.FlvExplorerConverter
> [http-0.0.0.0-5080-3] - [convertToFLV]
>
> java.lang.NullPointerException: null
>
> at
> org.openmeetings.app.data.flvrecord.converter.FlvExplorerConverter.convertToFLV(FlvExplorerConverter.java:119)
> [openmeetings-2.0.0-RELEASE.jar:na]
>
> at
> org.openmeetings.app.data.flvrecord.converter.FlvExplorerConverter.startConversion(FlvExplorerConverter.java:67)
> [openmeetings-2.0.0-RELEASE.jar:na]
>
> at
> org.openmeetings.app.data.file.FileProcessor.processFile(FileProcessor.java:223)
> [openmeetings-2.0.0-RELEASE.jar:na]
>
> at
> org.openmeetings.servlet.outputhandler.UploadController.handleFileUpload(UploadController.java:109)
> [openmeetings-2.0.0-RELEASE.jar:na]
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_25]
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ~[na:1.6.0_25]
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ~[na:1.6.0_25]
>
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_25]
>
> at
> org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
> [spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
>
> at
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
> [spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
>
> at
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
> [org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
>
> at
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
> [org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
>
> at
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
> [org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
>
> at
> org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
> [org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
>
> at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> [org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
>
> at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> [org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
>
> at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> [org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
>
> at
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
> [org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> [javaee-api-5.1.2.om.jar:na]
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> [javaee-api-5.1.2.om.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53)
> [openmeetings-2.0.0-RELEASE.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
> [red5.jar:na]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> [catalina-6.0.32.jar:6.0.32]
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> [tomcat-coyote-6.0.32.jar:6.0.32]
>
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> [tomcat-coyote-6.0.32.jar:6.0.32]
>
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> [tomcat-coyote-6.0.32.jar:6.0.32]
>
> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_25]
>
>
> On Tue, Oct 16, 2012 at 12:59 PM, seba.wag...@gmail.com <
> seba.wag...@gmail.com> wrote:
>
>> Did you check what the real issue is by looking at the
>> NullPointerException?
>> Manipulating database record would require to restart red5 service
>> everytime you've modified the database manually as there are caches
>> involved.
>>
>> Sebastian
>>
>>
>> 2012/10/16 RM P <bytep...@gmail.com>
>>
>>> It does not work. Same error.
>>>
>>> I would prefer your help on bulk uploads. I will put files in the stream
>>> folder in flv format.Would appreciate your inputs for table changes as an
>>> alternative for now.
>>>
>>> thanks,
>>> Manohar
>>>
>>>
>>> On Sat, Oct 13, 2012 at 1:52 PM, seba.wag...@gmail.com <
>>> seba.wag...@gmail.com> wrote:
>>>
>>>> do uploads of AVI or MOV files work for you?
>>>>
>>>> Also you have to look at the openmeetings/red5 log to see the real
>>>> issue.
>>>>
>>>> Sebastian
>>>>
>>>>
>>>> 2012/10/13 RM P <bytep...@gmail.com>
>>>>
>>>>>
>>>>> Hi Sebastian,
>>>>>
>>>>> Thanks for the feedback. With both client (fileupload.lzx) and server
>>>>> changes file upload completes and fails in convertToFLV process with below
>>>>> error -
>>>>>
>>>>> *n this case after upload i get following errors -
>>>>> Name: exitValue
>>>>> Value: -1
>>>>> Name: exception
>>>>> Value: java.lang.NullPointerException
>>>>> Name: error
>>>>> Value: null
>>>>> Name: process
>>>>> Value: convertToFLV
>>>>> Name: exitValue
>>>>> Value: 0
>>>>> Name: command
>>>>> Value:
>>>>> Name: completeName
>>>>> Value:
>>>>> F:\OM2.0\dist_3Oct\red5\webapps\afflatusmeet\uploadtemp\files\aca809addf8be08b5b0f324aa66db34c
>>>>> Name: error
>>>>> Value:
>>>>> Name: fileExplorerItemId
>>>>> Value: 100
>>>>> Name: process
>>>>> Value: *
>>>>>
>>>>> thanks,
>>>>> Manohar
>>>>>
>>>>>
>>>>> On Fri, Oct 12, 2012 at 5:03 PM, seba.wag...@gmail.com <
>>>>> seba.wag...@gmail.com> wrote:
>>>>>
>>>>>> And the server side file extensions are stored in:
>>>>>> org.apache.openmeetings.utils.StoredFile
>>>>>> Line 50
>>>>>>     private static final Set<String> videoExtensions = new
>>>>>> HashSet<String>(
>>>>>>             Arrays.asList(new String[] { "avi", "mov", "flv", "mp4"
>>>>>> }));
>>>>>>
>>>>>> Sebastian
>>>>>>
>>>>>> 2012/10/12 seba.wag...@gmail.com <seba.wag...@gmail.com>
>>>>>>
>>>>>> Hi Manohar,
>>>>>>>
>>>>>>> what files in the client did you modify so far?
>>>>>>>
>>>>>>> Sebastian
>>>>>>>
>>>>>>>
>>>>>>> 2012/10/12 RM P <bytep...@gmail.com>
>>>>>>>
>>>>>>>>
>>>>>>>> HI Sebastian,
>>>>>>>>
>>>>>>>> I could do the changes for the client and not really figure out
>>>>>>>> changes required for server. can you please help. I have currently 
>>>>>>>> added
>>>>>>>> Audio with wma and wav extensions in client.
>>>>>>>>
>>>>>>>> thanks,
>>>>>>>> Manohar
>>>>>>>>
>>>>>>>>  On Thu, Oct 11, 2012 at 6:57 PM, RM P <bytep...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Thanks Sebastian.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> > if FFMPEG can convert it to FLV then it should be possible.
>>>>>>>>> *in this case after upload i get following errors -
>>>>>>>>> Name: exitValue
>>>>>>>>> Value: -1
>>>>>>>>> Name: exception
>>>>>>>>> Value: java.lang.NullPointerException
>>>>>>>>> Name: error
>>>>>>>>> Value: null
>>>>>>>>> Name: process
>>>>>>>>> Value: convertToFLV
>>>>>>>>> Name: exitValue
>>>>>>>>> Value: 0
>>>>>>>>> Name: command
>>>>>>>>> Value:
>>>>>>>>> Name: completeName
>>>>>>>>> Value:
>>>>>>>>> F:\OM2.0\dist_3Oct\red5\webapps\afflatusmeet\uploadtemp\files\aca809addf8be08b5b0f324aa66db34c
>>>>>>>>> Name: error
>>>>>>>>> Value:
>>>>>>>>> Name: fileExplorerItemId
>>>>>>>>> Value: 100
>>>>>>>>> Name: process
>>>>>>>>> Value: *
>>>>>>>>>
>>>>>>>>> > But you need to add it to the client and server side file
>>>>>>>>> extension filter.
>>>>>>>>> > Those are hardcoded and you need to compile from source to
>>>>>>>>> modify it.
>>>>>>>>> can you please tell which files to modify. Will do it and compile
>>>>>>>>> and see if it works.
>>>>>>>>>
>>>>>>>>> Also would be great if you can suggest way to do bulk upload of
>>>>>>>>> the files. I kind of know the folders where to put files. However i 
>>>>>>>>> believe
>>>>>>>>> the mapping of file names and  uploaded files is in database. If you 
>>>>>>>>> could
>>>>>>>>> pointers on database tables which hold this information, I would 
>>>>>>>>> prefer to
>>>>>>>>> upload files to server folders and update tables instead of doing  
>>>>>>>>> manual
>>>>>>>>> uploads one at a time.
>>>>>>>>>
>>>>>>>>> Appreciate your reply sir.
>>>>>>>>>
>>>>>>>>> thanks,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, Oct 11, 2012 at 12:55 PM, seba.wag...@gmail.com <
>>>>>>>>> seba.wag...@gmail.com> wrote:
>>>>>>>>> > Hi Manohar,
>>>>>>>>> >
>>>>>>>>> > if FFMPEG can convert it to FLV then it should be possible.
>>>>>>>>> > But you need to add it to the client and server side file
>>>>>>>>> extension filter.
>>>>>>>>> > Those are hardcoded and you need to compile from source to
>>>>>>>>> modify it.
>>>>>>>>> >
>>>>>>>>> > Sebastian
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> > 2012/10/11 RM P <bytep...@gmail.com>
>>>>>>>>> >>
>>>>>>>>> >> Hello,
>>>>>>>>> >>
>>>>>>>>> >> I  would appreciate your reply on following query -
>>>>>>>>> >>
>>>>>>>>> >> currently cannot upload windows media audio files with file
>>>>>>>>> upload
>>>>>>>>> >> option. Had coverted wma file to flv and tried uploading. It
>>>>>>>>> exits
>>>>>>>>> >> with java exception. Is there any way to upload wma files for
>>>>>>>>> sharing.
>>>>>>>>> >>
>>>>>>>>> >> thanks,
>>>>>>>>> >> Manohar
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> > --
>>>>>>>>> > Sebastian Wagner
>>>>>>>>> > https://twitter.com/#!/dead_lock
>>>>>>>>> > http://www.webbase-design.de
>>>>>>>>> > http://www.wagner-sebastian.com
>>>>>>>>> > seba.wag...@gmail.com
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Sebastian Wagner
>>>>>>> https://twitter.com/#!/dead_lock
>>>>>>> http://www.webbase-design.de
>>>>>>> http://www.wagner-sebastian.com
>>>>>>> seba.wag...@gmail.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sebastian Wagner
>>>>>> https://twitter.com/#!/dead_lock
>>>>>> http://www.webbase-design.de
>>>>>> http://www.wagner-sebastian.com
>>>>>> seba.wag...@gmail.com
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Sebastian Wagner
>>>> https://twitter.com/#!/dead_lock
>>>> http://www.webbase-design.de
>>>> http://www.wagner-sebastian.com
>>>> seba.wag...@gmail.com
>>>>
>>>
>>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wag...@gmail.com
>>
>
>


-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wag...@gmail.com

Reply via email to