Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365456 - Unsupported Operation Exception thrown on NotFoundBinding
Summary: Unsupported Operation Exception thrown on NotFoundBinding
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 11:31 EST by Brian Svihovec CLA
Modified: 2017-02-23 14:16 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Svihovec CLA 2011-12-02 11:31:19 EST
Create a handler with the following content:

handler H3 type RUIhandler{initialUI =[ui
            ], cssFile = "css/P1.css", title = "H3"}

    ui Box{padding = 4, columns = 1, children = [       
		new GoogleMapSample{}.ui
	]};

end

NOTE: You will get an error on a missing type for GoogleMapSample.  This is expected.

When the file is saved and built, the following exception is thrown:

org.eclipse.edt.compiler.internal.core.builder.BuildException: java.lang.UnsupportedOperationException
	at org.eclipse.edt.compiler.internal.core.builder.AbstractProcessingQueue.process(AbstractProcessingQueue.java:187)
	at org.eclipse.edt.compiler.internal.core.builder.AbstractProcessingQueue.process(AbstractProcessingQueue.java:152)
	at org.eclipse.edt.ide.core.internal.builder.AbstractBuilder.processParts(AbstractBuilde...

Caused by: java.lang.UnsupportedOperationException
	at org.eclipse.edt.compiler.binding.NotFoundBinding.getKind(NotFoundBinding.java:56)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofBase.mofTypeFor(Egl2MofBase.java:920)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofExpression.visit(Egl2MofExpression.java:286)
	at org.eclipse.edt.compiler.core.ast.FieldAccess.accept(FieldAccess.java:52)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofExpression.visit(Egl2MofExpression.java:183)
	at org.eclipse.edt.compiler.core.ast.ArrayLiteral.accept(ArrayLiteral.java:38)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofExpression.visit(Egl2MofExpression.java:202)
	at org.eclipse.edt.compiler.core.ast.Assignment.accept(Assignment.java:111)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofMember.processSettings(Egl2MofMember.java:535)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofMember.addInitializers(Egl2MofMember.java:870)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofMember.addInitializers(Egl2MofMember.java:840)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofMember.visit(Egl2MofMember.java:134)
	at org.eclipse.edt.compiler.core.ast.ClassDataDeclaration.accept(ClassDataDeclaration.java:88)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofPart.handleContents(Egl2MofPart.java:679)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofPart.defaultHandleVisitPart(Egl2MofPart.java:384)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2MofPart.visit(Egl2MofPart.java:199)
	at org.eclipse.edt.compiler.core.ast.Handler.accept(Handler.java:55)
	at org.eclipse.edt.compiler.internal.egl2mof.Egl2Mof.convert(Egl2Mof.java:160)
	at org.eclipse.edt.ide.core.internal.builder.AbstractProcessingQueue.createIRFromBoundAST(AbstractProcessingQueue.java:245)
	at org.eclipse.edt.ide.core.internal.builder.AbstractProcessingQueue.processCompiledPart(AbstractProcessingQueue.java:221)
	at org.eclipse.edt.ide.core.internal.builder.AbstractProcessingQueue.level03Compile(AbstractProcessingQueue.java:164)
	at org.eclipse.edt.compiler.internal.core.builder.AbstractProcessingQueue.process(AbstractProcessingQueue.java:169)
	... 17 more
Comment 1 Paul Harmon CLA 2012-02-24 08:28:25 EST
This was fixed with the fix for bug 370640