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 <[email protected]> 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. > >
