From: Dale A. <da...@da...> - 2019-10-20 00:01:42
|
I looked into this some more and checked in a fix. If you're comfortable unzipping and zipping the Templates.jar file, you can fix it by unzipping the jar, edit the Templates.props file and make this line: plugin.templates.TemplatesPlugin.jars=oro-2.0.8.jar velocity-1.7.jar look like this: plugin.templates.TemplatesPlugin.jars=oro-2.0.8.jar velocity-1.7.jar log4j-1.2.14.jar Then zip the file (with a .jar extension, of course) and restart jEdit. On Thu, Sep 19, 2019 at 1:04 PM Robert Schwenn <Rob...@ka...> wrote: > Hi, I'd also appreciate a working Templates plugin. It hasn't been working > for me for a while now. please see > https://sourceforge.net/p/jedit/plugin-bugs/1882/ > > Thank's > Robert > > > Am 19.09.2019 um 19:33 schrieb Dale Anson: > > I can't make it work either. I don't use Templates regularly at all, but > I'm getting an entirely different error, it complains that it can't find > LilyPondTool.jar, which isn't a dependency. So I installed the LilyPond > plugin, and then I get the same error you do. Weird. Do you have the > LilyPond plugin installed? Would you enter a bug in the Plugin tracker at > https://sourceforge.net/p/jedit/plugin-bugs/, please? > > On Mon, Sep 16, 2019 at 3:54 AM Pier Paolo Grassi < > ma...@pi...> wrote: > >> Hello, I'm a long time jedit user. Years ago I used the Templates plugin, >> now I tried installing it again on jEdit 5.5.0, but whenever I try to >> insert a template in the current buffer I get this error message: >> >> An error occurred while attempting to process a template. >> Refer to the Activity Log for more details >> >> in the activity log there is this message: >> >> >> 11.01.14 [AWT-EventQueue-0] [error] TemplatesPlugin: Error processing >> template 'html tag_javascript.js' >> 11.01.14 [AWT-EventQueue-0] [error] TemplatesPlugin: >> java.lang.NullPointerException >> 11.01.14 [AWT-EventQueue-0] [error] TemplatesPlugin: at >> org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:294) >> 11.24.27 [AWT-EventQueue-0] [error] TemplatesPlugin: at >> org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1533) >> 11.24.27 [AWT-EventQueue-0] [error] TemplatesPlugin: at >> org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:343) >> 11.24.27 [AWT-EventQueue-0] [error] TemplatesPlugin: at >> org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:320) >> [...] >> >> Can anybody help me to make it work? >> thanks >> -- >> ----------------------------------------------- >> jEdit Users' List >> jEd...@li... >> https://lists.sourceforge.net/lists/listinfo/jedit-users >> > > > > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users > |