java.lang.ClassCastException: com.redhat.ceylon.langtools.tools.javac.code.Type$ClassType cannot be cast to javax.lang.model.type.TypeMirror

GitHub | bjansen | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 5919#252658525

    GitHub | 7 months ago | bjansen
    java.lang.ClassCastException: com.redhat.ceylon.langtools.tools.javac.code.Type$ClassType cannot be cast to javax.lang.model.type.TypeMirror
  2. 0

    Can't use existing annotation processor

    GitHub | 7 months ago | bjansen
    java.lang.ClassCastException: com.redhat.ceylon.langtools.tools.javac.code.Type$ClassType cannot be cast to javax.lang.model.type.TypeMirror

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.redhat.ceylon.langtools.tools.javac.code.Type$ClassType cannot be cast to javax.lang.model.type.TypeMirror

      at org.netbeans.modules.editor.mimelookup.CreateRegistrationProcessor.process()
    2. org.netbeans.modules
      CreateRegistrationProcessor.handleProcess
      1. org.netbeans.modules.editor.mimelookup.CreateRegistrationProcessor.process(CreateRegistrationProcessor.java:131)
      2. org.netbeans.modules.editor.mimelookup.CreateRegistrationProcessor.handleProcess(CreateRegistrationProcessor.java:87)
      2 frames
    3. org.openide.filesystems
      LayerGeneratingProcessor.process
      1. org.openide.filesystems.annotations.LayerGeneratingProcessor.process(LayerGeneratingProcessor.java:122)
      1 frame
    4. com.redhat.ceylon
      ProcessorWrapper.process
      1. com.redhat.ceylon.langtools.tools.javac.processing.wrappers.ProcessorWrapper.process(ProcessorWrapper.java:46)
      1 frame