MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ahopper1969
Post subject: Project 'x' cannot reference itself, while using custom comp  PostPosted: Aug 22, 2008 - 05:53 PM
Registered Member
Registered Member


Joined: Aug 27, 2007
Posts: 2

Using 6.5GA I can add the component (a JPanel created with Matisse) to the palette, but when I select it and drag it onto the gui building screen the image does not appear and the following error appears in the log: "Project 'hds-j2ee' cannot reference itself". I tried creating a new workspace, that solved the problem temporarily and allowed my to build my "master panel" using the custom subpanels. However the error has reappreared and my master panel now shows "invalid" where the custom components were used. I don't want to keep creating new workspaces...
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Project  PostPosted: Aug 22, 2008 - 08:22 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Can you use the -clean command to try and fix this issue:-
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-10280.html

Let me know if the problem persists.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
ahopper1969
Post subject: tried that  PostPosted: Aug 26, 2008 - 02:53 AM
Registered Member
Registered Member


Joined: Aug 27, 2007
Posts: 2

I tried that, -clean is actually in my eclipse.ini file. No effect.
 
 View user's profile Send private message  
Reply with quote Back to top
msmith@anuesystems.com
Post subject:   PostPosted: Dec 17, 2008 - 03:11 PM
Registered Member
Registered Member


Joined: Dec 17, 2008
Posts: 5

I'm having a similar problem. The custom forms in my matisse palette were showing up in other forms as invalid.
Now the forms don't show up at all ( even though they're there in the src ) and I can't selected a custom form and move it
onto another form, i just lose focus in the palette. I'm using MyEclipse 6.5

Now the really irritating part: I installed a new eclipse, installed a new 6.6 MyEclipse and it still had my old custom forms in the matisse palette.
How the heck can I uninstall and install a fresh version that will clear out what ever is wrong with my matisse palette?
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: Dec 17, 2008 - 04:43 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

msmith@anuesystems.com,
You can click the arrow on the top right hand corner of the Matisse Palette and then remove the custom forms from the palette. That doesn't help?

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
msmith@anuesystems.com
Post subject:   PostPosted: Dec 17, 2008 - 06:03 PM
Registered Member
Registered Member


Joined: Dec 17, 2008
Posts: 5

My point is that removing the custom forms and adding them again doesn't fix the invalid problem. There is something in the matisse palette that is broken.

I was hoping that by uninstalling MyEclipse and reinstalling that the matiese palette would be reset. But it's obvious that uninstalling the plugin is leaving some information behind since when I reinstall the plugin the custom forms are still there.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: Dec 18, 2008 - 06:52 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

msmith@anuesystems.com,
Did you setup MyEclipse using pulse?

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
msmith@anuesystems.com
Post subject:   PostPosted: Dec 18, 2008 - 07:16 PM
Registered Member
Registered Member


Joined: Dec 17, 2008
Posts: 5

This morning I downloaded the MyEclipse 7.0 all in one package and installed it. The custom form from my previous installation was still there, and it still showed up in my other form as invalid. I removed the custom form from the matisse palette and added it again, and the custom form displayed correctly.

I'm guessing something changed in the 7.0 version that was able to fix the problem.
I'm still not confident that that invalid state won't come back, but atleast for now it's working.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: Dec 19, 2008 - 04:54 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Glad to know its working. I hope the issue does not crop up again.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
msmith@anuesystems.com
Post subject:   PostPosted: Dec 22, 2008 - 05:45 PM
Registered Member
Registered Member


Joined: Dec 17, 2008
Posts: 5

The answer to the invalid problem is as follows:

I was building my classes under java 1.6, but MyEclipse 7.0 runs by default under java 1.5
and was unable to load the classes. I got no warnings when trying to move the form from the palette to the form, but I did get an error when trying to add the custom form to the target form using the popup menu.

The fix: edit the MyEclipse ini file and tell eclipse to run using a 1.6 JVM
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: Dec 22, 2008 - 07:09 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Thank you for posting this information.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
oliverhoppe
Post subject:   PostPosted: Feb 12, 2009 - 01:48 PM
Registered Member
Registered Member


Joined: Nov 03, 2008
Posts: 4

Hi,

i have got the same Problem like the others. I extra bought myeclipse pro because the ui-editor is one of my favourite features. Unfortunately it doesnt work with the custom components. I tried with jdk1.5 and jdk.16 from pulse and with 1.6.10 installed on my system.
When i create a new form which is nearly empty only with some buttons it works fine. During the enhancement of the form something must happen which makes it invalid. Maybe i'm wrong but i mean that i recognized the non functionality fo the custom component when i added action-listeners in the form. After that i couldnt add it to my main form. I really hope you will fix this or can give me a hint about this. I tried everything which is posted on the support forums here. I'm right about to switch to Netbeans where my forms work without any error.

Here is my installation summary:

*** Date:
Donnerstag, 12. Februar 2009 14.13 Uhr CET

** System properties:
OS=WindowsXP
OS version=5.1.0
Java version=1.6.0_06


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 7.0
Build id: 7.0-20081201




Eclipse Platform

Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700


Eclipse Graphical Editing Framework GEF

Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400


Eclipse RCP

Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800


Eclipse Java Development Tools

Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800


Eclipse Plug-in Development Environment

Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Programme\Genuitec\MyEclipse 7.0\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\Programme\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Programme\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
configuration
-vm
C:\Programme\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.6.0.006\bin\client\jvm.dll


Best wishes
Oliver
 
 View user's profile Send private message  
Reply with quote Back to top
oliverhoppe
Post subject:   PostPosted: Feb 16, 2009 - 10:30 AM
Registered Member
Registered Member


Joined: Nov 03, 2008
Posts: 4

Good Morning,

any ideas for a solution? It's not very nice that i have to add the forms i created by hand to my main form. Any help would be nice.

Thank you in advance

Oliver Hoppe
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: Feb 16, 2009 - 07:09 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Oliver,
Can you please send us a sample project to help us reproduce this issue at our end. You can hit the pm button below my post and send me the project with your form in it.

Thanks.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
oliverhoppe
Post subject:   PostPosted: Feb 18, 2009 - 09:18 AM
Registered Member
Registered Member


Joined: Nov 03, 2008
Posts: 4

Hi,

i solved the Problem myself. i never found any errors in the workspace log. Then i found another log called explorer-?.log. There i found the problems with my forms. The problem was that my forms had some clases inside which are no matisse forms but they also have to have a default contructor. Now all my forms are displayed correctly since i added an empty default constructor to all of them.

Best wishes from Germany

Oliver
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits