| Home » Archived » Visual Editor (VE) » Migrating Visual classes from Websphere to Eclipse
 Goto Forum:| 
| Migrating Visual classes from Websphere to Eclipse [message #96824] | Fri, 08 July 2005 04:00  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: stephen.okane.syntec-software.de 
 Hi,
 
 I've been working with WSAD (most recently 5.1) for the past couple of
 years, but have decided to try out eclipse 3.1.  I've installed the latest
 version of the VE, and tried out a couple of the examples, and everything
 seems fine, much better to work with than with WSAD 5.1.
 
 The problem i've encountered is when I open a (visual) class that has been
 developed in WSAD 5.1 (and therefore i assume with VE 0.5.0, as i didn't
 update it), all i get is a NullPointerException:null
 
 Has anyone else encountered this, can anyone give me advice on how i might
 get on the road to solving this problem
 
 Thanks in advance
 Sok
 |  |  |  |  | 
| Re: Migrating Visual classes from Websphere to Eclipse [message #97008 is a reply to message #96824] | Fri, 08 July 2005 09:29   |  | 
| Eclipse User  |  |  |  |  | Stephan, >I've installed the latest version of the VE
 What version of VE is this? 1.1M2? or the latest integration build I20050630?
 There are problems running VE 1.1M2 with Eclipse 3.1 GM. Please use I20050630.
 What versions of EMF and GEF are you using?
 
 >all i get is a NullPointerException:null
 Please attach your .log file so I can look at your stack trace information.
 Also... if possible and it's non-confidential, attach the .java file so I can
 debug the problem.
 
 Thanks...
 Peter Walker
 VE Development
 
 Stephen O'Kane wrote:
 > Hi,
 >
 > I've been working with WSAD (most recently 5.1) for the past couple of
 > years, but have decided to try out eclipse 3.1.  I've installed the latest
 > version of the VE, and tried out a couple of the examples, and everything
 > seems fine, much better to work with than with WSAD 5.1.
 >
 > The problem i've encountered is when I open a (visual) class that has been
 > developed in WSAD 5.1 (and therefore i assume with VE 0.5.0, as i didn't
 > update it), all i get is a NullPointerException:null
 >
 > Has anyone else encountered this, can anyone give me advice on how i might
 > get on the road to solving this problem
 >
 > Thanks in advance
 > Sok
 >
 >
 |  |  |  |  |  |  | 
| Re: Migrating Visual classes from Websphere to Eclipse [message #97160 is a reply to message #97146] | Mon, 11 July 2005 07:00  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: stephen.okane.syntec-software.de 
 Hi again,
 
 I've found out what the problem could be, and am not sure if it is a
 mis-understanding from me or a bug (probably the first).  I've followed the
 instruction for downloading Eclipse 3.1, JRE1.4.2 is installed as my system
 default, and have got the latest integration build of VE, plus GEF 3.1 and
 EMF 2.1.0
 
 What seems to be the problem is that the project i'm developing is still be
 be run under JRE1.3.1, so the project setting where setup for that.  when i
 switched to the default (i.e. 1.4.2) then there was no problems.
 
 So the question is;  Even though Eclipse is running under 1.4.2, can i not
 use the VE to develop a project under an earlier version of java?
 
 Thanks
 Stephen
 
 
 
 "Stephen O'Kane" <stephen.okane@syntec-software.de> schrieb im Newsbeitrag
 news:datier$h77$1@news.eclipse.org...
 > Hi Peter,
 >
 > I was using 1.1M2, but now i've got the newest build (I20050710)
 > installed, along with GEF3.1 and EMF2.1.  The error i now get is as
 > follows;
 >
 > IWAV0168E Improper nesting of mark statements in Expression. Tried to pop
 > or endMark to before current mark. Tried to go past Mark# 0
 >
 > but there are also still NullPointerExceptions in the .log file.  I've
 > pasted the relevant part of the .log file below between the first and
 > second set of double lines.
 >
 > After that i decided to remove all the parts of the code that were
 > dependant on other classes developed by us or change back to their JDK
 > superclass (as we've extended many classes such as JLabel etc.), so the
 > code is only (hopefully) using standard java classes, and therefore you
 > should have no problems with unknown classes if you want to debug it
 > (source attached). When i ran it, it got a bit further, but still ended up
 > giving me a NullPointer exception.  I've also pasted the relevant part of
 > the .log file below in between the second and third set of double lines.
 >
 > Thanks for your help
 > Stephen
 >
 
 // Log file info deleted
 
 >
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:03.617
 > !MESSAGE
 > +++ Warning +++: Mon Jul 11 12:26:03 CEST 2005    Bad Object: int:
 > =OP-Bearbeitung/src< com.bmw.nasa.gui.verwaltung.oplist{CopyOfOpListConfirmationD etailsPanel.java[CopyOfOpListConfirmationDetailsPanel~fireAp plied~QApplyEvent;^currentSize
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:03.664
 > !MESSAGE
 > +++ Warning +++: Mon Jul 11 12:26:03 CEST 2005    Skipping expression:
 > voucherComboBox.setModel(new DefaultComboBoxModel(VOUCHER_OPTIONS))
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:03.664
 > !MESSAGE Exception thrown.
 > !STACK 0
 > java.lang.NullPointerException
 > at
 >  org.eclipse.jem.internal.beaninfo.core.Utilities.getDecorato r(Utilities.java:198)
 > at
 >  org.eclipse.jem.internal.beaninfo.core.Utilities.getProperty Decorator(Utilities.java:225)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.PropertyFeatureMap per.hardCode(PropertyFeatureMapper.java:108)
 > at
 >  org.eclipse.ve.internal.jfc.codegen.AttributeFeatureMapper.p rocessHardCodedProperty(AttributeFeatureMapper.java:97)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.PropertyFeatureMap per.getFeature(PropertyFeatureMapper.java:140)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.AbstractExpression Decoder.Initialize(AbstractExpressionDecoder.java:100)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.AbstractExpression Decoder.decode(AbstractExpressionDecoder.java:139)
 > at
 >  org.eclipse.ve.internal.java.codegen.model.CodeExpressionRef .decodeExpression(CodeExpressionRef.java:292)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeExpression(JavaSourceTranslator.java:585)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:708)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.reverseParse(JavaSourceTranslator.java:835)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:908)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:574)
 > at
 >  org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1985)
 > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:03.680
 > !MESSAGE
 > +++ Warning +++: Mon Jul 11 12:26:03 CEST 2005    Skipping expression:
 > gegenCdCodeCombobox.setModel(new CDComboBoxModel())
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:03.695
 > !MESSAGE Exception thrown.
 > !STACK 0
 > java.lang.NullPointerException
 > at
 >  org.eclipse.jem.internal.beaninfo.core.Utilities.getDecorato r(Utilities.java:198)
 > at
 >  org.eclipse.jem.internal.beaninfo.core.Utilities.getProperty Decorator(Utilities.java:225)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.PropertyFeatureMap per.hardCode(PropertyFeatureMapper.java:108)
 > at
 >  org.eclipse.ve.internal.jfc.codegen.AttributeFeatureMapper.p rocessHardCodedProperty(AttributeFeatureMapper.java:97)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.PropertyFeatureMap per.getFeature(PropertyFeatureMapper.java:140)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.AbstractExpression Decoder.Initialize(AbstractExpressionDecoder.java:100)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.AbstractExpression Decoder.decode(AbstractExpressionDecoder.java:139)
 > at
 >  org.eclipse.ve.internal.java.codegen.model.CodeExpressionRef .decodeExpression(CodeExpressionRef.java:292)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeExpression(JavaSourceTranslator.java:585)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:708)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.reverseParse(JavaSourceTranslator.java:835)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:908)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:574)
 > at
 >  org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1985)
 > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 >
 > !ENTRY org.eclipse.jem.proxy 4 0 2005-07-11 12:26:04.148
 > !MESSAGE Exception thrown.
 > !STACK 0
 > java.io.EOFException
 > at java.io.DataInputStream.readByte(Unknown Source)
 > at
 >  org.eclipse.jem.internal.proxy.common.remote.Commands.readBa ckValue(Commands.java:1243)
 > at
 >  org.eclipse.jem.internal.proxy.common.remote.ExpressionComma nds.sendSyncCommand(ExpressionCommands.java:261)
 > at
 >  org.eclipse.jem.internal.proxy.remote.REMConnection.sync(REM Connection.java:320)
 > at
 >  org.eclipse.jem.internal.proxy.remote.REMExpression.pushInvo ke(REMExpression.java:970)
 > at
 >  org.eclipse.jem.internal.proxy.core.Expression.invokeExpress ion(Expression.java:685)
 > at
 >  org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:311)
 > at
 >  org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:2049)
 > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:04.148
 > !MESSAGE Exception thrown.
 > !STACK 0
 > java.lang.IllegalStateException: IWAV0173I Command Exception occurred. See
 > .log file for details.
 > at
 >  org.eclipse.jem.internal.proxy.remote.REMExpression.throwIll egalStateException(REMExpression.java:193)
 > at
 >  org.eclipse.jem.internal.proxy.remote.REMExpression.pushInvo ke(REMExpression.java:1001)
 > at
 >  org.eclipse.jem.internal.proxy.core.Expression.invokeExpress ion(Expression.java:685)
 > at
 >  org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:311)
 > at
 >  org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:2049)
 > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 >
 > !ENTRY org.eclipse.jem.proxy 2 0 2005-07-11 12:26:04.367
 > !MESSAGE
 > +++ Warning +++: Mon Jul 11 12:26:04 CEST 2005    Project
 > (OP-Bearbeitung)-VM for OP-Bearbeitung:err>
 >    java.lang.NoSuchMethodError
 >     at
 >  org.eclipse.jem.internal.proxy.initParser.tree.ExpressionPro cesser.processException(ExpressionProcesser.java:236)
 >     at
 >  org.eclipse.jem.internal.proxy.initParser.tree.ExpressionPro cesser.pushMethodInvocation(ExpressionProcesser.java:2598)
 >     at
 >  org.eclipse.jem.internal.proxy.vm.remote.ExpressionProcesser Controller.process(ExpressionProcesserController.java:297)
 >     at
 >  org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.p rocessExpressionCommand(ConnectionHandler.java:602)
 >     at
 >  org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:493)
 >     at
 >  org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
 >
 >
 >  ============================================================ ================================
 >
 >
 >
 >
 >
 >
 > "Peter Walker" <walkerp@us.ibm.com> schrieb im Newsbeitrag
 > news:dalv36$kja$1@news.eclipse.org...
 >> Stephan,
 >> >I've installed the latest version of the VE
 >> What version of VE is this? 1.1M2? or the latest integration build
 >> I20050630?
 >> There are problems running VE 1.1M2 with Eclipse 3.1 GM. Please use
 >> I20050630.
 >> What versions of EMF and GEF are you using?
 >>
 >> >all i get is a NullPointerException:null
 >> Please attach your .log file so I can look at your stack trace
 >> information.
 >> Also... if possible and it's non-confidential, attach the .java file so I
 >> can debug the problem.
 >>
 >> Thanks...
 >> Peter Walker
 >> VE Development
 >>
 >> Stephen O'Kane wrote:
 >>> Hi,
 >>>
 >>> I've been working with WSAD (most recently 5.1) for the past couple of
 >>> years, but have decided to try out eclipse 3.1.  I've installed the
 >>> latest version of the VE, and tried out a couple of the examples, and
 >>> everything seems fine, much better to work with than with WSAD 5.1.
 >>>
 >>> The problem i've encountered is when I open a (visual) class that has
 >>> been developed in WSAD 5.1 (and therefore i assume with VE 0.5.0, as i
 >>> didn't update it), all i get is a NullPointerException:null
 >>>
 >>> Has anyone else encountered this, can anyone give me advice on how i
 >>> might get on the road to solving this problem
 >>>
 >>> Thanks in advance
 >>> Sok
 >
 >
 |  |  |  |  | 
| Re: Migrating Visual classes from Websphere to Eclipse [message #609010 is a reply to message #96824] | Fri, 08 July 2005 09:29  |  | 
| Eclipse User  |  |  |  |  | Stephan, >I've installed the latest version of the VE
 What version of VE is this? 1.1M2? or the latest integration build I20050630?
 There are problems running VE 1.1M2 with Eclipse 3.1 GM. Please use I20050630.
 What versions of EMF and GEF are you using?
 
 >all i get is a NullPointerException:null
 Please attach your .log file so I can look at your stack trace information.
 Also... if possible and it's non-confidential, attach the .java file so I can
 debug the problem.
 
 Thanks...
 Peter Walker
 VE Development
 
 Stephen O'Kane wrote:
 > Hi,
 >
 > I've been working with WSAD (most recently 5.1) for the past couple of
 > years, but have decided to try out eclipse 3.1.  I've installed the latest
 > version of the VE, and tried out a couple of the examples, and everything
 > seems fine, much better to work with than with WSAD 5.1.
 >
 > The problem i've encountered is when I open a (visual) class that has been
 > developed in WSAD 5.1 (and therefore i assume with VE 0.5.0, as i didn't
 > update it), all i get is a NullPointerException:null
 >
 > Has anyone else encountered this, can anyone give me advice on how i might
 > get on the road to solving this problem
 >
 > Thanks in advance
 > Sok
 >
 >
 |  |  |  |  | 
| Re: Migrating Visual classes from Websphere to Eclipse [message #609021 is a reply to message #97008] | Mon, 11 July 2005 06:40  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: stephen.okane.syntec-software.de 
 Hi Peter,
 
 I was using 1.1M2, but now i've got the newest build (I20050710) installed,
 along with GEF3.1 and EMF2.1.  The error i now get is as follows;
 
 IWAV0168E Improper nesting of mark statements in Expression. Tried to pop or
 endMark to before current mark. Tried to go past Mark# 0
 
 but there are also still NullPointerExceptions in the .log file.  I've
 pasted the relevant part of the .log file below between the first and second
 set of double lines.
 
 After that i decided to remove all the parts of the code that were dependant
 on other classes developed by us or change back to their JDK superclass (as
 we've extended many classes such as JLabel etc.), so the code is only
 (hopefully) using standard java classes, and therefore you should have no
 problems with unknown classes if you want to debug it (source attached).
 When i ran it, it got a bit further, but still ended up giving me a
 NullPointer exception.  I've also pasted the relevant part of the .log file
 below in between the second and third set of double lines.
 
 Thanks for your help
 Stephen
 
 
 ============================================================ =================
 
 !ENTRY org.eclipse.ve.java.core 4 0 2005-07-11 11:59:42.242
 !MESSAGE Exception thrown.
 !STACK 0
 Wrapped exception
 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.eDynamicSet(Basi cEObjectImpl.java:536)
 at
 org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjec tImpl.java:520)
 at
 org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.setValue(XMLHel perImpl.java:1007)
 at
 org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XM LHandler.java:1777)
 at
 org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleForwardRefer ences(XMLHandler.java:581)
 at
 org.eclipse.emf.ecore.xmi.impl.XMLHandler.endDocument(XMLHan dler.java:646)
 at
 org.eclipse.emf.ecore.xmi.impl.SAXWrapper.endDocument(SAXWra pper.java:59)
 at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
 at org.apache.crimson.parser.Parser2.parse(Unknown Source)
 at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
 at javax.xml.parsers.SAXParser.parse(Unknown Source)
 at  org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:140)
 at
 org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes ourceImpl.java:169)
 at
 org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:977)
 at
 org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:832)
 at
 org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:249)
 at
 org.eclipse.jem.internal.util.emf.workbench.ProjectResourceS etImpl.demandLoad(ProjectResourceSetImpl.java:83)
 at
 org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:264)
 at
 org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:349)
 at
 org.eclipse.jem.internal.util.emf.workbench.ProjectResourceS etImpl.getResource(ProjectResourceSetImpl.java:262)
 at
 org.eclipse.ve.internal.java.codegen.util.VEModelCacheUtilit y.doLoadFromCache(VEModelCacheUtility.java:103)
 at
 org.eclipse.ve.internal.java.codegen.core.VEModelInstance.cr eateComposition(VEModelInstance.java:100)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.reConnect(JavaSourceTranslator.java:1093)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:871)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:574)
 at
 org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1985)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 Wrapped by
 org.eclipse.emf.common.util.WrappedException
 at
 org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:268)
 at
 org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:349)
 at
 org.eclipse.jem.internal.util.emf.workbench.ProjectResourceS etImpl.getResource(ProjectResourceSetImpl.java:262)
 at
 org.eclipse.ve.internal.java.codegen.util.VEModelCacheUtilit y.doLoadFromCache(VEModelCacheUtility.java:103)
 at
 org.eclipse.ve.internal.java.codegen.core.VEModelInstance.cr eateComposition(VEModelInstance.java:100)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.reConnect(JavaSourceTranslator.java:1093)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:871)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:574)
 at
 org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1985)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 
 !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 11:59:45.258
 !MESSAGE
 +++ Warning +++: Mon Jul 11 11:59:45 CEST 2005    Bad Object: int:
 accountNumber
 
 !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 11:59:45.273
 !MESSAGE
 +++ Warning +++: Mon Jul 11 11:59:45 CEST 2005    Bad Object: int:
 accountNumber{1}
 
 !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 11:59:45.289
 !MESSAGE
 +++ Warning +++: Mon Jul 11 11:59:45 CEST 2005    Bad Object: boolean:
 =OP-Bearbeitung/src< com.bmw.nasa.gui.verwaltung.oplist{OpListConfirmationDetails Panel.java[OpListConfirmationDetailsPanel~checkBookingDetail s^correct
 
 !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 11:59:45.289
 !MESSAGE
 +++ Warning +++: Mon Jul 11 11:59:45 CEST 2005    Bad Object: boolean:
 =OP-Bearbeitung/src< com.bmw.nasa.gui.verwaltung.oplist{OpListConfirmationDetails Panel.java[OpListConfirmationDetailsPanel~checkBookingDetail s^correct{1}
 
 !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 11:59:45.305
 !MESSAGE
 +++ Warning +++: Mon Jul 11 11:59:45 CEST 2005    Bad Object: int:
 =OP-Bearbeitung/src< com.bmw.nasa.gui.verwaltung.oplist{OpListConfirmationDetails Panel.java[OpListConfirmationDetailsPanel~fireApplied~QApply Event;^currentSize
 
 !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 11:59:45.695
 !MESSAGE
 +++ Warning +++: Mon Jul 11 11:59:45 CEST 2005    Skipping expression:
 gegenCdCodeCombobox.setModel(new CDComboBoxModel())
 
 !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 11:59:45.695
 !MESSAGE Exception thrown.
 !STACK 0
 java.lang.NullPointerException
 at
 org.eclipse.jem.internal.beaninfo.core.Utilities.getDecorato r(Utilities.java:198)
 at
 org.eclipse.jem.internal.beaninfo.core.Utilities.getProperty Decorator(Utilities.java:225)
 at
 org.eclipse.ve.internal.java.codegen.java.PropertyFeatureMap per.hardCode(PropertyFeatureMapper.java:108)
 at
 org.eclipse.ve.internal.jfc.codegen.AttributeFeatureMapper.p rocessHardCodedProperty(AttributeFeatureMapper.java:97)
 at
 org.eclipse.ve.internal.java.codegen.java.PropertyFeatureMap per.getFeature(PropertyFeatureMapper.java:140)
 at
 org.eclipse.ve.internal.java.codegen.java.AbstractExpression Decoder.Initialize(AbstractExpressionDecoder.java:100)
 at
 org.eclipse.ve.internal.java.codegen.java.AbstractExpression Decoder.decode(AbstractExpressionDecoder.java:139)
 at
 org.eclipse.ve.internal.java.codegen.model.CodeExpressionRef .decodeExpression(CodeExpressionRef.java:292)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeExpression(JavaSourceTranslator.java:585)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:708)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.reverseParse(JavaSourceTranslator.java:835)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:908)
 at
 org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:574)
 at
 org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1985)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 
 !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 11:59:45.820
 !MESSAGE
 +++ Warning +++: Mon Jul 11 11:59:45 CEST 2005    Skipping expression:
 message = "Beleg (" + accountNumber + ") ist schon vorhanden f
 |  |  |  |  | 
| Re: Migrating Visual classes from Websphere to Eclipse [message #609022 is a reply to message #97146] | Mon, 11 July 2005 07:00  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: stephen.okane.syntec-software.de 
 Hi again,
 
 I've found out what the problem could be, and am not sure if it is a
 mis-understanding from me or a bug (probably the first).  I've followed the
 instruction for downloading Eclipse 3.1, JRE1.4.2 is installed as my system
 default, and have got the latest integration build of VE, plus GEF 3.1 and
 EMF 2.1.0
 
 What seems to be the problem is that the project i'm developing is still be
 be run under JRE1.3.1, so the project setting where setup for that.  when i
 switched to the default (i.e. 1.4.2) then there was no problems.
 
 So the question is;  Even though Eclipse is running under 1.4.2, can i not
 use the VE to develop a project under an earlier version of java?
 
 Thanks
 Stephen
 
 
 
 "Stephen O'Kane" <stephen.okane@syntec-software.de> schrieb im Newsbeitrag
 news:datier$h77$1@news.eclipse.org...
 > Hi Peter,
 >
 > I was using 1.1M2, but now i've got the newest build (I20050710)
 > installed, along with GEF3.1 and EMF2.1.  The error i now get is as
 > follows;
 >
 > IWAV0168E Improper nesting of mark statements in Expression. Tried to pop
 > or endMark to before current mark. Tried to go past Mark# 0
 >
 > but there are also still NullPointerExceptions in the .log file.  I've
 > pasted the relevant part of the .log file below between the first and
 > second set of double lines.
 >
 > After that i decided to remove all the parts of the code that were
 > dependant on other classes developed by us or change back to their JDK
 > superclass (as we've extended many classes such as JLabel etc.), so the
 > code is only (hopefully) using standard java classes, and therefore you
 > should have no problems with unknown classes if you want to debug it
 > (source attached). When i ran it, it got a bit further, but still ended up
 > giving me a NullPointer exception.  I've also pasted the relevant part of
 > the .log file below in between the second and third set of double lines.
 >
 > Thanks for your help
 > Stephen
 >
 
 // Log file info deleted
 
 >
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:03.617
 > !MESSAGE
 > +++ Warning +++: Mon Jul 11 12:26:03 CEST 2005    Bad Object: int:
 > =OP-Bearbeitung/src< com.bmw.nasa.gui.verwaltung.oplist{CopyOfOpListConfirmationD etailsPanel.java[CopyOfOpListConfirmationDetailsPanel~fireAp plied~QApplyEvent;^currentSize
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:03.664
 > !MESSAGE
 > +++ Warning +++: Mon Jul 11 12:26:03 CEST 2005    Skipping expression:
 > voucherComboBox.setModel(new DefaultComboBoxModel(VOUCHER_OPTIONS))
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:03.664
 > !MESSAGE Exception thrown.
 > !STACK 0
 > java.lang.NullPointerException
 > at
 >  org.eclipse.jem.internal.beaninfo.core.Utilities.getDecorato r(Utilities.java:198)
 > at
 >  org.eclipse.jem.internal.beaninfo.core.Utilities.getProperty Decorator(Utilities.java:225)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.PropertyFeatureMap per.hardCode(PropertyFeatureMapper.java:108)
 > at
 >  org.eclipse.ve.internal.jfc.codegen.AttributeFeatureMapper.p rocessHardCodedProperty(AttributeFeatureMapper.java:97)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.PropertyFeatureMap per.getFeature(PropertyFeatureMapper.java:140)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.AbstractExpression Decoder.Initialize(AbstractExpressionDecoder.java:100)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.AbstractExpression Decoder.decode(AbstractExpressionDecoder.java:139)
 > at
 >  org.eclipse.ve.internal.java.codegen.model.CodeExpressionRef .decodeExpression(CodeExpressionRef.java:292)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeExpression(JavaSourceTranslator.java:585)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:708)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.reverseParse(JavaSourceTranslator.java:835)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:908)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:574)
 > at
 >  org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1985)
 > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:03.680
 > !MESSAGE
 > +++ Warning +++: Mon Jul 11 12:26:03 CEST 2005    Skipping expression:
 > gegenCdCodeCombobox.setModel(new CDComboBoxModel())
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:03.695
 > !MESSAGE Exception thrown.
 > !STACK 0
 > java.lang.NullPointerException
 > at
 >  org.eclipse.jem.internal.beaninfo.core.Utilities.getDecorato r(Utilities.java:198)
 > at
 >  org.eclipse.jem.internal.beaninfo.core.Utilities.getProperty Decorator(Utilities.java:225)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.PropertyFeatureMap per.hardCode(PropertyFeatureMapper.java:108)
 > at
 >  org.eclipse.ve.internal.jfc.codegen.AttributeFeatureMapper.p rocessHardCodedProperty(AttributeFeatureMapper.java:97)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.PropertyFeatureMap per.getFeature(PropertyFeatureMapper.java:140)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.AbstractExpression Decoder.Initialize(AbstractExpressionDecoder.java:100)
 > at
 >  org.eclipse.ve.internal.java.codegen.java.AbstractExpression Decoder.decode(AbstractExpressionDecoder.java:139)
 > at
 >  org.eclipse.ve.internal.java.codegen.model.CodeExpressionRef .decodeExpression(CodeExpressionRef.java:292)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeExpression(JavaSourceTranslator.java:585)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildCompositionModel(JavaSourceTranslator.java:708)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.reverseParse(JavaSourceTranslator.java:835)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocument(JavaSourceTranslator.java:908)
 > at
 >  org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(JavaSourceTranslator.java:574)
 > at
 >  org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1985)
 > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 >
 > !ENTRY org.eclipse.jem.proxy 4 0 2005-07-11 12:26:04.148
 > !MESSAGE Exception thrown.
 > !STACK 0
 > java.io.EOFException
 > at java.io.DataInputStream.readByte(Unknown Source)
 > at
 >  org.eclipse.jem.internal.proxy.common.remote.Commands.readBa ckValue(Commands.java:1243)
 > at
 >  org.eclipse.jem.internal.proxy.common.remote.ExpressionComma nds.sendSyncCommand(ExpressionCommands.java:261)
 > at
 >  org.eclipse.jem.internal.proxy.remote.REMConnection.sync(REM Connection.java:320)
 > at
 >  org.eclipse.jem.internal.proxy.remote.REMExpression.pushInvo ke(REMExpression.java:970)
 > at
 >  org.eclipse.jem.internal.proxy.core.Expression.invokeExpress ion(Expression.java:685)
 > at
 >  org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:311)
 > at
 >  org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:2049)
 > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 >
 > !ENTRY org.eclipse.ve.java.core 2 0 2005-07-11 12:26:04.148
 > !MESSAGE Exception thrown.
 > !STACK 0
 > java.lang.IllegalStateException: IWAV0173I Command Exception occurred. See
 > .log file for details.
 > at
 >  org.eclipse.jem.internal.proxy.remote.REMExpression.throwIll egalStateException(REMExpression.java:193)
 > at
 >  org.eclipse.jem.internal.proxy.remote.REMExpression.pushInvo ke(REMExpression.java:1001)
 > at
 >  org.eclipse.jem.internal.proxy.core.Expression.invokeExpress ion(Expression.java:685)
 > at
 >  org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:311)
 > at
 >  org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:2049)
 > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
 >
 > !ENTRY org.eclipse.jem.proxy 2 0 2005-07-11 12:26:04.367
 > !MESSAGE
 > +++ Warning +++: Mon Jul 11 12:26:04 CEST 2005    Project
 > (OP-Bearbeitung)-VM for OP-Bearbeitung:err>
 >    java.lang.NoSuchMethodError
 >     at
 >  org.eclipse.jem.internal.proxy.initParser.tree.ExpressionPro cesser.processException(ExpressionProcesser.java:236)
 >     at
 >  org.eclipse.jem.internal.proxy.initParser.tree.ExpressionPro cesser.pushMethodInvocation(ExpressionProcesser.java:2598)
 >     at
 >  org.eclipse.jem.internal.proxy.vm.remote.ExpressionProcesser Controller.process(ExpressionProcesserController.java:297)
 >     at
 >  org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.p rocessExpressionCommand(ConnectionHandler.java:602)
 >     at
 >  org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:493)
 >     at
 >  org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
 >
 >
 >  ============================================================ ================================
 >
 >
 >
 >
 >
 >
 > "Peter Walker" <walkerp@us.ibm.com> schrieb im Newsbeitrag
 > news:dalv36$kja$1@news.eclipse.org...
 >> Stephan,
 >> >I've installed the latest version of the VE
 >> What version of VE is this? 1.1M2? or the latest integration build
 >> I20050630?
 >> There are problems running VE 1.1M2 with Eclipse 3.1 GM. Please use
 >> I20050630.
 >> What versions of EMF and GEF are you using?
 >>
 >> >all i get is a NullPointerException:null
 >> Please attach your .log file so I can look at your stack trace
 >> information.
 >> Also... if possible and it's non-confidential, attach the .java file so I
 >> can debug the problem.
 >>
 >> Thanks...
 >> Peter Walker
 >> VE Development
 >>
 >> Stephen O'Kane wrote:
 >>> Hi,
 >>>
 >>> I've been working with WSAD (most recently 5.1) for the past couple of
 >>> years, but have decided to try out eclipse 3.1.  I've installed the
 >>> latest version of the VE, and tried out a couple of the examples, and
 >>> everything seems fine, much better to work with than with WSAD 5.1.
 >>>
 >>> The problem i've encountered is when I open a (visual) class that has
 >>> been developed in WSAD 5.1 (and therefore i assume with VE 0.5.0, as i
 >>> didn't update it), all i get is a NullPointerException:null
 >>>
 >>> Has anyone else encountered this, can anyone give me advice on how i
 >>> might get on the road to solving this problem
 >>>
 >>> Thanks in advance
 >>> Sok
 >
 >
 |  |  |  | 
 
 
 Current Time: Mon Oct 27 16:45:09 EDT 2025 
 Powered by FUDForum . Page generated in 0.04080 seconds |