Re: Error when using Editor Scheme plugin

Dale Anson <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <CAHrA0wAvvNJszrGo2PYc-dU397VwkBvNCORke+tfD8Vj44KWfg@mail.gmail.com>
Yes, those are bugs in the Editor Scheme plugin.

For 1, the UI needs fixed to show the current scheme. I see the same
problem.

For 2, jEdit was revised several versions ago to support alpha channel in
colors. Editor Scheme needs a similar update.

Dale



On Sun, Aug 13, 2017 at 11:00 AM, Jim <[email protected]> wrote:

> Running Linux Mint 18 and jEdit 5.4.0 which says all plugins are up to
> date.
>
> 1) It has been a while since I selected the scheme I am using and I am
> unsure exactly which one I am using. How do I tell which scheme I am
> currently using?  I don't see anything in the Scheme Selector that shows
> which one I am using.
>
> 2) I get the following error when I open the Scheme Editor:
>
> java.lang.NumberFormatException: For input string: "ff282828"
>         at java.lang.NumberFormatException.forInputString(NumberFormatE
> xception.java:65)
>         at java.lang.Integer.parseInt(Integer.java:583)
>         at java.lang.Integer.valueOf(Integer.java:740)
>         at java.lang.Integer.decode(Integer.java:1197)
>         at editorscheme.EditorPanel.installUI(Unknown Source)
>         at editorscheme.EditorPanel.<init>(Unknown Source)
>         at editorscheme.SchemeEditor.installUI(Unknown Source)
>         at editorscheme.SchemeEditor.<init>(Unknown Source)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
> ConstructorAccessorImpl.java:62)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
> legatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>         at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:621)
>         at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject
> (BSHAllocationExpression.java:123)
>         at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocatio
> n(BSHAllocationExpression.java:114)
>         at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocat
> ionExpression.java:62)
>         at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExp
> ression.java:102)
>         at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExp
> ression.java:47)
>         at org.gjt.sp.jedit.bsh.BSHReturnStatement.eval(BSHReturnStatem
> ent.java:48)
>         at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
>         at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
>         at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
>         at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:
> 153)
>         at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:117)
>         at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:382)
>         at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDock
> ableWindow(DockableWindowFactory.java:482)
>         at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableW
> indow(DockableWindowManagerImpl.java:355)
>         at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction
> .invoke(DockableWindowFactory.java:514)
>         at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.
> java:343)
>         at org.gjt.sp.jedit.jEdit$6.invokeAction(jEdit.java:3504)
>         at org.gjt.sp.jedit.jEdit$6.invokeAction(jEdit.java:3486)
>         at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditActi
> on.java:214)
>         at javax.swing.AbstractButton.fireActionPerformed(AbstractButto
> n.java:2022)
>         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractB
> utton.java:2348)
>         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultBu
> ttonModel.java:402)
>         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel
> .java:259)
>         at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItem
> UI.java:833)
>         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased
> (BasicMenuItemUI.java:877)
>         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticast
> er.java:289)
>         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticast
> er.java:289)
>         at java.awt.Component.processMouseEvent(Component.java:6533)
>         at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>         at java.awt.Component.processEvent(Component.java:6298)
>         at java.awt.Container.processEvent(Container.java:2236)
>         at java.awt.Component.dispatchEventImpl(Component.java:4889)
>         at java.awt.Container.dispatchEventImpl(Container.java:2294)
>         at java.awt.Component.dispatchEvent(Component.java:4711)
>         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.
> java:4888)
>         at java.awt.LightweightDispatcher.processMouseEvent(Container.j
> ava:4525)
>         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:
> 4466)
>         at java.awt.Container.dispatchEventImpl(Container.java:2280)
>         at java.awt.Window.dispatchEventImpl(Window.java:2746)
>         at java.awt.Component.dispatchEvent(Component.java:4711)
>         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>         at java.awt.EventQueue.access$500(EventQueue.java:97)
>         at java.awt.EventQueue$3.run(EventQueue.java:709)
>         at java.awt.EventQueue$3.run(EventQueue.java:703)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doInte
> rsectionPrivilege(ProtectionDomain.java:80)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doInte
> rsectionPrivilege(ProtectionDomain.java:90)
>         at java.awt.EventQueue$4.run(EventQueue.java:731)
>         at java.awt.EventQueue$4.run(EventQueue.java:729)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.security.ProtectionDomain$JavaSecurityAccessImpl.doInte
> rsectionPrivilege(ProtectionDomain.java:80)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDis
> patchThread.java:201)
>         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispat
> chThread.java:116)
>         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis
> patchThread.java:105)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
> java:101)
>         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
> java:93)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
>
> regards,  Jim
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> --
> -----------------------------------------------
> jEdit Users' List
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jedit-users
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.