Visual designer not working (again)

Hi,
I have red tons of threads about this issue but none of the solved my problem.
I’m using eclipse mars, installed ivyde and tomcat 8. When I open the vaadin editor it doesn’t appear design tab.

Installing Xulrunner as suggested by many threads, not succeeded.

Is there any advice?
Thank you so much

Andrea

I can second the call for help here.

In my case, I am running Eclipse LUNA SR2, JDK 1.8, Win 7, installed the apache Ivy plug-ins.

Also I have tried the default update site, the experimental update site or the market place version of the vaadin plug-in.

I do not even get source code showing up in the vaadin editor.

I have also tried addin the patch which was suggested for LUNA SR1, but I am still out of luck. We are moving to using LUNA and I have a Vaadin Project with some composites that were designed in the visual editor and I cannot work on them at the moment.

Any help would be highly welcome.

Thank you,
Dominic

P.S.: Installed plugins:
​ Apache Ivy 2.4.0.final_20141213170938 org.apache.ivy.feature.feature.group Apache Software Foundation
Apache Ivy Ant Tasks 2.4.0.final_20141213170938 org.apache.ivy.eclipse.ant.feature.feature.group Apache Software Foundation
Apache IvyDE 2.2.0.final-201311091524-RELEASE org.apache.ivyde.feature.feature.group Apache Software Foundation
Apache IvyDE Resolve Visualizer 2.2.0.final-201311091524-RELEASE org.apache.ivyde.eclipse.resolvevisualizer.feature.feature.group Apache Software Foundation
Eclipse IDE for Java EE Developers 4.4.2.20150219-0708 epp.package.jee null
Vaadin Plug-in for Eclipse 2.3.1.201503010200 com.vaadin.integration.eclipse.feature.group Vaadin Ltd
Vaadin Visual Designer for Eclipse (upgrade only) 2.3.1.201503010200 com.vaadin.wysiwyg.eclipse.feature.group Vaadin Ltd

Hello,

I did another setup, this time with Eclipse mars M5. The Source Editor is showing, thw visual editor is not.

The configuration is listed below.

Thanks,
Dominic

Again, the visual editor is missing and there is no name displayed in the vaadin editor tab,.
Apache Ivy 2.4.0.final_20141213170938 org.apache.ivy.feature.feature.group Apache Software Foundation
Apache Ivy Ant Tasks 2.4.0.final_20141213170938 org.apache.ivy.eclipse.ant.feature.feature.group Apache Software Foundation
Apache IvyDE 2.2.0.final-201311091524-RELEASE org.apache.ivyde.feature.feature.group Apache Software Foundation
Eclipse IDE for Java EE Developers 4.5.0.20150128-0656 epp.package.jee null
Vaadin Plug-in for Eclipse 2.3.1.201411271550 com.vaadin.integration.eclipse.feature.group Vaadin Ltd

I finally manually installed XULRunner in my development environment, downloading it from: http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/latest/runtimes/

After unzippung the file, I added to eclipse.ini (adjust path to your actual install path):

-Dorg.eclipse.swt.browser.XULRunnerPath=C:\devkit\toolchain\xulrunner\

So to make this even more confusing, I then went with the recomendation I found elsewhere and pointed the path above to (without adding xulrunner to my system path):

-Dorg.eclipse.swt.browser.XULRunnerPath=C:\

And actually this works just as fine.

So overall, the behaviour is pretty strange and the documentation on for the plug-in installation is inconsistent.

Here the requirements for Apache Ivy are documented:

https://vaadin.com/book/-/page/eclipse.html

Here, the Ivy dependency is not mentioned, and actually it appears, that it is not required for the editor (having the eclpise EE package installed):

https://vaadin.com/eclipse

Nowhere the in the documentation the XULRunner issue is documented. I would suggest to synchronize the documentation here.

Hope this helps.

Best regards,
Dominic

Hi Dominic,

it is very strange to that we are the only ones who are stuggling with this issue.

Anyway, have you got any clue?
Someoune told me it is not necessary install IvyDE plugin provided it is integrated in Luna.
The only necessary tools seem to be: java 8, Tomcat (8 in my case), Eclipse Luna and Vaadin. Do you agree? Does it need something else?

Beside this, even though not requested in vaadin installing instructions, following this (and many others) clue; https://vaadin.com/forum/#!/thread/29139/2499444
I installed XULrunner in dir D./xulrunner then I copied this statement at the bottom of eclipse.ini

-Dorg.eclipse.swt.browser.XULRunnerPath=D:/xulrunner

Obiviously that hadn’t be effective.
Hoping it might be someway useful
Andrea

The only things needed for me to get it running:

a) Add "-Dorg.eclipse.swt.browser.XULRunnerPath=C:" to the eclipse.ini. I did not have to install an actual xulrunner manually!
b) I did not install the Ivy dependencies (currently using Luna SR2 EE package)
c) Install the vaadin plug-in from the maketplace

