java.lang.ClassCastException: java.lang.String cannot be cast to java.awt.TextField

Google Groups | Tristan Chaplin | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Problems with some commands when using command line scripts

    Google Groups | 5 years ago | Tristan Chaplin
    java.lang.ClassCastException: java.lang.String cannot be cast to java.awt.TextField
  2. 0

    Running Jython scripts from command line

    Google Groups | 5 years ago | Tristan Chaplin
    java.lang.ClassCastException: java.lang.String cannot be cast to java.awt.TextField

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to java.awt.TextField

      at ij.plugin.Resizer.run()
    2. ImageJ
      IJ.run
      1. ij.plugin.Resizer.run(Resizer.java:91)
      2. ij.IJ.runPlugInUnchecked(IJ.java:175)
      3. ij.IJ.runPlugIn(IJ.java:157)
      4. ij.Executer.runCommand(Executer.java:147)
      5. ij.Executer.run(Executer.java:78)
      6. ij.IJ.run(IJ.java:269)
      7. ij.IJ.run(IJ.java:314)
      7 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Jython
      PyObject.__call__
      1. org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:175)
      2. org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:190)
      3. org.python.core.PyObject.__call__(PyObject.java:432)
      4. org.python.core.PyObject.__call__(PyObject.java:436)
      4 frames
    5. org.python.pycode
      _pyx0.call_function
      1. org.python.pycode._pyx0.f$0(/Users/tchaplin/Dropbox/Neuro/Programs/python/imagej/multistackreg.py:101)
      2. org.python.pycode._pyx0.call_function(/Users/tchaplin/Dropbox/Neuro/Programs/python/imagej/multistackreg.py)
      2 frames
    6. Jython
      jython.main
      1. org.python.core.PyTableCode.call(PyTableCode.java:165)
      2. org.python.core.PyCode.call(PyCode.java:18)
      3. org.python.core.Py.runCode(Py.java:1204)
      4. org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:200)
      5. org.python.util.jython.run(jython.java:246)
      6. org.python.util.jython.main(jython.java:129)
      6 frames