i have no errors in my code, however i am sure that using Vector <HashMap> has something to do with why these two screens will not show up. how can i get rid of this "warning"(in actuality the screens never get displayed as they should) here is the rror, and then some of the source...

Code:
init:
deps-jar:
Compiling 7 source files to /usr/propertytactics/software/JProperty/build/classes
Note: /usr/propertytactics/software/JProperty/src/software/jproperty/setup/DefineRoomTypes.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
compile:
run:
jdbc:mysql://localhost:3306/jproperty?user=jproperty&password=10i#-9
[database communication error #1054]
SELECT shift_count FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_a_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_b_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_c_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_d_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_e_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_f_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_g_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_h_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_i_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_j_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_k_start FROM property WHERE  1=1
[database communication error #1054]
SELECT shift_l_start FROM property WHERE  1=1
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at java.awt.Container.addImpl(Container.java:1031)
        at java.awt.Container.add(Container.java:352)
        at software.jproperty.setup.DefineShifts.drawStack(DefineShifts.java:114)
        at software.jproperty.setup.DefineShifts.initDisplay(DefineShifts.java:132)
        at software.jproperty.setup.DefineShifts.<init>(DefineShifts.java:240)
        at software.jproperty.setup.Setup.defineShifts(Setup.java:223)
        at software.jproperty.setup.Setup.callNextStep(Setup.java:176)
        at software.jproperty.setup.Setup.actionPerformed(Setup.java:377)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.Component.processMouseEvent(Component.java:6038)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5803)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4410)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Exception in thread "AWT-EventQueue-0" java.util.NoSuchElementException
        at java.util.Vector.firstElement(Vector.java:442)
        at software.jproperty.setup.DefineRoomTypes.initDisplay(DefineRoomTypes.java:42)
        at software.jproperty.setup.DefineRoomTypes.<init>(DefineRoomTypes.java:303)
        at software.jproperty.setup.Setup.defineRoomTypes(Setup.java:235)
        at software.jproperty.setup.Setup.callNextStep(Setup.java:179)
        at software.jproperty.setup.Setup.actionPerformed(Setup.java:377)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.Component.processMouseEvent(Component.java:6038)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5803)
        at java.awt.Container.processEvent(Container.java:2058)
        at java.awt.Component.dispatchEventImpl(Component.java:4410)
        at java.awt.Container.dispatchEventImpl(Container.java:2116)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
        at java.awt.Container.dispatchEventImpl(Container.java:2102)
        at java.awt.Window.dispatchEventImpl(Window.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:4240)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
BUILD SUCCESSFUL (total time: 1 minute 15 seconds)
Code:
private void initDisplay() {

        Vector <HashMap> roomtype_alldata = setup.db.fetchVectorHashMap("SELECT * FROM roomtype WHERE roomtype_id = '" + roomtype_id + "'");
        HashMap <String,String> roomtype_data = (HashMap)roomtype_alldata.firstElement();

        String myTitle = "Define Rooms for Room Type: " + roomtype_data.get("code") + " (" + roomtype_data.get("name") + ")";
any help?