Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox hangs #117

Open
taurus227 opened this issue Oct 4, 2017 · 9 comments
Open

Firefox hangs #117

taurus227 opened this issue Oct 4, 2017 · 9 comments

Comments

@taurus227
Copy link

Using the Java API, on Firefox the log shows this upon login (so upon Board constructor being invoked):
Oct 05, 2017 12:45:13 AM com.vaadin.server.VaadinServlet serveStaticResourcesInVAADIN INFO: Requested resource [/VAADIN/frontend/es6/webcomponentsjs/webcomponents-lite.js] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.

When selecting the View that contains the Board, the browser hangs and the page is never displyed.

Using Chrome, the page is displayed, but there are more logs:
Oct 05, 2017 12:47:49 AM com.vaadin.server.VaadinServlet serveStaticResourcesInVAADIN INFO: Requested resource [/VAADIN/frontend/es6/vaadin-board/vaadin-board.html] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder. Oct 05, 2017 12:47:49 AM com.vaadin.server.VaadinServlet serveStaticResourcesInVAADIN INFO: Requested resource [/VAADIN/frontend/es6/vaadin-board/vaadin-board-row.html] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your classpath or add files to WebContent/VAADIN folder.

@alvarezguille
Copy link
Member

Thanks for reporting this, we will take a look at it. What version of Vaadin Framework are you using?

@taurus227
Copy link
Author

8.1.5

@alvarezguille
Copy link
Member

Do you have both

<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-board-precompiled</artifactId>
    <version>1.0.0</version>
</dependency>

and

<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-board-precompiled</artifactId>
    <version>1.0.0</version>
</dependency>

Dependencies in you pom.xml?

@taurus227
Copy link
Author

Well, you mentioned the same vaadin-board-precompiled twice. And that's the only one I added to my pom, because vaadin-board-precompiled already depends on vaadin-board, so both are in my dependency hierarchy.

@alvarezguille
Copy link
Member

alvarezguille commented Oct 4, 2017 via email

@QNENet
Copy link

QNENet commented Nov 24, 2017

I am having a similar problem with the new Firefox and the Opera browser. (Java board)
My setup works fine with Chrome.
The board demo site seems to run OK on Chrome, Opera and new Firefox.

@alvarezguille
Copy link
Member

alvarezguille commented Nov 24, 2017

Have you tested with 1.1.0-beta1? It includes some updated polyfills that improve behavior in IE and other browsers.

If this still happens, a simple example of how to reproduce this issue would really help us figuring out what's going on

@QNENet
Copy link

QNENet commented Nov 24, 2017

I am using 1.1.0-beta1 but in an unusual setup. I have the board jar and the webcomponents-helper wrapped in an OSGi bundle and running in an OSGi framework, but not as per the Vaadin OSGi approach :-)
Over the weekend I will try to isolate where the problem could be. The interesting thing is that it works OK in Chrome.

@QNENet
Copy link

QNENet commented Dec 14, 2017

Following discussion with Artur in the board forum we have established that my problem relates to the fact that Chrome auto handles the polyfill and Firefox and Safari do not.
Handling the loading of the polyfill in OSGi solved the problem in my case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants