In mobl I have a standard library that is hosted inside the plug-in path of the mobl plug-in. Reference resolving within a mobl project works fine, but if I want to resolve a reference to a type or control in the mobl standard library, it fails to (likely because those files are not in the workspace). I get a NullPointerException:


!ENTRY org.strategoxt.imp.runtime 4 0 2010-08-30 10:39:09.735
!MESSAGE Internal error evaluating strategy editor-hover
!STACK 0
java.lang.NullPointerException
at org.strategoxt.imp.runtime.services.StrategoObserver.makeInputTerm(StrategoObserver.java:470)
at org.strategoxt.imp.runtime.services.StrategoObserver.makeInputTerm(StrategoObserver.java:444)
at org.strategoxt.imp.runtime.services.StrategoObserver.invokeSilent(StrategoObserver.java:582)
at org.strategoxt.imp.runtime.services.StrategoReferenceResolver.getLinkText(StrategoReferenceResolver.java:76)
at org.strategoxt.imp.runtime.dynamicloading.DynamicReferenceResolver.getLinkText(DynamicReferenceResolver.java:25)
at org.strategoxt.imp.runtime.services.DocumentationProvider.getDocumentation(DocumentationProvider.java:28)
at org.strategoxt.imp.runtime.services.AnnotationHoverHelper.getHoverHelpAt(AnnotationHoverHelper.java:48)
at org.eclipse.imp.editor.internal.HoverHelpController.getHoverInfo(HoverHelpController.java:59)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:168)

Submitted by Zef Hemel on 30 August 2010 at 10:42



On 15 September 2010 at 16:03 Nathan Bruning commented:

This would also be useful for resolving to WebDSL template files!


On 8 January 2013 at 12:55 Eelco Visser removed tag 1.3

On 8 January 2013 at 12:55 Eelco Visser tagged interesting

On 8 January 2013 at 16:52 Gabriël Konat removed tag interesting

On 8 January 2013 at 16:52 Gabriël Konat removed tag error

On 8 January 2013 at 16:52 Gabriël Konat tagged feature

On 8 January 2013 at 16:53 Gabriël Konat tagged eclipse

On 8 January 2013 at 16:53 Gabriël Konat tagged reference-resolving

On 17 January 2013 at 15:34 Eelco Visser tagged !eelcovisser

Log in to post comments