Closed GoogleCodeExporter closed 8 years ago
if (ok == JFileChooser.APPROVE_OPTION) { chosen = fc.getSelectedFile(); 741: dir = fc.getSelectedFile().getParent(); } LK: Looks like fc.getSelectedFile() == null while OK is pressed... :-( [zipeg crash] 2.7.1.982 NullPointerException at com.zipeg.Zipeg.commandFileOpen java.lang.NullPointerException Zipeg.commandFileOpen(Zipeg:741) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) Actions.invokeMethod(Actions:370) Actions.invokeMethod(Actions:360) Actions.access$100(Actions:11) Actions$8.run(Actions:287) Actions$9.actionPerformed(Actions:305) AbstractButton.fireActionPerformed(Unknown Source) AbstractButton$Handler.actionPerformed(Unknown Source) DefaultButtonModel.fireActionPerformed(Unknown Source) DefaultButtonModel.setPressed(Unknown Source) plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) AWTEventMulticaster.mouseReleased(Unknown Source) Component.processMouseEvent(Unknown Source) JComponent.processMouseEvent(Unknown Source) Component.processEvent(Unknown Source) Container.processEvent(Unknown Source) Component.dispatchEventImpl(Unknown Source) Container.dispatchEventImpl(Unknown Source) Component.dispatchEvent(Unknown Source) LightweightDispatcher.retargetMouseEvent(Unknown Source) LightweightDispatcher.processMouseEvent(Unknown Source) LightweightDispatcher.dispatchEvent(Unknown Source) Container.dispatchEventImpl(Unknown Source) Window.dispatchEventImpl(Unknown Source) Component.dispatchEvent(Unknown Source) EventQueue.dispatchEvent(Unknown Source) IdlingEventQueue.dispatchEvent(IdlingEventQueue:183) EventDispatchThread.pumpOneEventForFilters(Unknown Source) EventDispatchThread.pumpEventsForFilter(Unknown Source) EventDispatchThread.pumpEventsForHierarchy(Unknown Source) EventDispatchThread.pumpEvents(Unknown Source) EventDispatchThread.pumpEvents(Unknown Source) EventDispatchThread.run(Unknown Source) sun.boot.library.path=C:\\Programmi\\Java\\jre6\\bin java.vm.version=11.3-b02 file.encoding.pkg=sun.io user.country=IT sun.os.patch.level=Service Pack 3 user.dir=C:\\Programmi\\Zipeg java.runtime.version=1.6.0_13-b03 os.arch=x86 java.io.tmpdir=C:\\DOCUME~1\\user\\IMPOST~1\\Temp\\ os.name=Windows XP sun.jnu.encoding=Cp1252 java.library.path=.;C:\\Programmi\\Zipeg os.version=5.1 user.home=C:\\Documents and Settings\\user user.timezone=Europe/Berlin file.encoding=Cp1252 java.specification.version=1.6 java.class.path=zipeg.jar java.home=C:\\Programmi\\Java\\jre6 sun.arch.data.model=32 user.language=it awt.toolkit=sun.awt.windows.WToolkit java.vm.info=mixed mode java.version=1.6.0_13 java.ext.dirs=. sun.boot.class.path=C:\\Programmi\\Java\\jre6\\lib\\resources.jar;C:\\Programmi\ \Java\\jre6\\lib\\rt.jar;C:\\Programmi\\Java\\jre6\\lib\\sunrsasign.jar;C:\\Prog rammi\\Java\\jre6\\lib\\jsse.jar;C:\\Programmi\\Java\\jre6\\lib\\jce.jar;C:\\Pro grammi\\Java\\jre6\\lib\\charsets.jar;C:\\Programmi\\Java\\jre6\\classes sun.io.unicode.encoding=UnicodeLittle sun.cpu.endian=little sun.desktop=windows sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
Original issue reported on code.google.com by leo.kuzn...@gmail.com on 8 Jun 2009 at 11:54
leo.kuzn...@gmail.com
Original comment by leo.kuzn...@gmail.com on 10 Jun 2009 at 3:44
Original issue reported on code.google.com by
leo.kuzn...@gmail.com
on 8 Jun 2009 at 11:54