0

Eclipse suddenly hangs opening a screen. zul

asked 2010-12-22 04:30:18 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

Hi, suddenly Eclipse crashes when loading any file. zul.
I tried to reinstall eclipse; to import in a new project; to uninstall zk studio; to reinstall zk studio. None of this has solved the problem. Any ideas?
Thanks

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2010-12-23 08:18:09 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

updated 2010-12-23 08:30:24 +0800

The only mode to work fine is

<?xml version="1.0" encoding="UTF-8"?>
<zk >
    <log>
        <log-base></log-base>
    </log>

</zk>

The only way to run eclipse is to make zk.xml like upper. I do not know why the rest of the file generates a block ...

/Luca

link publish delete flag offensive edit

answered 2010-12-23 08:06:23 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

I find the problem:

if I have the file zk.xml on WEB-INF zk visual editor freeze.

This is my zk.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<zk >
    <log>
        <log-base></log-base>
    </log>


	<!--
	How to enable logging in ZK
	
		Create an i3-log.conf configuration file and place it in the Tomcat's /conf folder. It should include the following lines.
	
			org.zkoss.testlog=DEBUG
			org.zkoss=ERROR
	
		Remember to modify the logging.properties file in your Tomcat's /conf folder. 
		The default ConsoleHandler's level is INFO, so you won't see any DEBUG message otherwise java.util.logging.ConsoleHandler.level = INFO 
		to java.util.logging.ConsoleHandler.level = FINEST
	
	-->
	<!--	
	<device-config>
		<device-type>ajax</device-type>
		<timeout-uri>/timeout.zul</timeout-uri>
	</device-config>
	-->
	
	<!-- ========================================================== --> 
	<!--	This section is for zk 5.x	                			--> 
	<!-- ========================================================== --> 
	
	<!-- ========================================================== --> 
	<!--	Enable event thread for modal windows	                --> 
	<!-- ========================================================== --> 
	<!--
	<system-config>
		<disable-event-thread>false</disable-event-thread>
		<max-upload-size>-1</max-upload-size>
	</system-config>
	-->
	
	
	<!-- ========================================================== --> 
	<!--	The default font size is changed to "arial, sans-serif" --> 
	<!-- ========================================================== --> 
	<!--
	<library-property>
		<name>org.zkoss.zul.theme.fontFamilyT</name>
		<value>Verdana, Tahoma, Arial, Helvetica, sans-serif</value> 
	</library-property>
	<library-property> 
		<name>org.zkoss.zul.theme.fontFamilyC</name> 
		<value>Verdana, Tahoma, Arial, Helvetica, sans-serif</value>
	</library-property>
	-->
	
	<!-- ========================================================== --> 
	<!--	Per settare stylesheet etc...  							-->
	<!--    <stylesheet href="/css/zul/zksample2.css" type="text/css"--> 
	<!-- ========================================================== --> 
	<!--
	<language-config>
		<addon-uri>/WEB-INF/lang-addon.xml</addon-uri> 
	</language-config>
	-->
	
	<!-- ====================================================== --> 
	<!--	Displays the wait indicator for every user action	--> 
	<!-- ====================================================== --> 
	<!--
	<library-property>
		<name>org.zkoss.zul.progressbox.position</name>
		<value>center</value> 
	</library-property>
	<client-config> 
		<processing-prompt-delay>1</processing-prompt-delay>
	</client-config>
	-->
</zk>

...hmmmm..I no have idea about the problem... Some haved a similar problem?

Luca

link publish delete flag offensive edit

answered 2010-12-23 07:38:56 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

I tried to delete .metadata directory and $HOME/.zk without success....

My system: Eclipse Helios (I tried also with old version ganymede without success) + zk studio + java 1.6.0 + mac osx 10.6

Luca

link publish delete flag offensive edit

answered 2010-12-22 08:23:52 +0800

lramellavotta gravatar image lramellavotta flag of Italy
200 1 8

I found that eclipse crashes when I go on the project properties under zk ...

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-12-22 04:30:18 +0800

Seen: 690 times

Last updated: Dec 23 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More