You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by Scott Lanham <li...@sael.com.au> on 2009/10/07 02:22:48 UTC

Alert and NullPointerException

Hi,

Is anyone else getting a NullPointerException when doing the following:

	Create an alert and drag it to the top of the window until the mouse is 
within the title bar. Release the mouse and the NullPointerException occurs.

Cheers,

Scott.

Re: Alert and NullPointerException

Posted by Todd Volkert <tv...@gmail.com>.
Yeah, that's 'cause other than the JDK, JUnit is our only system
requirement, and until the past few days, you only needed it to run the test
targets.  After I checked in a change that broke the build for the test
targets, I updated the build file to compile the tests by default :)

On Tue, Oct 6, 2009 at 9:47 PM, Scott Lanham <li...@sael.com.au> wrote:

> Okay, now I will show how new I am to Java. I have never had to set the
> CLASSPATH environment variable, everything has just worked, until now.
>
> On Wed, 7 Oct 2009 11:11:22 am Todd Volkert wrote:
> > That check used to be in the Ant targets that ran the unit tests only,
> but
> > I updated the build file to check for it in the main compilation tasks a
> > few days ago because the default build target will now compile (but not
> > run) the unit tests.
> > Do you have the JUnit 4.5 jar(s) on your classpath when you run the Ant
> > build?
> >
> > -T
> >
> > On Tue, Oct 6, 2009 at 9:06 PM, Scott Lanham <li...@sael.com.au> wrote:
> > > Updated from SVN. Now a compile error:
> > >
> > > build.xml:92: JUnit 4 not found. Please see the BUILD file for more
> > > information.
> > >
> > > I use Junit 4.5 for my projects so don't know where Pivot it is looking
> > > for it.
> > >
> > > On Wed, 7 Oct 2009 10:41:30 am Greg Brown wrote:
> > > > Yeah, try that. I think we fixed this one earlier today.
> > > >
> > > > On Oct 6, 2009, at 8:40 PM, Scott Lanham wrote:
> > > > > No SVN update today, the last was yesterday. I will update and see
> > > > > what
> > > > > happens.
> > > > >
> > > > > On Wed, 7 Oct 2009 10:36:20 am Greg Brown wrote:
> > > > >> Ah. Did you get the latest from SVN yet today?
> > > > >>
> > > > >> On Oct 6, 2009, at 8:31 PM, Scott Lanham wrote:
> > > > >>> OS: Linux
> > > > >>> JRE: 1.6.0_16
> > > > >>>
> > > > >>> Here is the full error:
> > > > >>>
> > > > >>> java.lang.NullPointerException
> > > > >>>       at org.apache.pivot.wtk.Mouse.release(Mouse.java:119)
> > > > >>>       at org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseUp
> > > > >>> (TerraFrameSkin.java:796)
> > > > >>>       at org.apache.pivot.wtk.Component
> > > > >>> $ComponentMouseButtonListenerList.mouseUp(Component.java:465)
> > > > >>>       at
> > > > >>> org.apache.pivot.wtk.Component.mouseUp(Component.java:2566) at
> > > > >>> org.apache.pivot.wtk.Container.mouseUp(Container.java:811) at
> > > > >>> org.apache.pivot.wtk.ApplicationContext
> > > > >>> $DisplayHost.processMouseEvent(ApplicationContext.java:872)
> > > > >>>       at java.awt.Component.processEvent(Component.java:6028)
> > > > >>>       at org.apache.pivot.wtk.ApplicationContext
> > > > >>> $DisplayHost.processEvent(ApplicationContext.java:653)
> > > > >>>       at
> java.awt.Component.dispatchEventImpl(Component.java:4630)
> > > > >>>       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)
> > > > >>>
> > > > >>> On Wed, 7 Oct 2009 10:26:27 am Greg Brown wrote:
> > > > >>>> I don't get an exception in that case. What OS/JRE are you
> > > > >>>> running?
> > > > >>>>
> > > > >>>> On Oct 6, 2009, at 8:22 PM, Scott Lanham wrote:
> > > > >>>>> Hi,
> > > > >>>>>
> > > > >>>>> Is anyone else getting a NullPointerException when doing the
> > > > >>>>> following:
> > > > >>>>>
> > > > >>>>>         Create an alert and drag it to the top of the window
> > > > >>>>> until
> > >
> > > the
> > >
> > > > >>>>> mouse is
> > > > >>>>> within the title bar. Release the mouse and the
> > > > >>>>> NullPointerException
> > > > >>>>> occurs.
> > > > >>>>>
> > > > >>>>> Cheers,
> > > > >>>>>
> > > > >>>>> Scott.
>
>

Re: Alert and NullPointerException

Posted by Scott Lanham <li...@sael.com.au>.
Okay, now I will show how new I am to Java. I have never had to set the 
CLASSPATH environment variable, everything has just worked, until now.

On Wed, 7 Oct 2009 11:11:22 am Todd Volkert wrote:
> That check used to be in the Ant targets that ran the unit tests only, but
> I updated the build file to check for it in the main compilation tasks a
> few days ago because the default build target will now compile (but not
> run) the unit tests.
> Do you have the JUnit 4.5 jar(s) on your classpath when you run the Ant
> build?
>
> -T
>
> On Tue, Oct 6, 2009 at 9:06 PM, Scott Lanham <li...@sael.com.au> wrote:
> > Updated from SVN. Now a compile error:
> >
> > build.xml:92: JUnit 4 not found. Please see the BUILD file for more
> > information.
> >
> > I use Junit 4.5 for my projects so don't know where Pivot it is looking
> > for it.
> >
> > On Wed, 7 Oct 2009 10:41:30 am Greg Brown wrote:
> > > Yeah, try that. I think we fixed this one earlier today.
> > >
> > > On Oct 6, 2009, at 8:40 PM, Scott Lanham wrote:
> > > > No SVN update today, the last was yesterday. I will update and see
> > > > what
> > > > happens.
> > > >
> > > > On Wed, 7 Oct 2009 10:36:20 am Greg Brown wrote:
> > > >> Ah. Did you get the latest from SVN yet today?
> > > >>
> > > >> On Oct 6, 2009, at 8:31 PM, Scott Lanham wrote:
> > > >>> OS: Linux
> > > >>> JRE: 1.6.0_16
> > > >>>
> > > >>> Here is the full error:
> > > >>>
> > > >>> java.lang.NullPointerException
> > > >>>       at org.apache.pivot.wtk.Mouse.release(Mouse.java:119)
> > > >>>       at org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseUp
> > > >>> (TerraFrameSkin.java:796)
> > > >>>       at org.apache.pivot.wtk.Component
> > > >>> $ComponentMouseButtonListenerList.mouseUp(Component.java:465)
> > > >>>       at
> > > >>> org.apache.pivot.wtk.Component.mouseUp(Component.java:2566) at
> > > >>> org.apache.pivot.wtk.Container.mouseUp(Container.java:811) at
> > > >>> org.apache.pivot.wtk.ApplicationContext
> > > >>> $DisplayHost.processMouseEvent(ApplicationContext.java:872)
> > > >>>       at java.awt.Component.processEvent(Component.java:6028)
> > > >>>       at org.apache.pivot.wtk.ApplicationContext
> > > >>> $DisplayHost.processEvent(ApplicationContext.java:653)
> > > >>>       at java.awt.Component.dispatchEventImpl(Component.java:4630)
> > > >>>       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)
> > > >>>
> > > >>> On Wed, 7 Oct 2009 10:26:27 am Greg Brown wrote:
> > > >>>> I don't get an exception in that case. What OS/JRE are you
> > > >>>> running?
> > > >>>>
> > > >>>> On Oct 6, 2009, at 8:22 PM, Scott Lanham wrote:
> > > >>>>> Hi,
> > > >>>>>
> > > >>>>> Is anyone else getting a NullPointerException when doing the
> > > >>>>> following:
> > > >>>>>
> > > >>>>>         Create an alert and drag it to the top of the window
> > > >>>>> until
> >
> > the
> >
> > > >>>>> mouse is
> > > >>>>> within the title bar. Release the mouse and the
> > > >>>>> NullPointerException
> > > >>>>> occurs.
> > > >>>>>
> > > >>>>> Cheers,
> > > >>>>>
> > > >>>>> Scott.


Re: Alert and NullPointerException

Posted by Todd Volkert <tv...@gmail.com>.
That check used to be in the Ant targets that ran the unit tests only, but I
updated the build file to check for it in the main compilation tasks a few
days ago because the default build target will now compile (but not run) the
unit tests.
Do you have the JUnit 4.5 jar(s) on your classpath when you run the Ant
build?

-T

On Tue, Oct 6, 2009 at 9:06 PM, Scott Lanham <li...@sael.com.au> wrote:

> Updated from SVN. Now a compile error:
>
> build.xml:92: JUnit 4 not found. Please see the BUILD file for more
> information.
>
> I use Junit 4.5 for my projects so don't know where Pivot it is looking for
> it.
>
> On Wed, 7 Oct 2009 10:41:30 am Greg Brown wrote:
> > Yeah, try that. I think we fixed this one earlier today.
> >
> > On Oct 6, 2009, at 8:40 PM, Scott Lanham wrote:
> > > No SVN update today, the last was yesterday. I will update and see
> > > what
> > > happens.
> > >
> > > On Wed, 7 Oct 2009 10:36:20 am Greg Brown wrote:
> > >> Ah. Did you get the latest from SVN yet today?
> > >>
> > >> On Oct 6, 2009, at 8:31 PM, Scott Lanham wrote:
> > >>> OS: Linux
> > >>> JRE: 1.6.0_16
> > >>>
> > >>> Here is the full error:
> > >>>
> > >>> java.lang.NullPointerException
> > >>>       at org.apache.pivot.wtk.Mouse.release(Mouse.java:119)
> > >>>       at org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseUp
> > >>> (TerraFrameSkin.java:796)
> > >>>       at org.apache.pivot.wtk.Component
> > >>> $ComponentMouseButtonListenerList.mouseUp(Component.java:465)
> > >>>       at org.apache.pivot.wtk.Component.mouseUp(Component.java:2566)
> > >>>       at org.apache.pivot.wtk.Container.mouseUp(Container.java:811)
> > >>>       at org.apache.pivot.wtk.ApplicationContext
> > >>> $DisplayHost.processMouseEvent(ApplicationContext.java:872)
> > >>>       at java.awt.Component.processEvent(Component.java:6028)
> > >>>       at org.apache.pivot.wtk.ApplicationContext
> > >>> $DisplayHost.processEvent(ApplicationContext.java:653)
> > >>>       at java.awt.Component.dispatchEventImpl(Component.java:4630)
> > >>>       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)
> > >>>
> > >>> On Wed, 7 Oct 2009 10:26:27 am Greg Brown wrote:
> > >>>> I don't get an exception in that case. What OS/JRE are you running?
> > >>>>
> > >>>> On Oct 6, 2009, at 8:22 PM, Scott Lanham wrote:
> > >>>>> Hi,
> > >>>>>
> > >>>>> Is anyone else getting a NullPointerException when doing the
> > >>>>> following:
> > >>>>>
> > >>>>>         Create an alert and drag it to the top of the window until
> the
> > >>>>> mouse is
> > >>>>> within the title bar. Release the mouse and the
> > >>>>> NullPointerException
> > >>>>> occurs.
> > >>>>>
> > >>>>> Cheers,
> > >>>>>
> > >>>>> Scott.
>
>

Re: Alert and NullPointerException

Posted by Scott Lanham <li...@sael.com.au>.
Updated from SVN. Now a compile error:

build.xml:92: JUnit 4 not found. Please see the BUILD file for more 
information.

I use Junit 4.5 for my projects so don't know where Pivot it is looking for 
it.

On Wed, 7 Oct 2009 10:41:30 am Greg Brown wrote:
> Yeah, try that. I think we fixed this one earlier today.
>
> On Oct 6, 2009, at 8:40 PM, Scott Lanham wrote:
> > No SVN update today, the last was yesterday. I will update and see
> > what
> > happens.
> >
> > On Wed, 7 Oct 2009 10:36:20 am Greg Brown wrote:
> >> Ah. Did you get the latest from SVN yet today?
> >>
> >> On Oct 6, 2009, at 8:31 PM, Scott Lanham wrote:
> >>> OS: Linux
> >>> JRE: 1.6.0_16
> >>>
> >>> Here is the full error:
> >>>
> >>> java.lang.NullPointerException
> >>>       at org.apache.pivot.wtk.Mouse.release(Mouse.java:119)
> >>>       at org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseUp
> >>> (TerraFrameSkin.java:796)
> >>>       at org.apache.pivot.wtk.Component
> >>> $ComponentMouseButtonListenerList.mouseUp(Component.java:465)
> >>>       at org.apache.pivot.wtk.Component.mouseUp(Component.java:2566)
> >>>       at org.apache.pivot.wtk.Container.mouseUp(Container.java:811)
> >>>       at org.apache.pivot.wtk.ApplicationContext
> >>> $DisplayHost.processMouseEvent(ApplicationContext.java:872)
> >>>       at java.awt.Component.processEvent(Component.java:6028)
> >>>       at org.apache.pivot.wtk.ApplicationContext
> >>> $DisplayHost.processEvent(ApplicationContext.java:653)
> >>>       at java.awt.Component.dispatchEventImpl(Component.java:4630)
> >>>       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)
> >>>
> >>> On Wed, 7 Oct 2009 10:26:27 am Greg Brown wrote:
> >>>> I don't get an exception in that case. What OS/JRE are you running?
> >>>>
> >>>> On Oct 6, 2009, at 8:22 PM, Scott Lanham wrote:
> >>>>> Hi,
> >>>>>
> >>>>> Is anyone else getting a NullPointerException when doing the
> >>>>> following:
> >>>>>
> >>>>> 	Create an alert and drag it to the top of the window until the
> >>>>> mouse is
> >>>>> within the title bar. Release the mouse and the
> >>>>> NullPointerException
> >>>>> occurs.
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>> Scott.


Re: Alert and NullPointerException

Posted by Scott Lanham <li...@sael.com.au>.
Compiled from SVN and no more error.

On Wed, 7 Oct 2009 10:41:30 am Greg Brown wrote:
> Yeah, try that. I think we fixed this one earlier today.
>
> On Oct 6, 2009, at 8:40 PM, Scott Lanham wrote:
> > No SVN update today, the last was yesterday. I will update and see
> > what
> > happens.
> >
> > On Wed, 7 Oct 2009 10:36:20 am Greg Brown wrote:
> >> Ah. Did you get the latest from SVN yet today?
> >>
> >> On Oct 6, 2009, at 8:31 PM, Scott Lanham wrote:
> >>> OS: Linux
> >>> JRE: 1.6.0_16
> >>>
> >>> Here is the full error:
> >>>
> >>> java.lang.NullPointerException
> >>>       at org.apache.pivot.wtk.Mouse.release(Mouse.java:119)
> >>>       at org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseUp
> >>> (TerraFrameSkin.java:796)
> >>>       at org.apache.pivot.wtk.Component
> >>> $ComponentMouseButtonListenerList.mouseUp(Component.java:465)
> >>>       at org.apache.pivot.wtk.Component.mouseUp(Component.java:2566)
> >>>       at org.apache.pivot.wtk.Container.mouseUp(Container.java:811)
> >>>       at org.apache.pivot.wtk.ApplicationContext
> >>> $DisplayHost.processMouseEvent(ApplicationContext.java:872)
> >>>       at java.awt.Component.processEvent(Component.java:6028)
> >>>       at org.apache.pivot.wtk.ApplicationContext
> >>> $DisplayHost.processEvent(ApplicationContext.java:653)
> >>>       at java.awt.Component.dispatchEventImpl(Component.java:4630)
> >>>       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)
> >>>
> >>> On Wed, 7 Oct 2009 10:26:27 am Greg Brown wrote:
> >>>> I don't get an exception in that case. What OS/JRE are you running?
> >>>>
> >>>> On Oct 6, 2009, at 8:22 PM, Scott Lanham wrote:
> >>>>> Hi,
> >>>>>
> >>>>> Is anyone else getting a NullPointerException when doing the
> >>>>> following:
> >>>>>
> >>>>> 	Create an alert and drag it to the top of the window until the
> >>>>> mouse is
> >>>>> within the title bar. Release the mouse and the
> >>>>> NullPointerException
> >>>>> occurs.
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>> Scott.


