switch vector/bitmap bug?

A list of currently known bugs in Alchemy. Please check before posting a new topic.

switch vector/bitmap bug?

Postby Nicolas on Wed, 10 Feb 2010 16:46:23 GMT

I'm not sure if this is a bug. When I run Alchemy and use Switch->"Switch Vector", I get:
Code: Select all
...
Java Version: 1.6.0_18
Platform: Linux
OS Version: 2.6.30-tuxonice-r6
Architecture: i386
Language: en
Country: US
Save Single Pdf Called: /tmp/AlchemyTempVectorFile6364864606458956018.pdf
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at java.io.File.<init>(File.java:222)
        at org.alchemy.core.AlcMenuBar.openSwitch(AlcMenuBar.java:933)
        at org.alchemy.core.AlcMenuBar.switchVector(AlcMenuBar.java:902)
        at org.alchemy.core.AlcMenuBar.access$800(AlcMenuBar.java:34)
        at org.alchemy.core.AlcMenuBar$24.actionPerformed(AlcMenuBar.java:551)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
        at java.awt.Component.processMouseEvent(Component.java:6263)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:6028)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


And something similar when using Switch->"Switch Bitmap":
Code: Select all
...
Java Version: 1.6.0_18
Platform: Linux
OS Version: 2.6.30-tuxonice-r6
Architecture: i386
Language: en
Country: US
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at java.io.File.<init>(File.java:222)
        at org.alchemy.core.AlcMenuBar.openSwitch(AlcMenuBar.java:933)
        at org.alchemy.core.AlcMenuBar.switchBitmap(AlcMenuBar.java:921)
        at org.alchemy.core.AlcMenuBar.access$900(AlcMenuBar.java:34)
        at org.alchemy.core.AlcMenuBar$25.actionPerformed(AlcMenuBar.java:565)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
        at java.awt.Component.processMouseEvent(Component.java:6263)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:6028)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


I'm using Alchemy BETA 008.

Cheers!
Nicolas
Nicolas
 
Posts: 18
Joined: Fri, 21 Aug 2009 13:23:43 GMT

Re: switch vector/bitmap bug?

Postby Karl DD on Wed, 10 Feb 2010 17:09:58 GMT

Did you set the application first with "Set Vector Application..." & "Set Bitmap Application..." ?
User avatar
Karl DD
Site Admin
 
Posts: 564
Joined: Sun, 20 Jan 2008 02:45:28 GMT
Location: Pittsburgh, PA

Re: switch vector/bitmap bug?

Postby Nicolas on Wed, 10 Feb 2010 17:34:20 GMT

oops... no I didn't... thanks Karl!
Nicolas
 
Posts: 18
Joined: Fri, 21 Aug 2009 13:23:43 GMT

Re: switch vector/bitmap bug?

Postby Karl DD on Wed, 10 Feb 2010 19:01:00 GMT

That would probably be a good place to throw up an error dialog actually.
This has come up a few times.
User avatar
Karl DD
Site Admin
 
Posts: 564
Joined: Sun, 20 Jan 2008 02:45:28 GMT
Location: Pittsburgh, PA


Return to Known Bugs

Who is online

Users browsing this forum: No registered users and 0 guests