Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350069 - Compile Sample fails
Summary: Compile Sample fails
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Harmon CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-22 11:44 EDT by Bart Van Campenhout CLA
Modified: 2017-02-23 14:20 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Van Campenhout CLA 2011-06-22 11:44:15 EDT
After downloading todays versions of:
       org.eclipse.edt.samples
       org.eclipse.edt.compiler
       org.eclipse.edt.mof
       org.eclipse.edt.mog.egl

I've ran CompileSamples.java as JavaApplication.

Results from the console:




ir_dest set to :C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGL_MOF
ir_dest cleaned...
eglSrcPath set to :C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource
compiling:C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource
Bootstrap initialize...

Processing Part: column

Processing Part: IsKeyItem

Processing Part: KeyGenerator

Processing Part: HibernateRecord

Processing Part: User

Processing Part: CustomerConsoleRecord

Processing Part: myCUIProgram

Processing Part: myDatatableBasic

Processing Part: myDatatableMatchInvalid

Processing Part: myDatatableMatchValid

Processing Part: myDatatableMsg

Processing Part: myDatatableRangeChk

Processing Part: FunctionInvoker

Processing Part: myDelegates

Processing Part: TaxModule

Processing Part: JSModule

Processing Part: Emtchs

Processing Part: Emtenu

Processing Part: EMPLOYEE

Processing Part: EMPNO

Processing Part: FIRSTNME

Processing Part: MIDINIT

Processing Part: LASTNAME

Processing Part: WORKDEPT

Processing Part: PHONENO

Processing Part: HIREDATE

Processing Part: job

Processing Part: EDLEVEL

Processing Part: SEX

Processing Part: BIRTHDATE

Processing Part: SALARY

Processing Part: BONUS

Processing Part: COMM

Processing Part: ErrorRecord

Processing Part: Sexchk

Processing Part: searchLastname

Processing Part: DetailClient

Processing Part: DetailForms

Processing Part: formGroup2

Processing Part: myFormGroup

Processing Part: myTUIProgram

Processing Part: myBasicHandler

Processing Part: myBirtHandler

Processing Part: myJasperReportHandler

Processing Part: myJSFhandler

Processing Part: myBasicRecord

Processing Part: myBasicRecord2

Processing Part: MyBasicLib

Processing Part: MyNativeLib

Processing Part: reportProgram

Processing Part: ReportCustomer

Processing Part: headerRec

Processing Part: detailRec

Processing Part: controlBreakRec1

Processing Part: controlBreakRec2

Processing Part: outRec

Processing Part: trailerRec

Processing Part: masterFileUpdateProgram

Processing Part: EMPLOYEE

Processing Part: EmpPay
org.eclipse.edt.compiler.internal.core.builder.BuildException: java.lang.NullPointerException
	at org.eclipse.edt.compiler.AbstractProcessingQueue.process(AbstractProcessingQueue.java:189)
	at org.eclipse.edt.compiler.AbstractProcessingQueue.process(AbstractProcessingQueue.java:154)
	at org.eclipse.edt.compiler.tools.EGLG.compile(EGLG.java:134)
	at org.eclipse.edt.compiler.tools.EGL2IR.compile(EGL2IR.java:114)
	at org.eclipse.edt.compiler.tools.EGL2IR.main(EGL2IR.java:88)
	at org.eclipse.edt.samples.reverse.CompileSamples.compileSamples(CompileSamples.java:36)
	at org.eclipse.edt.samples.reverse.CompileSamples.main(CompileSamples.java:28)
