Jump to content


Photo

Please help! NearInfinity won't open files


  • Please log in to reply
3 replies to this topic

#1 Dunderdon

Dunderdon
  • Member
  • 62 posts

Posted 06 June 2005 - 09:09 AM

I would appreciate it if anybody could help me with my problem.

I have no problem to start NearInfinity. Recently I have tried to use the batch file for more memory.

The problem occurs when I try to open files - for example the Baldur.gam of one of my savegames. NearInfinity is just not impressed and does not display anything on the right side of the window. Instead, it spits out a very long error message in the command window, where the batch command was run. (see below)

This is the case when I try to open files of my modded BG2 game as well as when I try to open files of my unmodded backup version.

PS: I have NearInfinity 1.32 and Java J2SE Runtime Environment 5.0 Update 2

Edit: I noticed that 1.32 is a beta version. I have the same problem with 1.31.

at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown S
ource)
at javax.swing.JTree.setSelectionPath(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)

at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown So
urce)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Sourc
e)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: wrong
parent for CardLayout
at java.awt.CardLayout.checkLayout(Unknown Source)
at java.awt.CardLayout.show(Unknown Source)
at infinity.gui.StructViewer.valueChanged(SourceFile:326)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)

at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)

at javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(Unk
nown Source)
at javax.swing.DefaultListSelectionModel.removeSelectionInterval(Unknown
Source)
at javax.swing.JTable.checkLeadAnchor(Unknown Source)
at javax.swing.JTable.tableChanged(Unknown Source)
at javax.swing.JTable.setModel(Unknown Source)
at infinity.gui.StructViewer.<init>(SourceFile:129)
at infinity.Struct.makeViewer(SourceFile:464)
at infinity.Browser.setViewable(SourceFile:236)
at infinity.gui.ResourceTree.valueChanged(SourceFile:115)
at javax.swing.JTree.fireValueChanged(Unknown Source)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source
)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown S
ource)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown S
ource)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown
Source)
at javax.swing.JTree.setSelectionInterval(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Actions.increment(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Actions.actionPerformed(Unknown So
urce)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Sour
ce)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Sour
ce)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: wrong
parent for CardLayout
at java.awt.CardLayout.checkLayout(Unknown Source)
at java.awt.CardLayout.show(Unknown Source)
at infinity.gui.StructViewer.valueChanged(SourceFile:326)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)

at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)

at javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(Unk
nown Source)
at javax.swing.DefaultListSelectionModel.removeSelectionInterval(Unknown
Source)
at javax.swing.JTable.checkLeadAnchor(Unknown Source)
at javax.swing.JTable.tableChanged(Unknown Source)
at javax.swing.JTable.setModel(Unknown Source)
at infinity.gui.StructViewer.<init>(SourceFile:129)
at infinity.Struct.makeViewer(SourceFile:464)
at infinity.Browser.setViewable(SourceFile:236)
at infinity.gui.ResourceTree.valueChanged(SourceFile:115)
at javax.swing.JTree.fireValueChanged(Unknown Source)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source
)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown S
ource)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown S
ource)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown
Source)
at javax.swing.JTree.setSelectionInterval(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Actions.increment(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Actions.actionPerformed(Unknown So
urce)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Sour
ce)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Sour
ce)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: wrong
parent for CardLayout
at java.awt.CardLayout.checkLayout(Unknown Source)
at java.awt.CardLayout.show(Unknown Source)
at infinity.gui.StructViewer.valueChanged(SourceFile:326)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)

at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)

at javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(Unk
nown Source)
at javax.swing.DefaultListSelectionModel.removeSelectionInterval(Unknown
Source)
at javax.swing.JTable.checkLeadAnchor(Unknown Source)
at javax.swing.JTable.tableChanged(Unknown Source)
at javax.swing.JTable.setModel(Unknown Source)
at infinity.gui.StructViewer.<init>(SourceFile:129)
at infinity.Struct.makeViewer(SourceFile:464)
at infinity.Browser.setViewable(SourceFile:236)
at infinity.gui.ResourceTree.valueChanged(SourceFile:115)
at javax.swing.JTree.fireValueChanged(Unknown Source)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source
)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown S
ource)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown S
ource)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown
Source)
at javax.swing.JTree.setSelectionInterval(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Actions.increment(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Actions.actionPerformed(Unknown So
urce)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Sour
ce)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Sour
ce)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: wrong
parent for CardLayout
at java.awt.CardLayout.checkLayout(Unknown Source)
at java.awt.CardLayout.show(Unknown Source)
at infinity.gui.StructViewer.valueChanged(SourceFile:326)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source
)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)

at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)

at javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(Unk
nown Source)
at javax.swing.DefaultListSelectionModel.removeSelectionInterval(Unknown
Source)
at javax.swing.JTable.checkLeadAnchor(Unknown Source)
at javax.swing.JTable.tableChanged(Unknown Source)
at javax.swing.JTable.setModel(Unknown Source)
at infinity.gui.StructViewer.<init>(SourceFile:129)
at infinity.Struct.makeViewer(SourceFile:464)
at infinity.Browser.setViewable(SourceFile:236)
at infinity.gui.ResourceTree.valueChanged(SourceFile:115)
at javax.swing.JTree.fireValueChanged(Unknown Source)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source
)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown S
ource)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown S
ource)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown
Source)
at javax.swing.JTree.setSelectionInterval(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Actions.increment(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Actions.actionPerformed(Unknown So
urce)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Sour
ce)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Sour
ce)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Edited by Dunderdon, 06 June 2005 - 09:29 AM.


#2 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11149 posts

Posted 06 June 2005 - 10:29 AM

There's been reports of old versions of NI not working with the latest Java. Installing Java 1.4.2 instead of 1.5 or the very latest beta of NI will solve your problem.

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#3 Dunderdon

Dunderdon
  • Member
  • 62 posts

Posted 06 June 2005 - 10:46 AM

There's been reports of old versions of NI not working with the latest Java. Installing Java 1.4.2 instead of 1.5 or the very latest beta of NI will solve your problem.

View Post


Thanks for the help. Java 1.4.2 did the job! :thumb:

#4 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11149 posts

Posted 06 June 2005 - 11:10 AM

No problem. :)

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner