Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ArrayIndexOutOfBoundsException in BuilderPropertyPage??
ArrayIndexOutOfBoundsException in BuilderPropertyPage?? [message #270069] Fri, 03 September 2004 17:49 Go to next message
Eclipse UserFriend
Originally posted by: csetera.spss.com

I have a user with some trouble using my 3rd party plugins and the
properties that are added to the projects. He is seeing the attached
stack trace. Can anyone offer any ideas on what might cause this? I
had a look at the code for this page and it seems that as long as the
user has at least one builder defined in their .project file that this
page should not fail in this way. The user appears to have two
builders, so I don't think that is the problem. The full Sourceforge
bug report can be found here
http://sourceforge.net/tracker/index.php?func=detail&aid =1021750&group_id=86829&atid=581073

Thanks for any insights.
Craig

!ENTRY org.eclipse.ui 4 0 Sep 01, 2004 19:48:15.365
!MESSAGE 0
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 0
at
org.eclipse.ui.externaltools.internal.ui.BuilderPropertyPage .hand
leEditButtonPressed(BuilderPropertyPage.java:626)
at
org.eclipse.ui.externaltools.internal.ui.BuilderPropertyPage .acce
ss$4(BuilderPropertyPage.java:625)
at
org.eclipse.ui.externaltools.internal.ui.BuilderPropertyPage $5.ha
ndleEvent(BuilderPropertyPage.java:317)
at org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2431)
at org.eclipse.jface.window.Window.runEventLoop
(Window.java:668)
at org.eclipse.jface.window.Window.open
(Window.java:648)
at org.eclipse.ui.dialogs.PropertyDialogAction.run
(PropertyDialogAction.java:177)
Re: ArrayIndexOutOfBoundsException in BuilderPropertyPage?? [message #270116 is a reply to message #270069] Fri, 03 September 2004 18:50 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
This would indicate that the user is initiating an edit of a builder with no
selection.
This is not supposed to be possible...but I have seen bugs like this before
when the edit is initiated with a double click (which is the code path for
this case).
If the user uses the Edit button instead of double click is the world a
happy place?
I really don't see how this would cause any other problem then when
attempting to edit a builder using double click.
I will investigate and log an Eclipse bug if necessary and report back

Darins

"Craig Setera" <csetera@spss.com> wrote in message
news:chaak6$vf$1@eclipse.org...
> I have a user with some trouble using my 3rd party plugins and the
> properties that are added to the projects. He is seeing the attached
> stack trace. Can anyone offer any ideas on what might cause this? I
> had a look at the code for this page and it seems that as long as the
> user has at least one builder defined in their .project file that this
> page should not fail in this way. The user appears to have two
> builders, so I don't think that is the problem. The full Sourceforge
> bug report can be found here
>
http://sourceforge.net/tracker/index.php?func=detail&aid =1021750&group_id=86829&atid=581073
>
> Thanks for any insights.
> Craig
>
> !ENTRY org.eclipse.ui 4 0 Sep 01, 2004 19:48:15.365
> !MESSAGE 0
> !STACK 0
> java.lang.ArrayIndexOutOfBoundsException: 0
> at
> org.eclipse.ui.externaltools.internal.ui.BuilderPropertyPage .hand
> leEditButtonPressed(BuilderPropertyPage.java:626)
> at
> org.eclipse.ui.externaltools.internal.ui.BuilderPropertyPage .acce
> ss$4(BuilderPropertyPage.java:625)
> at
> org.eclipse.ui.externaltools.internal.ui.BuilderPropertyPage $5.ha
> ndleEvent(BuilderPropertyPage.java:317)
> at org.eclipse.swt.widgets.EventTable.sendEvent
> (EventTable.java:82)
> at org.eclipse.swt.widgets.Widget.sendEvent
> (Widget.java:796)
> at org.eclipse.swt.widgets.Display.runDeferredEvents
> (Display.java:2772)
> at org.eclipse.swt.widgets.Display.readAndDispatch
> (Display.java:2431)
> at org.eclipse.jface.window.Window.runEventLoop
> (Window.java:668)
> at org.eclipse.jface.window.Window.open
> (Window.java:648)
> at org.eclipse.ui.dialogs.PropertyDialogAction.run
> (PropertyDialogAction.java:177)
Re: ArrayIndexOutOfBoundsException in BuilderPropertyPage?? [message #270123 is a reply to message #270116] Fri, 03 September 2004 18:56 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
I have logged
https://bugs.eclipse.org/bugs/show_bug.cgi?id=73268

Darins

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:chae6u$8tj$1@eclipse.org...
> This would indicate that the user is initiating an edit of a builder with
no
> selection.
> This is not supposed to be possible...but I have seen bugs like this
before
> when the edit is initiated with a double click (which is the code path for
> this case).
> If the user uses the Edit button instead of double click is the world a
> happy place?
> I really don't see how this would cause any other problem then when
> attempting to edit a builder using double click.
> I will investigate and log an Eclipse bug if necessary and report back
>
> Darins
>
> "Craig Setera" <csetera@spss.com> wrote in message
> news:chaak6$vf$1@eclipse.org...
> > I have a user with some trouble using my 3rd party plugins and the
> > properties that are added to the projects. He is seeing the attached
> > stack trace. Can anyone offer any ideas on what might cause this? I
> > had a look at the code for this page and it seems that as long as the
> > user has at least one builder defined in their .project file that this
> > page should not fail in this way. The user appears to have two
> > builders, so I don't think that is the problem. The full Sourceforge
> > bug report can be found here
> >
>
http://sourceforge.net/tracker/index.php?func=detail&aid =1021750&group_id=86829&atid=581073
> >
> > Thanks for any insights.
> > Craig
> >
> > !ENTRY org.eclipse.ui 4 0 Sep 01, 2004 19:48:15.365
> > !MESSAGE 0
> > !STACK 0
> > java.lang.ArrayIndexOutOfBoundsException: 0
> > at
> > org.eclipse.ui.externaltools.internal.ui.BuilderPropertyPage .hand
> > leEditButtonPressed(BuilderPropertyPage.java:626)
> > at
> > org.eclipse.ui.externaltools.internal.ui.BuilderPropertyPage .acce
> > ss$4(BuilderPropertyPage.java:625)
> > at
> > org.eclipse.ui.externaltools.internal.ui.BuilderPropertyPage $5.ha
> > ndleEvent(BuilderPropertyPage.java:317)
> > at org.eclipse.swt.widgets.EventTable.sendEvent
> > (EventTable.java:82)
> > at org.eclipse.swt.widgets.Widget.sendEvent
> > (Widget.java:796)
> > at org.eclipse.swt.widgets.Display.runDeferredEvents
> > (Display.java:2772)
> > at org.eclipse.swt.widgets.Display.readAndDispatch
> > (Display.java:2431)
> > at org.eclipse.jface.window.Window.runEventLoop
> > (Window.java:668)
> > at org.eclipse.jface.window.Window.open
> > (Window.java:648)
> > at org.eclipse.ui.dialogs.PropertyDialogAction.run
> > (PropertyDialogAction.java:177)
>
>
Previous Topic:How to enable Delete Menu item in Problems view ?
Next Topic:Marker deletion problem
Goto Forum:
  


Current Time: Fri Aug 16 11:25:20 GMT 2024

Powered by FUDForum. Page generated in 0.03689 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top