Caused by: java.lang.NullPointerException
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofExpression.isSuperTypeMember(Egl2MofExpression.java:994)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofExpression.visit(Egl2MofExpression.java:566)
	at org.eclipse.edt.compiler.core.ast.SimpleName.accept(SimpleName.java:37)
	at org.eclipse.edt.compiler.internal.egl2mof.DefaultIOStatementGenerator.visit(DefaultIOStatementGenerator.java:136)
	at org.eclipse.edt.compiler.internal.egl2mof.sql.SQLIOStatementGenerator.visit(SQLIOStatementGenerator.java:199)
	at org.eclipse.edt.compiler.core.ast.GetByKeyStatement.accept(GetByKeyStatement.java:64)
	at org.eclipse.edt.compiler.internal.egl2mof.AbstractIOStatementGenerator.genGetByKeyStatement(AbstractIOStatementGenerator.java:106)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofStatement.visit(Egl2MofStatement.java:461)
	at org.eclipse.edt.compiler.core.ast.GetByKeyStatement.accept(GetByKeyStatement.java:64)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofStatement.visit(Egl2MofStatement.java:682)
	at org.eclipse.edt.compiler.core.ast.WhileStatement.accept(WhileStatement.java:45)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofPart.handleEndVisitPart(Egl2MofPart.java:422)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofPart.defaultHandleVisitPart(Egl2MofPart.java:347)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofPart.visit(Egl2MofPart.java:162)
	at org.eclipse.edt.compiler.core.ast.Program.accept(Program.java:69)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2Mof.convert(Egl2Mof.java:160)
	at org.eclipse.edt.compiler.Processor.createIRFromBoundAST2(Processor.java:164)
	at org.eclipse.edt.compiler.Processor.level03Compile(Processor.java:120)
	at org.eclipse.edt.compiler.AbstractProcessingQueue.process(AbstractProcessingQueue.java:171)
	... 6 more