Re: Alert and NullPointerException

Posted by Greg Brown <gk...@mac.com>.
Yeah, try that. I think we fixed this one earlier today.

On Oct 6, 2009, at 8:40 PM, Scott Lanham wrote:

> No SVN update today, the last was yesterday. I will update and see  
> what
> happens.
>
> On Wed, 7 Oct 2009 10:36:20 am Greg Brown wrote:
>> Ah. Did you get the latest from SVN yet today?
>>
>> On Oct 6, 2009, at 8:31 PM, Scott Lanham wrote:
>>> OS: Linux
>>> JRE: 1.6.0_16
>>>
>>> Here is the full error:
>>>
>>> java.lang.NullPointerException
>>>       at org.apache.pivot.wtk.Mouse.release(Mouse.java:119)
>>>       at org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseUp
>>> (TerraFrameSkin.java:796)
>>>       at org.apache.pivot.wtk.Component
>>> $ComponentMouseButtonListenerList.mouseUp(Component.java:465)
>>>       at org.apache.pivot.wtk.Component.mouseUp(Component.java:2566)
>>>       at org.apache.pivot.wtk.Container.mouseUp(Container.java:811)
>>>       at org.apache.pivot.wtk.ApplicationContext
>>> $DisplayHost.processMouseEvent(ApplicationContext.java:872)
>>>       at java.awt.Component.processEvent(Component.java:6028)
>>>       at org.apache.pivot.wtk.ApplicationContext
>>> $DisplayHost.processEvent(ApplicationContext.java:653)
>>>       at java.awt.Component.dispatchEventImpl(Component.java:4630)
>>>       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)
>>>
>>> On Wed, 7 Oct 2009 10:26:27 am Greg Brown wrote:
>>>> I don't get an exception in that case. What OS/JRE are you running?
>>>>
>>>> On Oct 6, 2009, at 8:22 PM, Scott Lanham wrote:
>>>>> Hi,
>>>>>
>>>>> Is anyone else getting a NullPointerException when doing the
>>>>> following:
>>>>>
>>>>> 	Create an alert and drag it to the top of the window until the
>>>>> mouse is
>>>>> within the title bar. Release the mouse and the  
>>>>> NullPointerException
>>>>> occurs.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Scott.
>


Re: Alert and NullPointerException

Posted by Scott Lanham <li...@sael.com.au>.
No SVN update today, the last was yesterday. I will update and see what 
happens.

On Wed, 7 Oct 2009 10:36:20 am Greg Brown wrote:
> Ah. Did you get the latest from SVN yet today?
>
> On Oct 6, 2009, at 8:31 PM, Scott Lanham wrote:
> > OS: Linux
> > JRE: 1.6.0_16
> >
> > Here is the full error:
> >
> > java.lang.NullPointerException
> >        at org.apache.pivot.wtk.Mouse.release(Mouse.java:119)
> >        at org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseUp
> > (TerraFrameSkin.java:796)
> >        at org.apache.pivot.wtk.Component
> > $ComponentMouseButtonListenerList.mouseUp(Component.java:465)
> >        at org.apache.pivot.wtk.Component.mouseUp(Component.java:2566)
> >        at org.apache.pivot.wtk.Container.mouseUp(Container.java:811)
> >        at org.apache.pivot.wtk.ApplicationContext
> > $DisplayHost.processMouseEvent(ApplicationContext.java:872)
> >        at java.awt.Component.processEvent(Component.java:6028)
> >        at org.apache.pivot.wtk.ApplicationContext
> > $DisplayHost.processEvent(ApplicationContext.java:653)
> >        at java.awt.Component.dispatchEventImpl(Component.java:4630)
> >        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)
> >
> > On Wed, 7 Oct 2009 10:26:27 am Greg Brown wrote:
> >> I don't get an exception in that case. What OS/JRE are you running?
> >>
> >> On Oct 6, 2009, at 8:22 PM, Scott Lanham wrote:
> >>> Hi,
> >>>
> >>> Is anyone else getting a NullPointerException when doing the
> >>> following:
> >>>
> >>> 	Create an alert and drag it to the top of the window until the
> >>> mouse is
> >>> within the title bar. Release the mouse and the NullPointerException
> >>> occurs.
> >>>
> >>> Cheers,
> >>>
> >>> Scott.


Re: Alert and NullPointerException

Posted by Greg Brown <gk...@mac.com>.
Ah. Did you get the latest from SVN yet today?

On Oct 6, 2009, at 8:31 PM, Scott Lanham wrote:

> OS: Linux
> JRE: 1.6.0_16
>
> Here is the full error:
>
> java.lang.NullPointerException
>        at org.apache.pivot.wtk.Mouse.release(Mouse.java:119)
>        at org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseUp 
> (TerraFrameSkin.java:796)
>        at org.apache.pivot.wtk.Component 
> $ComponentMouseButtonListenerList.mouseUp(Component.java:465)
>        at org.apache.pivot.wtk.Component.mouseUp(Component.java:2566)
>        at org.apache.pivot.wtk.Container.mouseUp(Container.java:811)
>        at org.apache.pivot.wtk.ApplicationContext 
> $DisplayHost.processMouseEvent(ApplicationContext.java:872)
>        at java.awt.Component.processEvent(Component.java:6028)
>        at org.apache.pivot.wtk.ApplicationContext 
> $DisplayHost.processEvent(ApplicationContext.java:653)
>        at java.awt.Component.dispatchEventImpl(Component.java:4630)
>        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)
>
> On Wed, 7 Oct 2009 10:26:27 am Greg Brown wrote:
>> I don't get an exception in that case. What OS/JRE are you running?
>>
>> On Oct 6, 2009, at 8:22 PM, Scott Lanham wrote:
>>> Hi,
>>>
>>> Is anyone else getting a NullPointerException when doing the
>>> following:
>>>
>>> 	Create an alert and drag it to the top of the window until the
>>> mouse is
>>> within the title bar. Release the mouse and the NullPointerException
>>> occurs.
>>>
>>> Cheers,
>>>
>>> Scott.
>


Re: Alert and NullPointerException

Posted by Scott Lanham <li...@sael.com.au>.
OS: Linux
JRE: 1.6.0_16

Here is the full error:

java.lang.NullPointerException
        at org.apache.pivot.wtk.Mouse.release(Mouse.java:119)
        at org.apache.pivot.wtk.skin.terra.TerraFrameSkin.mouseUp(TerraFrameSkin.java:796)
        at org.apache.pivot.wtk.Component$ComponentMouseButtonListenerList.mouseUp(Component.java:465)
        at org.apache.pivot.wtk.Component.mouseUp(Component.java:2566)
        at org.apache.pivot.wtk.Container.mouseUp(Container.java:811)
        at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processMouseEvent(ApplicationContext.java:872)
        at java.awt.Component.processEvent(Component.java:6028)
        at org.apache.pivot.wtk.ApplicationContext$DisplayHost.processEvent(ApplicationContext.java:653)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        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)

On Wed, 7 Oct 2009 10:26:27 am Greg Brown wrote:
> I don't get an exception in that case. What OS/JRE are you running?
>
> On Oct 6, 2009, at 8:22 PM, Scott Lanham wrote:
> > Hi,
> >
> > Is anyone else getting a NullPointerException when doing the
> > following:
> >
> > 	Create an alert and drag it to the top of the window until the
> > mouse is
> > within the title bar. Release the mouse and the NullPointerException
> > occurs.
> >
> > Cheers,
> >
> > Scott.


Re: Alert and NullPointerException

Posted by Greg Brown <gk...@mac.com>.
I don't get an exception in that case. What OS/JRE are you running?

On Oct 6, 2009, at 8:22 PM, Scott Lanham wrote:

> Hi,
>
> Is anyone else getting a NullPointerException when doing the  
> following:
>
> 	Create an alert and drag it to the top of the window until the  
> mouse is
> within the title bar. Release the mouse and the NullPointerException  
> occurs.
>
> Cheers,
>
> Scott.