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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Vaclav Votipka

[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 [hidden email] 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.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|

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

Eric Le Lay-2

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 [hidden email] 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.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|

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

jedit-devel mailing list
In reply to this post by Vaclav Votipka

So all this needs is a rebuild? No code changes?


[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: Wed May 10, 2017 07:27 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 [hidden email] 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.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel
Reply | Threaded
Open this post in threaded view
|

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

jedit-devel mailing list
In reply to this post by Vaclav Votipka

It would only need a rebuild to solve this problem.
Other problem are scala 2.7.5 is too old to compile with java 8, jetty-6.1.19.zip is nowhere to be found, so the plugin doesn't build anymore.
Code is at https://github.com/vseryakov/scalac-jedit


[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 Jun 20, 2017 09:52 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 [hidden email] 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.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Developers' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-devel