java.lang.IllegalArgumentException: Cannot determine the package name of 'java.util.Map.Entry'. Please use the TypeReference(packageName, className) constructor

eclipse.org | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Eclipse Community Forums: TMF (Xtext) » Couldn't resolve reference to JvmType 'ecore2xtext.FormatterFragment'

    eclipse.org | 2 months ago
    java.lang.IllegalArgumentException: Cannot determine the package name of 'java.util.Map.Entry'. Please use the TypeReference(packageName, className) constructor

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot determine the package name of 'java.util.Map.Entry'. Please use the TypeReference(packageName, className) constructor

      at org.eclipse.xtext.xtext.generator.model.TypeReference.getPackageName()
    2. org.eclipse.xtext
      JavaFileAccess$JavaTypeAwareStringConcatenation.getStringRepresentation
      1. org.eclipse.xtext.xtext.generator.model.TypeReference.getPackageName(TypeReference.java:176)
      2. org.eclipse.xtext.xtext.generator.model.TypeReference.<init>(TypeReference.java:70)
      3. org.eclipse.xtext.xtext.generator.model.TypeReference.<init>(TypeReference.java:66)
      4. org.eclipse.xtext.xtext.generator.model.TypeReference.<init>(TypeReference.java:62)
      5. org.eclipse.xtext.xtext.generator.model.TypeReference.<init>(TypeReference.java:145)
      6. org.eclipse.xtext.xtext.generator.model.JavaFileAccess$JavaTypeAwareStringConcatenation.getStringRepresentation(JavaFileAccess.java:62)
      6 frames