Bug 385375 - IllegalArgumentException when opening an eglxml file
Summary: IllegalArgumentException when opening an eglxml file
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 03:49 EDT by Song Fan CLA
Modified: 2017-02-23 14:05 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 Song Fan CLA 2012-07-18 03:49:53 EDT
if opening an eglxml file under "eglbin" file, the following error message
is printed in the console but the eglxml editor is opened successfully. 

Exception in thread "org.eclipse.edt.ide.ui.internal.editor.ProblemReconciler"
java.lang.IllegalArgumentException: File name must end with .egl.
    at org.eclipse.edt.ide.core.internal.model.EGLFile.<init>(EGLFile.java:72)
    at
org.eclipse.edt.ide.core.internal.model.PackageFragment.getEGLFile(PackageFragment.java:166)
    at
org.eclipse.edt.ide.core.internal.model.EGLModelManager.createEGLFileFrom(EGLModelManager.java:426)
    at
org.eclipse.edt.ide.core.model.EGLCore.createEGLFileFrom(EGLCore.java:486)
    at
org.eclipse.edt.ide.ui.internal.editor.ProblemReconciler$EGLReconcilingStrategy.reconcile(ProblemReconciler.java:291)
    at
org.eclipse.edt.ide.ui.internal.editor.ProblemReconciler$BackgroundThread.run(ProblemReconciler.java:126)
Comment 1 Matt Heitz CLA 2013-01-03 14:21:58 EST
Setting the Target Milestone correctly for all bugs (set to Future in this case).