Skip to main content



      Home
Home » Modeling » TMF (Xtext) » When loading Xtext resources at start, encodingProvider of XtextResource is null.
When loading Xtext resources at start, encodingProvider of XtextResource is null. [message #1214027] Wed, 27 November 2013 09:04
Eclipse UserFriend
I have a strange problem. When I start my Eclipse product and it tries to restore the editors, upon loading the first XtextResource for the first time, its encoding provider is null which causes an NPE in getEncoding() resulting in a ProvisionException. However, when I catch this exception and immediately do the SAME thing again in the catch block, the resource loads fine. What is going wrong here?
Previous Topic:How to synchronize the EObject underneath the Xtext editor with another editor?
Next Topic:Generating code from DSL files in the classpath
Goto Forum:
  


Current Time: Tue Jul 15 11:56:33 EDT 2025

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

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

Back to the top