java.lang.NoSuchFieldError: org/eclipse/swt/custom/StyleRange.data**

pydev | fgordon | 6 years 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

    NoSuchFieldError when viewing coverage

    pydev | 6 years ago | fgordon
    java.lang.NoSuchFieldError: org/eclipse/swt/custom/StyleRange.data**

    Root Cause Analysis

    1. java.lang.NoSuchFieldError

      org/eclipse/swt/custom/StyleRange.data**

      at org.python.pydev.debug.codecoverage.CoverageCache.getStatistics()
    2. org.python.pydev
      PyCodeCoverageView$12.selectionChanged
      1. org.python.pydev.debug.codecoverage.CoverageCache.getStatistics(CoverageCache.java:255)
      2. org.python.pydev.debug.codecoverage.PyCodeCoverageView.onSelectedFileInTree(PyCodeCoverageView.java:350)
      3. org.python.pydev.debug.codecoverage.PyCodeCoverageView.access$2(PyCodeCoverageView.java:343)
      4. org.python.pydev.debug.codecoverage.PyCodeCoverageView$SelectionChangedTreeAction.run(PyCodeCoverageView.java:338)
      5. org.python.pydev.debug.codecoverage.PyCodeCoverageView$SelectionChangedTreeAction.runWithEvent(PyCodeCoverageView.java:329)
      6. org.python.pydev.debug.codecoverage.PyCodeCoverageView$12.selectionChanged(PyCodeCoverageView.java:847)
      6 frames
    3. JFace
      Viewer$2.run
      1. org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
      1 frame