Discussion:
[ jEdit-devel ] [jedit:plugin-bugs] #1885 Scalac: Crash in jEdit 5.4.0
(too old to reply)
Vaclav Votipka
2017-05-09 15:09:15 UTC
Permalink
---

** [plugin-bugs:#1885] Scalac: Crash in jEdit 5.4.0**

**Status:** open
**Group:**
**Created:** Tue May 09, 2017 03:09 PM UTC by Vaclav Votipka
**Last Updated:** Tue May 09, 2017 03:09 PM UTC
**Owner:** nobody


**jEdit version:** 5.4.0
**Scalac plugin version:** 1.1.0
**Java version:** Oracle Java 1.8.0_121
**Steps to reproduce:** run jEdit with Scalac plugin installed
**Expected result:** no error appears
**Current result:** this message appears:
~~~
/home/vaclav/.jedit/jars/ScalacPlugin.jar:
Cannot start: java.lang.NoSuchMethodError: org.gjt.sp.util.IOUtilities.closeQuietly(Ljava/io/InputStream;)V
Try updating to a newer version of the plugin.
~~~
**Activity log:**
~~~
5:07:03 PM [main] [notice] ScalacPlugin: copying resource /resources/catalog to modes/catalog
5:07:03 PM [main] [error] PluginJAR: Error while starting plugin scalac.ScalacPlugin
5:07:03 PM [main] [error] PluginJAR: java.lang.NoSuchMethodError: org.gjt.sp.util.IOUtilities.closeQuietly(Ljava/io/InputStream;)V
5:07:03 PM [main] [error] PluginJAR: at scalac.ScalacPlugin.copyResource(scalac.scala:417)
5:07:03 PM [main] [error] PluginJAR: at scalac.ScalacPlugin.start(scalac.scala:381)
5:07:03 PM [main] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.startPlugin(PluginJAR.java:1740)
5:07:03 PM [main] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.activatePlugin(PluginJAR.java:951)
5:07:03 PM [main] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.activatePluginIfNecessary(PluginJAR.java:1021)
5:07:03 PM [main] [error] PluginJAR: at org.gjt.sp.jedit.jEdit.main(jEdit.java:550)
5:07:03 PM [main] [error] ErrorListDialog$ErrorEntry: /home/vaclav/.jedit/jars/ScalacPlugin.jar:
5:07:03 PM [main] [error] ErrorListDialog$ErrorEntry: Cannot start: java.lang.NoSuchMethodError: org.gjt.sp.util.IOUtilities.closeQuietly(Ljava/io/InputStream;)V
5:07:03 PM [main] [error] ErrorListDialog$ErrorEntry: Try updating to a newer version of the plugin.
~~~



---

Sent from sourceforge.net because jedit-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jedit/plugin-bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/plugin-bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Eric Le Lay
2017-05-10 19:27:18 UTC
Permalink
The scalac plugin requires a rebuild:
org.gjt.sp.util.IOUtilities.closeQuietly(Ljava/io/InputStream;)V has been changed to org.gjt.sp.util.IOUtilities.closeQuietly(Ljava/io/Closeable;)V which is source but not binary compatible.


---

** [plugin-bugs:#1885] Scalac: Crash in jEdit 5.4.0**

**Status:** open
**Group:**
**Created:** Tue May 09, 2017 03:09 PM UTC by Vaclav Votipka
**Last Updated:** Tue May 09, 2017 03:09 PM UTC
**Owner:** nobody


**jEdit version:** 5.4.0
**Scalac plugin version:** 1.1.0
**Java version:** Oracle Java 1.8.0_121
**Steps to reproduce:** run jEdit with Scalac plugin installed
**Expected result:** no error appears
**Current result:** this message appears:
~~~
/home/vaclav/.jedit/jars/ScalacPlugin.jar:
Cannot start: java.lang.NoSuchMethodError: org.gjt.sp.util.IOUtilities.closeQuietly(Ljava/io/InputStream;)V
Try updating to a newer version of the plugin.
~~~
**Activity log:**
~~~
5:07:03 PM [main] [notice] ScalacPlugin: copying resource /resources/catalog to modes/catalog
5:07:03 PM [main] [error] PluginJAR: Error while starting plugin scalac.ScalacPlugin
5:07:03 PM [main] [error] PluginJAR: java.lang.NoSuchMethodError: org.gjt.sp.util.IOUtilities.closeQuietly(Ljava/io/InputStream;)V
5:07:03 PM [main] [error] PluginJAR: at scalac.ScalacPlugin.copyResource(scalac.scala:417)
5:07:03 PM [main] [error] PluginJAR: at scalac.ScalacPlugin.start(scalac.scala:381)
5:07:03 PM [main] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.startPlugin(PluginJAR.java:1740)
5:07:03 PM [main] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.activatePlugin(PluginJAR.java:951)
5:07:03 PM [main] [error] PluginJAR: at org.gjt.sp.jedit.PluginJAR.activatePluginIfNecessary(PluginJAR.java:1021)
5:07:03 PM [main] [error] PluginJAR: at org.gjt.sp.jedit.jEdit.main(jEdit.java:550)
5:07:03 PM [main] [error] ErrorListDialog$ErrorEntry: /home/vaclav/.jedit/jars/ScalacPlugin.jar:
5:07:03 PM [main] [error] ErrorListDialog$ErrorEntry: Cannot start: java.lang.NoSuchMethodError: org.gjt.sp.util.IOUtilities.closeQuietly(Ljava/io/InputStream;)V
5:07:03 PM [main] [error] ErrorListDialog$ErrorEntry: Try updating to a newer version of the plugin.
~~~



---

Sent from sourceforge.net because jedit-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jedit/plugin-bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/plugin-bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Continue reading on narkive:
Loading...