Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » MoreSwingComponents fails 3.2M2
MoreSwingComponents fails 3.2M2 [message #110610] Sun, 06 November 2005 16:31 Go to next message
Eclipse UserFriend
Originally posted by: blas.puertareal.com

Hello

I'm trying to migrate a application to VE. After some problems with
tables & scrollpanes in 1.1.0.1 I try with 1.2.

I found that the MoreSwingComponents example fails in 1.2

My eclipse configuration is: 3.2M2 SDK, emf-sdo 2.2.0M2, GEF 3.2M2 and
VE I20051103.

The Table and JList appears outside the form and if one of the
scrollpanes were selected in the view, then the following error appears:

java.lang.NullPointerException
at
org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicGet(Basi cEObjectImpl.java:497)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:488)
at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjec tImpl.java:483)
at
org.eclipse.ve.internal.jfc.core.JScrollPaneGraphicalEditPar t.getModelChildren(JScrollPaneGraphicalEditPart.java:115)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:716)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.ve.internal.cde.core.CDEAbstractGraphicalEditPar t.refresh(CDEAbstractGraphicalEditPart.java:337)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:232)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:195)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:734)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh( AbstractGraphicalEditPart.java:554)
at
org.eclipse.ve.internal.cde.core.CDEAbstractGraphicalEditPar t.refresh(CDEAbstractGraphicalEditPart.java:337)
at
org.eclipse.gef.editparts.AbstractEditPart.addNotify(Abstrac tEditPart.java:232)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotif y(AbstractGraphicalEditPart.java:212)
at
org.eclipse.gef.editparts.AbstractEditPart.addChild(Abstract EditPart.java:195)
at
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(A bstractEditPart.java:734)
at
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractE ditPart.java:684)


Regards
Blas Rodriguez Somoza
Re: MoreSwingComponents fails 3.2M2 [message #110619 is a reply to message #110610] Mon, 07 November 2005 14:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

This often means there is a cache problem. Try this first and see if it
clears it up:

1) Open a VE and just close it. Make sure there are now no open VE's.
2) Do Project->Clean...->Clean all projects
3) Wait for build to complete.
4) Try opening the VE again, see if it works now.


--
Thanks,
Rich Kulp
Re: MoreSwingComponents fails 3.2M2 [message #110692 is a reply to message #110619] Tue, 08 November 2005 23:43 Go to previous message
Eclipse UserFriend
Originally posted by: blas.puertareal.com

Rich Kulp wrote:
> This often means there is a cache problem. Try this first and see if it
> clears it up:
>
> 1) Open a VE and just close it. Make sure there are now no open VE's.
> 2) Do Project->Clean...->Clean all projects
> 3) Wait for build to complete.
> 4) Try opening the VE again, see if it works now.
>
>

Excuse me.

I was sure I clean the project, but I didn't
Re: MoreSwingComponents fails 3.2M2 [message #611300 is a reply to message #110610] Mon, 07 November 2005 14:22 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

This often means there is a cache problem. Try this first and see if it
clears it up:

1) Open a VE and just close it. Make sure there are now no open VE's.
2) Do Project->Clean...->Clean all projects
3) Wait for build to complete.
4) Try opening the VE again, see if it works now.


--
Thanks,
Rich Kulp
Re: MoreSwingComponents fails 3.2M2 [message #611306 is a reply to message #110619] Tue, 08 November 2005 23:43 Go to previous message
Eclipse UserFriend
Originally posted by: blas.puertareal.com

Rich Kulp wrote:
> This often means there is a cache problem. Try this first and see if it
> clears it up:
>
> 1) Open a VE and just close it. Make sure there are now no open VE's.
> 2) Do Project->Clean...->Clean all projects
> 3) Wait for build to complete.
> 4) Try opening the VE again, see if it works now.
>
>

Excuse me.

I was sure I clean the project, but I didn't
Previous Topic:progress: virtual editor for mac
Next Topic:SWT Font handling in VE
Goto Forum:
  


Current Time: Thu Mar 28 13:16:52 GMT 2024

Powered by FUDForum. Page generated in 0.04536 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top