Bug 430871 - Unhandled event loop exception when canceling choosing of printer
Summary: Unhandled event loop exception when canceling choosing of printer
Status: ASSIGNED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 07:57 EDT by Tomas Rohovsky CLA
Modified: 2015-07-01 07:32 EDT (History)
2 users (show)

See Also:


Attachments
error log (6.25 KB, text/x-log)
2014-03-21 07:57 EDT, Tomas Rohovsky CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Rohovsky CLA 2014-03-21 07:57:39 EDT
Created attachment 241095 [details]
error log

Steps to reproduce:

1. Open the Printing dialog (File->Print...)
2. Click on Change printer...
3. Click on Cancel

Actual results:
A dialog containing "Unhandled event loop exception No more handles" is opened and followed by a prompt to exit the workspace.

Expected results:
Showing of the Print dialog without errors.
Comment 1 Michael Wenz CLA 2014-03-24 07:58:38 EDT
Sorry, but I wasn't able to reproduce this on my Windows machine, I will need to take a look at Linux I guess.

Could you give some more details on your printers setup? E.g. how many printers are installed.

Thanks,
Michael
Comment 2 Tomas Rohovsky CLA 2014-03-24 10:39:01 EDT
I am using OpenJDK, java version 1.7.0_51, Fedora 19. I have 26 printers installed. They are managed by CUPS server.
Comment 3 Ken Mersado CLA 2015-07-01 05:10:55 EDT
was this fixed? by the way, i notice that this occurs when there is no printer setup in the machine.
Comment 4 Michael Wenz CLA 2015-07-01 06:37:20 EDT
Sorry, this bug somehow dropped off my radar...

It is not yet fixed.

Michael
Comment 5 Ken Mersado CLA 2015-07-01 06:42:08 EDT
Hi Michael,

When can we see this running? I tried to create my own Printer feature by extending the DefaultPrinterFeature. But, graphiti is still using the DefaultPrinterFeature. I just want to handle the error by showing a dialog box to the user saying that there is no printer detected :P

Thanks,
Ken
Comment 6 Michael Wenz CLA 2015-07-01 06:47:09 EDT
Ken,

I'll put this bug on the list for the nect dev cycle, but I need to set up a Linux machine to test it.

Regarding your own print feature: maybe you forgot to also override getPrintFeature() in your feature provider and return your feature there?

Michael
Comment 7 Ken Mersado CLA 2015-07-01 07:17:09 EDT
Hi Michael,

I already did that too. But somehow, upon tracing it, it doesn't use the class i created. By the way, i can reproduce the "Unhandled event loop exception" in windows when i remove all my setup printer in my machine (no printer setup).

Thanks,
Ken
Comment 8 Ken Mersado CLA 2015-07-01 07:32:55 EDT
Hi Michael,

For the custom Printer Feature, i already solved the issue. I forgot to change the return value of the override getPrintFeature(). LOL!

Thanks,
Ken