I still get the annoying warning about xulrunner startup, but it works.

Dominic

Oh also I am teaching a class and most of the students had problems with the visual editor and getting it running.

Dominic

Unfortunately it doesn’t work with me.

Let you make me summarize MY enviroment:

Java 8, Tomcat 8 (they don’t seem to be involved), Eclipse EE Luna, then via marketplace I installed Vaadin and finalliy I modified this way eclipse.ini

-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-Dorg.eclipse.swt.browser.XULRunnerPath=c:\

Can you tell me how is arranged your environment?

Thank you so much
Andrea

eclipse.ini had been modified THIS way

-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
[…]

-Dorg.eclipse.swt.browser.XULRunnerPath=c:\

Anyway you say “most” of your students, not “all”… It seems this shows a certain kind of randomness…

I really cannot say much more. And “most students” only implies that there were only a few who bothered with the topic, as not all have to deal with this issue and don’t care.

Dominic

Ok… but can you tell me what actually is your environment?
Is it:
Luna EE
Vaadin via marketplace
NO XULRunner installed
and
-Dorg.eclipse.swt.browser.XULRunnerPath=c:
as the last row in eclipse.inii?

That is exactly the environment.

I also have maven installed, and a few other plug-ins, but I added them after veifying the vaadin plug-in functionality.

Currently it is java 1.8.0_25 (need to update)
Eclipse Luna SR2

And the following plug-ins (the others are SVN and maven integration stuff):
CollabNet Merge Client 3.0.13 com.collabnet.subversion.merge.feature.feature.group CollabNet
Eclipse IDE for Java EE Developers 4.4.2.20150219-0708 epp.package.jee null
JNA Library 3.4.0.t20120117_1605 net.java.dev.jna.feature.group null
m2e connector for build-helper-maven-plugin 0.15.0.201207090124 org.sonatype.m2e.buildhelper.feature.feature.group Sonatype, Inc.
Maven SCM handler for Subclipse 0.13.0.201303011221 org.sonatype.m2e.subclipse.feature.feature.group Sonatype, Inc.
Subclipse (Required) 1.8.22 org.tigris.subversion.subclipse.feature.group tigris.org
Subclipse Integration for Mylyn 3.x (Optional) 3.0.0 org.tigris.subversion.subclipse.mylyn.feature.group tigris.org
Subversion Client Adapter (Required) 1.8.6 org.tigris.subversion.clientadapter.feature.feature.group tigris.org
Subversion JavaHL Native Library Adapter 1.7.10 org.tigris.subversion.clientadapter.javahl.feature.feature.group tigris.org
Subversion Revision Graph 1.1.1 org.tigris.subversion.subclipse.graph.feature.feature.group tigris.org
SVNKit Client Adapter (Not required) 1.7.9.2 org.tigris.subversion.clientadapter.svnkit.feature.feature.group tigris.org
SVNKit Library 1.7.9.r9659_v20130411_2103 org.tmatesoft.svnkit.feature.group TMate Software
Vaadin Plug-in for Eclipse 2.3.1.201411271550 com.vaadin.integration.eclipse.feature.group Vaadin Ltd

Have you verified, that you are actually using the JDK you want to use under Preferences->Java->InstalledJREs ? I have not seen this to be related to the issue at hand but maybe …

Dominic

Thank you so much for your kindness.
I have to ask you three more questions:

  1. Is your OS a Window’s version?
  2. did you installed somewhere XULRunner?
  3. did you add
    -Dorg.eclipse.swt.browser.XULRunnerPath=c:
    as the last row in eclipse.inii?

Thanks in advance
Andrea

  1. Win 7 64bit
  2. Initially yes. But I deleted the install again.
  3. yes.

Dominic

Well, so do you have any idea about the reason of the failure of my installation that seems totally equals to yours? Could be something related to browser? (or anything else)
Andrea

Hi All,
So far i never been able to run Visual designer in eclipse Luna, tried couple of times, Luna SR2 java8 and vaadin 7.4.1 eclipse kepler is working fine. Visual designer is loading both tabs but nothing is working on designer tab, ex: if i drag and drop the file won’t change and designer tree won’t update. The designer tree view also showing only the first absolute layout but there are lot of layouts in the file. however these java files were coded in kepler.

Cheers
Supun

I am failing to trial Designer on an 8G 64bit workstation running Ubuntu.
I’ve installed eclipse and the vaadin plugin and designer from scratch twice.

It will run and create a new project in which I can use the designer, but restarting eclipse leaves me with the
“Please wait, loading view …” for the designer indefinitely.

The preview still works and then it hangs and crashes eclipse every time.
I hope somone has simple explanation for this?

For me,
export SWT_GTK3=0

…seems to have fixed my issue. Thanks Patrik in CS.