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

GitHub | bjansen | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 5919#252658525

    GitHub | 5 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 | 5 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