cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JohnCarney
Level 3

Weird Screen Drawing Problem

Hi,

I've an older installAnywhere script that the 2008 product detected and upgraded for me. However, when I goto the Preinstall Task panel, going to the task I need to modify causes the GUI to get messed up, with eventually the whole window just turning solid blue. Resizing the window refreshes the screen somewhat, but it quickly dies again as it attempts to draw the bottom part of the Get User Input panel.

Any ideas?

John Carney
Labels (1)
0 Kudos
(4) Replies
pv7721
Level 20

When launching the IA 2008 Advanced Designer, have the CTRL key pressed this way you'll get the debug console. Check to see if you don't have some Java null pointer exceptions when manipulating that older project.
0 Kudos
JohnCarney
Level 3

Indeed there is:


Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException:
-1
at java.util.Vector.get(Vector.java:712)
at com.zerog.util.BidiKeyedData.b(DashoA10*..)
at com.zerog.ia.designer.customizers.ACreateDialog$2.getValueAt(DashoA10
*..)
at javax.swing.JTable.getValueAt(JTable.java:1903)
at javax.swing.JTable.prepareRenderer(JTable.java:3911)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)

at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974
)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1897)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:743)
at javax.swing.JComponent.paint(JComponent.java:1006)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972)

at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925)
at javax.swing.JComponent._paintImmediately(JComponent.java:4868)
at javax.swing.JComponent.paintImmediately(JComponent.java:4675)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)

at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0 Kudos
Leland
Level 3

Hi,

I'm a new IA user, and recently I converted some project files from IA 8 to IA 2008 (9.0), and when I click on the 'Get User Input Simple' action (whether in Pre-Install, or Post-Install), I see the same errors as posted here:

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1 ....

The action gets highlighted, but the action itself is not viewable. When I minimize my IA window, but then come back to it later, it's all blue, the text is all gone.

Is there a fix for this bug? (I've hit several other bugs already, right after migrating to IA 2008).

Thanks.
0 Kudos
petersammr
Level 2

You can try this:

To solve this error, open the migrated project file ( i.e projectfile.iap_xml ) file in a text editor such as Wordpad. (Do not forget to create a backup file.)

Change all occurences of





and


-1


to


0


save the file. Open the project with IA 2008/2009, this should load correctly.
0 Kudos