|
|
|
|
|
|
|
|
|
Re: error while deleting [message #1130333 is a reply to message #1130307] |
Wed, 09 October 2013 12:51 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
Phil,
It doesn't look like the exception you show in the image is really the
one from TabbedPropertySheetPage from previous stack traces you show. I
assume you have looked at the error log because I imagine the exception
you were trying to track down originally is being looked with a full
stack trace. Have you looked closely at the source code for
TabbedPropertySheetPage to see where the error there is?
On 09/10/2013 2:21 PM, Phil H wrote:
> Thx Ed for your hints. It's an NPE and setting the exception breakpoint gave me this:
>
>
>
> Regarding tracking the further processing of the error; it goes next to PartRenderingEgine.java to the method Object run(final MApplicationElement uiRoot, final IEclipseContext runContext), where it enter the catch(Exception ex) statement and afterwards stay at the while loop.
>
>
> while (((testShell != null && !testShell.isDisposed()) || (theApp != null && someAreVisible(theApp.getChildren()))) && !display.isDisposed()) {
> try {
> if (!display.readAndDispatch()) {
> runContext.processWaiting();
> if (spinOnce)
> return;
> advisor.eventLoopIdle(display);
> }
> } catch (ThreadDeath th) {
> throw th;
> } catch (Exception ex) {
> handle(ex, advisor);
> } catch (Error err) {
> handle(err, advisor);
> }
> }
>
>
> So, it's hard for me to see any reasons for the NPE..especially while deleting works at all..
>
> Cheers,
> Phil
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04541 seconds