Processing Forum
$$$$ blank file selected: C:\Google Drive\Chris Pook AUT\research\lipids LC-MS\2ul injections 12-12-13\ultimate txt writer\LCMS ultimate .txt writer output - 2ul blank crop.txt$$$$ 590.0,500.0,0java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:597)at processing.core.PApplet.selectCallback(PApplet.java:6049)at processing.core.PApplet.access$000(PApplet.java:153)at processing.core.PApplet$5.run(PApplet.java:5975)at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)at java.awt.EventQueue.access$000(EventQueue.java:84)at java.awt.EventQueue$1.run(EventQueue.java:607)at java.awt.EventQueue$1.run(EventQueue.java:605)at java.security.AccessController.doPrivileged(Native Method)at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)at java.awt.EventQueue.dispatchEvent(EventQueue.java:616)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)Caused by: java.lang.NullPointerExceptionat java.io.File.<init>(File.java:222)at processing.core.PApplet.saveFile(PApplet.java:7024)at processing.core.PApplet.createWriter(PApplet.java:6168)at LCMS_mathematical_operator.blankSelected(LCMS_mathematical_operator.java:61)... 21 more$$$$ test file selected: C:\Google Drive\Chris Pook AUT\research\lipids LC-MS\2ul injections 12-12-13\ultimate txt writer\LCMS ultimate .txt writer output - 2ul 500mg.l tristearin crop.txt$$$$ output file: C:\Google Drive\Chris Pook AUT\research\lipids LC-MS\2ul injections 12-12-13\ultimate txt writer\LCMS mathematical operator output - 2ul 500mg.l tristearin crop.txtjava.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)at java.lang.reflect.Method.invoke(Method.java:597)at processing.core.PApplet.selectCallback(PApplet.java:6049)at processing.core.PApplet.access$000(PApplet.java:153)at processing.core.PApplet$5.run(PApplet.java:5975)at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:646)at java.awt.EventQueue.access$000(EventQueue.java:84)at java.awt.EventQueue$1.run(EventQueue.java:607)at java.awt.EventQueue$1.run(EventQueue.java:605)at java.security.AccessController.doPrivileged(Native Method)at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)at java.awt.EventQueue.dispatchEvent(EventQueue.java:616)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)Caused by: java.lang.OutOfMemoryError: Java heap spaceat java.util.Arrays.copyOfRange(Arrays.java:3209)at java.lang.String.<init>(String.java:215)at java.io.BufferedReader.readLine(BufferedReader.java:331)at java.io.BufferedReader.readLine(BufferedReader.java:362)at processing.core.PApplet.loadStrings(PApplet.java:6646)at processing.core.PApplet.loadStrings(PApplet.java:6633)at processing.core.PApplet.loadStrings(PApplet.java:6567)at LCMS_mathematical_operator.fileSelected(LCMS_mathematical_operator.java:92)... 21 more