Hi Elvin! Is this proxy problem occuring with the online demo application or within your own development enviroment? If latter, what vaadin version, ide (eclipse…), server (tomcat…) and web browser you using when the problem occurs?
You have to clear your browser cache if you are switching between the different webcam add-on versions.
Thanks for your response. I am sorry I did not answer to you sooner, I’ve been so busy that I could not even connect to the internet.
I am having the problem in the demo, and also in my application. I am using vaadin 6.6.0 and Tomcat 6.0.26. I am not using eclipse, I am using Netbeans 6.9.
I did try deleting every browser history and it did not work, the funny thing is that I use Firefox, and if I try using IE the button does not appear either. Do you think I need to clean something at the flash player level?
Hello!
I just tried to use the addon but it is not working I am getting the following exception:
SCHWERWIEGEND: Terminal error:
java.lang.NullPointerException: Parameters must be non-null strings
at com.vaadin.terminal.gwt.server.JsonPaintTarget.addAttribute(JsonPaintTarget.java:420)
at org.vaadin.webcamforvaadin.WebCamForVaadin.paintContent(WebCamForVaadin.java:120)
at com.vaadin.ui.AbstractComponent.paint(AbstractComponent.java:755)
at com.vaadin.ui.AbstractOrderedLayout.paintContent(AbstractOrderedLayout.java:171)
at com.vaadin.ui.AbstractComponent.paint(AbstractComponent.java:755)
at com.vaadin.ui.AbstractOrderedLayout.paintContent(AbstractOrderedLayout.java:171)
at com.vaadin.ui.AbstractComponent.paint(AbstractComponent.java:755)
at com.vaadin.ui.Panel.paintContent(Panel.java:255)
at com.vaadin.ui.Window.paintContent(Window.java:632)
at com.vaadin.ui.AbstractComponent.paint(AbstractComponent.java:755)
at com.vaadin.ui.Window.paintContent(Window.java:655)
at com.vaadin.ui.AbstractComponent.paint(AbstractComponent.java:755)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.writeUidlResponce(AbstractCommunicationManager.java:954)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.paintAfterVariableChanges(AbstractCommunicationManager.java:841)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:767)
at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:296)
at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
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)
Is the widget compatible with the current vaadin version?, I am using Vaadin 6.6.4 in this project.
One thing that I remembered right now was that the problem showing the capture button might be due the problem finding the path to image resource. The image resource couldn’t be found if the URL in the browser doesn’t end with ‘/’ symbol thats stupid thing and I have to fix it asap.
I finally had time to look the WebCamForVaadin add-on, and I noticed that there was a nasty bug in the path for the capturebutton image. Also the example code in the Directory was very badly outdated.
I updated the add-on and example code and I hope it will work now better! Please, let me know if there still exists some problems with it!
I just added the WebCam widget to my application but I get an error. However the online demo seems to be working fine.
This is my situation: In my application I create a modal window and put the widget and refresher as described in the vaadin directory. When a user clicks a certain button in my application this window pops… The modal window appears together with the webcam widget(which is not working)
Also an alert window appears with the following message:
Cannot call method ‘toString’ of undefined: fxwebcamforvaadinPID_SVAADIN_WEBCAM_PID name: fxwebcamforvaadinPID_SVAADIN_WEBCAM_PID
Hello, friends!
Really need help with this useful Addon!
I want to use WebCamForVaadin but in all the cases i tried, i got an JS runtime error with message like that:
"
Cannot convert ‘d’ to object: fxwebcamforvaadinPID_SVAADIN_WEBCAM_PID name: fxwebcamforvaadinPID_SVAADIN_WEBCAM_PID".
This message appears when flash-content is still loading… then after closing error-window, flash wakes up and camera began to work, and even Capture button works well…
I’m using last Vaadin 6.7.0 (but tried versions from 6.6.0), GWT 2.4.0(but tried with 2.3.0), IDE - NetBeans 7, also I’ve tried to build Add-On in my environment, but without any success(but may be i’m not very expirienced in add-on building)… and by the way, in the beginning of my experiments, variable that cannot be converted ( in error message) was not ‘d’ but ‘e’, and this is also very strange, as for me
Also i’d thoughts about rights-management for Flash… but even with saved permissions for host with “Allow” value… the same situation.
Web-camera is important part of my project and i would be very grateful for any help! Thank you in advance!
PS. Probably anyone could suggest another good way to access WebCamera from Vaadin? I discovered and tried to use JMF, but… WebCamForVaadin’s approach completely overwhelming!
I found a small amout of time to look this project.
I have now created an example Vaadin project (WebCamTest) that uses the WebCamForVaadin add-on. Could you please test whether the example project works for you?
If it works ok, feel free to use it as a basis of your own project. To be sure that project will be similar to mine I recommed you to use the Eclipse Java EE IDE for Web Developers and latest Vaadin Eclipse plug-in with it. And, please tell me if it doesn’t work…
Is it possible to set WebCam Widget in order to act as a Red5 or Wowza client ?!
I am trying to get access to webcam/ipcam from a swf module resource using vaadin(theme resource),
but I’m not getting this approach to work as required. I need to access webcam.
Yes. It is possible to use Red5 and Wowza Client using WebCamForVaadin. I had only to adjust mxml file in order to do that.
Although, I’ve acessed webcam without WebCamForVaadin add-on. It has required only to design a swf module, and build a Embedded Object point out to this module. Besides, it is necessary to setType to Embedded.TYPE_BROWSER and voilà.
I have already using this Web Cam application.
Now i want to store this captured image into my server side machine .
please tell me how i can do this task