Comment 1 Paul Harmon CLA 2011-06-24 12:34:00 EDT
I fixed the NPE and a few other exceptions that were being thrown when compiling the samples.
Comment 2 Bart Van Campenhout CLA 2011-06-27 04:34:18 EDT
(In reply to comment #1)
> I fixed the NPE and a few other exceptions that were being thrown when
> compiling the samples.



After updating with the latest changes, I still have exceptions while running the org.eclipse.edt.samples.reverse.CompileSamples class as provided in the org.eclipse.edt.samples plugin

Latest results:

ir_dest set to :C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGL_MOF
ir_dest cleaned...
eglSrcPath set to :C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource
compiling:C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource
Bootstrap initialize...

Processing Part: column

Processing Part: IsKeyItem

Processing Part: KeyGenerator

Processing Part: HibernateRecord

Processing Part: User

Processing Part: CustomerConsoleRecord

Processing Part: myCUIProgram

Processing Part: myDatatableBasic

Processing Part: myDatatableMatchInvalid

Processing Part: myDatatableMatchValid

Processing Part: myDatatableMsg

Processing Part: myDatatableRangeChk

Processing Part: FunctionInvoker

Processing Part: myDelegates

Processing Part: TaxModule

Processing Part: JSModule

Processing Part: Emtchs

Processing Part: Emtenu

Processing Part: EMPLOYEE

Processing Part: EMPNO

Processing Part: FIRSTNME

Processing Part: MIDINIT

Processing Part: LASTNAME

Processing Part: WORKDEPT

Processing Part: PHONENO

Processing Part: HIREDATE

Processing Part: job

Processing Part: EDLEVEL

Processing Part: SEX

Processing Part: BIRTHDATE

Processing Part: SALARY

Processing Part: BONUS

Processing Part: COMM

Processing Part: ErrorRecord

Processing Part: Sexchk

Processing Part: searchLastname

Processing Part: DetailClient

Processing Part: DetailForms

Processing Part: formGroup2

Processing Part: myFormGroup

Processing Part: myTUIProgram

Processing Part: myBasicHandler

Processing Part: myBirtHandler

Processing Part: myJasperReportHandler

Processing Part: myJSFhandler

Processing Part: myBasicRecord

Processing Part: myBasicRecord2

Processing Part: MyBasicLib

Processing Part: MyNativeLib

Processing Part: reportProgram

Processing Part: ReportCustomer

Processing Part: headerRec

Processing Part: detailRec

Processing Part: controlBreakRec1

Processing Part: controlBreakRec2

Processing Part: outRec

Processing Part: trailerRec

Processing Part: masterFileUpdateProgram

Processing Part: EMPLOYEE

Processing Part: EmpPay

Processing Part: myBasicProgram

Processing Part: myDictionary

Processing Part: myRecordProgram

Processing Part: d_string

Processing Part: d_char

Processing Part: d_dbchar

Processing Part: d_mbchar

Processing Part: d_unicode

Processing Part: d_hex

Processing Part: d_date

Processing Part: d_time

Processing Part: d_timeStamp

Processing Part: d_timeStamp2

Processing Part: d_nterval

Processing Part: d_int

Processing Part: d_bigint

Processing Part: d_bin

Processing Part: d_decimal

Processing Part: d_float

Processing Part: d_num

Processing Part: d_pacf

Processing Part: d_smallFloat

Processing Part: d_smallInt

Processing Part: d_blob

Processing Part: d_clob

Processing Part: d_boolean

Processing Part: colorfield

Processing Part: d_string1

Processing Part: d_decimal1

Processing Part: myBasicRecord3

Processing Part: myBasicRecord4

Processing Part: myCSVRecord

Processing Part: MySQLRecord

Processing Part: myStructuredBasicRecord

Processing Part: myStructuredSerialRecord

Processing Part: myStructuredSQLRecord

Processing Part: myExceptionRecord

Processing Part: myStructuedIndexedRecord

Processing Part: myStructuredRelativeRecord

Processing Part: box

Processing Part: BoxLib

Processing Part: Div

Processing Part: contents

Processing Part: samplesLib

Processing Part: ToCElement

Processing Part: TextLabel

Processing Part: Welcome

Processing Part: html
C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\HTML.egl
		location String = document.location;

		                           <------>
IWN.VAL.6619.e 31/30 html - document.location cannot be resolved. At line 31 in file C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\HTML.egl
-------------------------------------------------------------------------------



Processing Part: samplesMessages

Processing Part: HelloWorld

Processing Part: button
C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\Button.egl
			this.cleanBiDiMarkers();

			     <-------------->
IWN.VAL.6619.e 37/9 button - this.cleanBiDiMarkers cannot be resolved. At line 37 in file C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\Button.egl
-------------------------------------------------------------------------------



Processing Part: textField

Processing Part: BIDITextArea

Processing Part: VisualHandlers
C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\BIDITextArea.egl
		this.setBiDiStyles(isVisual,isWidgetOrientationRTL);		

		<---------------->
IWN.VAL.5109.e 159/3 BIDITextArea - Function this.setBiDiStyles requires exactly 0 argument(s). At line 159 in file C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\BIDITextArea.egl
-------------------------------------------------------------------------------



Processing Part: BIDITextField
C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\BIDITextField.egl
			this.cleanBiDiMarkers();

			     <-------------->
IWN.VAL.6619.e 79/9 BIDITextField - this.cleanBiDiMarkers cannot be resolved. At line 79 in file C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\BIDITextField.egl
-------------------------------------------------------------------------------


		this.setBiDiStyles(isVisual,isWidgetOrientationRTL);		

		<---------------->
IWN.VAL.5109.e 122/3 BIDITextField - Function this.setBiDiStyles requires exactly 0 argument(s). At line 122 in file C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\BIDITextField.egl
-------------------------------------------------------------------------------



Processing Part: CheckBox

Processing Part: Combo

Processing Part: FloatLeft

Processing Part: FloatRight

Processing Part: Grid

Processing Part: GridColumn

Processing Part: CellBehavior

Processing Part: Span

Processing Part: GridBehaviors

Processing Part: GridSelectionListener

Processing Part: GridSelector

Processing Part: GridSorter

Processing Part: Image

Processing Part: GridTooltipTextProvider

Processing Part: GridTooltip

Processing Part: Tooltip

Processing Part: TooltipTextProvider

Processing Part: Shadow

Processing Part: Grouping

Processing Part: hyperlink

Processing Part: list

Processing Part: ListMulti

Processing Part: menu

Processing Part: MenuOpenAction

Processing Part: MenuBehavior

Processing Part: menuitem

Processing Part: MenuItemType

Processing Part: MenuItemSelection
C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\Menu.egl
		document.body.appendChild(optionsBox);

		         <-->
IWN.VAL.6619.e 43/12 menu - document.body cannot be resolved. At line 43 in file C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\Menu.egl
-------------------------------------------------------------------------------



Processing Part: MenuBehaviors

Processing Part: MenuItemAction

Processing Part: PasswordTextField

Processing Part: RadioGroup

Processing Part: TextArea

Processing Part: Tree

Processing Part: TreeNodeBehavior

Processing Part: TreeNode

Processing Part: TreeBehaviors

Processing Part: TreeTooltipTextProvider

Processing Part: TreeTooltip

Processing Part: myInterface

Processing Part: myService

Processing Part: MyCalledProgram

Processing Part: MyConditionLoopStatements

Processing Part: RecordB

Processing Part: MyDataMovementStatements

Processing Part: RecordA

Processing Part: MyExceptionStatements

Processing Part: MyExpressions

Processing Part: MyRecords

Processing Part: myJSFhandler

Processing Part: CustomerRecord

Processing Part: MySqlStatements

Processing Part: MyTransferControlStatements

Processing Part: sysLibs

Processing Part: interfaceForLibTesting

Processing Part: ToCElement
java.lang.RuntimeException: java.lang.reflect.InvocationTargetExceptionC:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\ToCElement.egl
handler ToCElement type RUIWidget { targetWidget=lbl, onConstructionFunction=start }

        <-------->
IWN.VAL.3000.e 19/9 An error has occurred while compiling part ToCElement.  Check the .log file for additional information.
-------------------------------------------------------------------------------


Part Binder Failure

	at org.eclipse.edt.mof.impl.AbstractVisitor.invokeVisit(AbstractVisitor.java:122)
	at org.eclipse.edt.mof.impl.AbstractVisitor.primVisit(AbstractVisitor.java:92)
	at org.eclipse.edt.mof.impl.InternalEObject.accept(InternalEObject.java:206)
	at org.eclipse.edt.compiler.internal.mof2binding.Mof2Binding.convert(Mof2Binding.java:28)
	at org.eclipse.edt.compiler.EGL2IREnvironment.getPartBinding(EGL2IREnvironment.java:118)
	at org.eclipse.edt.compiler.binding.PackageBinding.resolveType(PackageBinding.java:82)
	at org.eclipse.edt.compiler.internal.core.lookup.FileScope.findTypeInDeclaringPackage(FileScope.java:137)
	at org.eclipse.edt.compiler.internal.core.lookup.FileScope.findType(FileScope.java:101)
	at org.eclipse.edt.compiler.internal.core.lookup.SystemScope.findType(SystemScope.java:44)
	at org.eclipse.edt.compiler.internal.core.lookup.FunctionContainerScope.findType(FunctionContainerScope.java:337)
	at org.eclipse.edt.compiler.internal.core.lookup.FunctionContainerScope.findData(FunctionContainerScope.java:214)
	at org.eclipse.edt.compiler.internal.core.lookup.FunctionScope.findData(FunctionScope.java:93)
	at org.eclipse.edt.compiler.internal.core.lookup.AbstractBinder.bindUnknownName(AbstractBinder.java:564)
	at org.eclipse.edt.compiler.internal.core.lookup.AbstractBinder.bindExpressionName(AbstractBinder.java:233)
	at org.eclipse.edt.compiler.internal.core.lookup.DefaultBinder.visit(DefaultBinder.java:188)
	at org.eclipse.edt.compiler.core.ast.QualifiedName.accept(QualifiedName.java:45)
	at org.eclipse.edt.compiler.core.ast.ArrayAccess.accept(ArrayAccess.java:51)
	at org.eclipse.edt.compiler.core.ast.BinaryExpression.accept(BinaryExpression.java:114)
	at org.eclipse.edt.compiler.internal.core.lookup.FunctionBinder.visit(FunctionBinder.java:1447)
	at org.eclipse.edt.compiler.core.ast.IfStatement.accept(IfStatement.java:58)
	at org.eclipse.edt.compiler.core.ast.Node.acceptChildren(Node.java:83)
	at org.eclipse.edt.compiler.core.ast.NestedFunction.accept(NestedFunction.java:94)
	at org.eclipse.edt.compiler.internal.core.lookup.FunctionContainerBinder.visit(FunctionContainerBinder.java:247)
	at org.eclipse.edt.compiler.core.ast.NestedFunction.accept(NestedFunction.java:89)
	at org.eclipse.edt.compiler.core.ast.Node.acceptChildren(Node.java:83)
	at org.eclipse.edt.compiler.core.ast.Handler.accept(Handler.java:56)
	at org.eclipse.edt.compiler.internal.core.builder.Compiler.compilePart(Compiler.java:267)
	at org.eclipse.edt.compiler.Processor.level03Compile(Processor.java:100)
	at org.eclipse.edt.compiler.AbstractProcessingQueue.process(AbstractProcessingQueue.java:171)
	at org.eclipse.edt.compiler.AbstractProcessingQueue.process(AbstractProcessingQueue.java:154)
	at org.eclipse.edt.compiler.tools.EGLG.compile(EGLG.java:134)
	at org.eclipse.edt.compiler.tools.EGL2IR.compile(EGL2IR.java:114)
	at org.eclipse.edt.compiler.tools.EGL2IR.main(EGL2IR.java:88)
	at org.eclipse.edt.samples.reverse.CompileSamples.compileSamples(CompileSamples.java:36)
	at org.eclipse.edt.samples.reverse.CompileSamples.main(CompileSamples.java:28)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at org.eclipse.edt.mof.impl.AbstractVisitor.invokeVisit(AbstractVisitor.java:119)
	... 34 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.eclipse.edt.mof.impl.AbstractVisitor.invokeVisit(AbstractVisitor.java:122)
	at org.eclipse.edt.mof.impl.AbstractVisitor.primVisit(AbstractVisitor.java:92)
	at org.eclipse.edt.mof.impl.InternalEObject.accept(InternalEObject.java:206)
	at org.eclipse.edt.compiler.internal.mof2binding.Mof2BindingPart.handleVisitLogicAndDataPart(Mof2BindingPart.java:684)
	at org.eclipse.edt.compiler.internal.mof2binding.Mof2BindingPart.visit(Mof2BindingPart.java:226)
	... 38 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at org.eclipse.edt.mof.impl.AbstractVisitor.invokeVisit(AbstractVisitor.java:119)
	... 42 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.eclipse.edt.mof.impl.AbstractVisitor.invokeVisit(AbstractVisitor.java:122)
	at org.eclipse.edt.mof.impl.AbstractVisitor.primVisit(AbstractVisitor.java:92)
	at org.eclipse.edt.mof.impl.InternalEObject.accept(InternalEObject.java:206)
	at org.eclipse.edt.compiler.internal.mof2binding.Mof2BindingMember.bindingForType(Mof2BindingMember.java:366)
	at org.eclipse.edt.compiler.internal.mof2binding.Mof2BindingMember.visit(Mof2BindingMember.java:73)
	... 46 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at org.eclipse.edt.mof.impl.AbstractVisitor.invokeVisit(AbstractVisitor.java:119)
	... 50 more
Caused by: java.lang.UnsupportedOperationException
	at org.eclipse.edt.mof.serialization.ProxyEObject.getName(ProxyEObject.java:154)
	at org.eclipse.edt.compiler.internal.mof2binding.Mof2BindingBase.getBinding(Mof2BindingBase.java:374)
	at org.eclipse.edt.compiler.internal.mof2binding.Mof2BindingBase.createProxyBinding(Mof2BindingBase.java:125)
	at org.eclipse.edt.compiler.internal.mof2binding.Mof2BindingBase.visit(Mof2BindingBase.java:157)
	... 54 more
org.eclipse.edt.compiler.internal.core.builder.BuildException: java.lang.NullPointerException
	at org.eclipse.edt.compiler.AbstractProcessingQueue.process(AbstractProcessingQueue.java:189)
	at org.eclipse.edt.compiler.AbstractProcessingQueue.process(AbstractProcessingQueue.java:154)
	at org.eclipse.edt.compiler.tools.EGLG.compile(EGLG.java:134)
	at org.eclipse.edt.compiler.tools.EGL2IR.compile(EGL2IR.java:114)
	at org.eclipse.edt.compiler.tools.EGL2IR.main(EGL2IR.java:88)
	at org.eclipse.edt.samples.reverse.CompileSamples.compileSamples(CompileSamples.java:36)
	at org.eclipse.edt.samples.reverse.CompileSamples.main(CompileSamples.java:28)
Caused by: java.lang.NullPointerException
	at org.eclipse.edt.mof.egl.utils.TypeUtils.isTextType(TypeUtils.java:213)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofExpression.visit(Egl2MofExpression.java:140)
	at org.eclipse.edt.compiler.core.ast.ArrayAccess.accept(ArrayAccess.java:49)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofExpression.visit(Egl2MofExpression.java:206)
	at org.eclipse.edt.compiler.core.ast.BinaryExpression.accept(BinaryExpression.java:112)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofStatement.visit(Egl2MofStatement.java:482)
	at org.eclipse.edt.compiler.core.ast.IfStatement.accept(IfStatement.java:58)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofPart.handleEndVisitPart(Egl2MofPart.java:422)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofPart.defaultHandleVisitPart(Egl2MofPart.java:347)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofPart.visit(Egl2MofPart.java:176)
	at org.eclipse.edt.compiler.core.ast.Handler.accept(Handler.java:52)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2Mof.convert(Egl2Mof.java:160)
	at org.eclipse.edt.compiler.Processor.createIRFromBoundAST2(Processor.java:164)
	at org.eclipse.edt.compiler.Processor.level03Compile(Processor.java:120)
	at org.eclipse.edt.compiler.AbstractProcessingQueue.process(AbstractProcessingQueue.java:171)
	... 6 more
Comment 3 Paul Harmon CLA 2011-06-27 16:21:27 EDT
I am not sure why this was compiling for me last week after my changes, but I was able to produce (several) exceptions this week.

I have checked in several sanity checks in the IR generation code (due to types not resolving). 

The samples now compile.
Comment 4 Bart Van Campenhout CLA 2011-06-28 04:15:03 EDT
Indeed, no more exceptions occur now.

But still not all files seem to compile without errors.
Assuming that this is not proper behaviour for the samples project,
I've reopened the BUG. 

One of the examples to illustrate this is: 
Processing Part: button
C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\Button.egl
			this.cleanBiDiMarkers();

			     <-------------->
IWN.VAL.6619.e 37/9 button - this.cleanBiDiMarkers cannot be resolved. At line 37 in file C:\Data\RatWorkspaces\RBD_WS\org.eclipse.edt.samples\EGLSource\reverse\test\rui\widgetslibrary\Button.egl
-------------------------------------------------------------------------------


(Look at the compile results for the full list)



Am I correct to assume that each and everyone of the EGL Source files should compile without any error whatsoever ?
Comment 5 Paul Harmon CLA 2011-07-08 11:48:17 EDT
I have updated the system parts and some resolution code to fix these compilation errors. One of the errors required me to make a small change to the egl code in the samples project, so please resynch on this project as well.
Comment 6 Lisa Lasher CLA 2011-11-02 10:34:41 EDT
closing this defect, which was fixed several months ago