Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARO Doesn't Parse Non Date 'Expires:' HTTP Headers When Loading A Capture File #3

Open
mf790v opened this issue Jan 22, 2013 · 0 comments

Comments

@mf790v
Copy link

mf790v commented Jan 22, 2013

When loading a capture file, ARO does not recognize an 'Expires: -1' HTTP header line.

This header line is used sometimes to indicate immediate resource expiration (See: http://stackoverflow.com/questions/11357430/http-expires-header-values-0-and-1)

ARO Log:
INFO: OS: Windows 7
Jan 22, 2013 2:22:48 PM com.att.aro.pcap.PCapAdapter
INFO: OS Arch: x86
Jan 22, 2013 2:23:31 PM com.att.aro.model.HttpRequestResponseInfo$RequestResponseBuilder readHttpDate
WARNING: Unable to parse HTTP date: -1
Jan 22, 2013 2:23:31 PM com.att.aro.main.ApplicationResourceOptimizer$26 done
SEVERE: Unexpected execution exception analyzing trace
java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: ""
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at javax.swing.SwingWorker.get(SwingWorker.java:602)
at com.att.aro.main.ApplicationResourceOptimizer$26.done(ApplicationResourceOptimizer.java:1481)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:312)
at javax.swing.Timer$DoPostEvent.run(Timer.java:244)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:453)
at java.lang.Long.valueOf(Long.java:540)
at com.att.aro.model.HttpRequestResponseInfo$RequestResponseBuilder.parseLine(HttpRequestResponseInfo.java:800)
at com.att.aro.model.HttpRequestResponseInfo$RequestResponseBuilder.extractHttpRequestResponseInfo(HttpRequestResponseInfo.java:487)
at com.att.aro.model.HttpRequestResponseInfo$RequestResponseBuilder.(HttpRequestResponseInfo.java:265)
at com.att.aro.model.HttpRequestResponseInfo.extractHttpRequestResponseInfo(HttpRequestResponseInfo.java:979)
at com.att.aro.model.TCPSession.extractTCPSessions(TCPSession.java:515)
at com.att.aro.model.TraceData$Analysis.runAnalysis(TraceData.java:832)
at com.att.aro.model.TraceData$Analysis.(TraceData.java:240)
at com.att.aro.model.TraceData$Analysis.(TraceData.java:75)
at com.att.aro.model.TraceData.runAnalysis(TraceData.java:1828)
at com.att.aro.main.ApplicationResourceOptimizer$26.doInBackground(ApplicationResourceOptimizer.java:1472)
at com.att.aro.main.ApplicationResourceOptimizer$26.doInBackground(ApplicationResourceOptimizer.java:1445)
at javax.swing.SwingWorker$1.call(SwingWorker.java:296)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at javax.swing.SwingWorker.run(SwingWorker.java:335)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: ""
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at javax.swing.SwingWorker.get(SwingWorker.java:602)
at com.att.aro.main.ApplicationResourceOptimizer$26.done(ApplicationResourceOptimizer.java:1481)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:312)
at javax.swing.Timer$DoPostEvent.run(Timer.java:244)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:453)
at java.lang.Long.valueOf(Long.java:540)
at com.att.aro.model.HttpRequestResponseInfo$RequestResponseBuilder.parseLine(HttpRequestResponseInfo.java:800)
at com.att.aro.model.HttpRequestResponseInfo$RequestResponseBuilder.extractHttpRequestResponseInfo(HttpRequestResponseInfo.java:487)
at com.att.aro.model.HttpRequestResponseInfo$RequestResponseBuilder.(HttpRequestResponseInfo.java:265)
at com.att.aro.model.HttpRequestResponseInfo.extractHttpRequestResponseInfo(HttpRequestResponseInfo.java:979)
at com.att.aro.model.TCPSession.extractTCPSessions(TCPSession.java:515)
at com.att.aro.model.TraceData$Analysis.runAnalysis(TraceData.java:832)
at com.att.aro.model.TraceData$Analysis.(TraceData.java:240)
at com.att.aro.model.TraceData$Analysis.(TraceData.java:75)
at com.att.aro.model.TraceData.runAnalysis(TraceData.java:1828)
at com.att.aro.main.ApplicationResourceOptimizer$26.doInBackground(ApplicationResourceOptimizer.java:1472)
at com.att.aro.main.ApplicationResourceOptimizer$26.doInBackground(ApplicationResourceOptimizer.java:1445)
at javax.swing.SwingWorker$1.call(SwingWorker.java:296)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at javax.swing.SwingWorker.run(SwingWorker.java:335)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant