Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 472983

Summary: GEF4 MVC example logo error
Product: [Tools] GEF Reporter: Patrik Suzzi <psuzzi>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: nyssen, psuzzi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
GEF4 web application error none

Description Patrik Suzzi CLA 2015-07-17 17:53:23 EDT
Created attachment 255281 [details]
GEF4 web application error

Hallo, 

I ran the GEF4 web logo example but I'm not able to run the application. 

I loaded the org.eclipse.gef4.mvc.examples.logo.web/index.xml in different browsers, but none of my browsers was able to run the example. 

Here is a description of the browser errors: 
- eclipse internal browser: is stuck in initial loading of the application
- chrome: when asked to download java, I'm reported that Chrome from v42+ (April 2015) can not run anymore java applications (Sun recommends to drop chrome)
- firefox: runtime error (see screenshot for details) 
- internet explorer: runtime error (see screenshot for details) 

Is there any safe way to run the web example into a browser with javascript support ?
Comment 1 Alexander Nyßen CLA 2015-07-18 05:02:48 EDT
Using Firefox and the latest java, the example still seems to be running properly. 

Running the examples locally is not possible, because with Java 8 Update 20 the ''Medium'' security level, via which unsigned applications could still be launched, and because the MVC local example bundles will only get signed on hudson.eclipse.org (we have a Maven profile for that)(see https://www.java.com/en/download/help/java_blocked.xml for details). I added some note about this to the example documentation at https://wiki.eclipse.org/GEF/GEF4/MVC/Examples.

So, please load the deployed web example (with signed bundles) from https://hudson.eclipse.org/gef/job/gef4-master/lastSuccessfulBuild/artifact/org.eclipse.gef4.mvc.examples.logo.web-files/index.html instead.

In either case, you will need to have the java plugin installed into your browser properly. On Chrome > v42 you will have to take special actions as outlined here: https://www.java.com/en/download/help/browser_activate_plugin.xml. I augmented the documentation of the MVC logo example with this link as well.

PS: Please use the forum for these kind of questions in the future. Resolving this bugzilla as INVALID.