I tried the new Quickstart instructions and they look great!   Two really 
simple, newbie-type things (me being the newbie) and a stack trace from an 
error inside the Quickstart app: 

I did a cut-and-paste to get the text from the pom.xml file in the PDF doc into 
my Netbeans pom.xml.   Since the document had the text split across two pages, 
I accidentally picked up the page footer and date and pasted them into my 
pom.xml file. 

I suggest adding something like this to the section about changing the pom.xml 
file:
"If, after editing the pom.xml file, your project name changes from "Example" 
to "Badly formed Maven project", this means you have changed the pom.xml to 
something Maven doesn't understand.   If you were cutting and pasting text, you 
most likely pasted the text in the wrong place and this threw Maven off.   
Carefully examine the pom.xml file and make sure all the tags line up.  Using 
the Source/Format menu option will auto-format your pom.xml file for you and 
should help you find the missing, extra or out-of-place tags."

I ran the Quickstart.java from the PDF, and it did load and display the .shp 
file (this is further than I've gotten before!  I'm excited!)   However, when I 
tried to click the "+" and zoom in on the map I got this error:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at org.geotools.swing.JMapPane.clearBaseImage(JMapPane.java:790)
        at org.geotools.swing.JMapPane.paintComponent(JMapPane.java:658)
        at javax.swing.JComponent.paint(JComponent.java:1029)
        at javax.swing.JComponent.paintChildren(JComponent.java:864)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:864)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JComponent.paintChildren(JComponent.java:864)
        at javax.swing.JComponent.paint(JComponent.java:1038)
        at javax.swing.JLayeredPane.paint(JLayeredPane.java:567)
        at javax.swing.JComponent.paintChildren(JComponent.java:864)
        at javax.swing.JComponent.paintToOffscreen(JComponent.java:5131)
        at 
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1475)
        at 
javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1406)
        at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
        at javax.swing.JComponent.paint(JComponent.java:1015)
        at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
        at 
sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
        at 
sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
        at java.awt.Container.paint(Container.java:1780)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
        at 
javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
        at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        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)

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to