× Heads up!

Aqua Data Server (Public) / nhilam

Follow
Data Collaboration Application Server
×
SachinPrakash reported 2015-08-12T22:15:30Z  · last modified 2017-04-10T03:24:20Z

AQProjectFile.read() throws NPE


customer request
Dev
Sachin Prakash
SachinPrakash
QA
Kin-Hong Wong
kin-hong
Priority Critical
Complexity Unknown
Component App - Open API
Version 17.0

Use the attached Aqua Project & import into ADServer.

Execute ExecuteScriptFiles.xjs and you'll get an NPE on line #45 in the AquaScript:

aqua.console.println("File Contents: " + userFiles[j].read());

The problem occurs in AFUserFileAQProjectFileAdapter line #77:

byte[] bytes = IOUtils.toByteArray(userFile.getFileContents().getBinaryStream());
userFile.getFileContents() is returning null
1 attachment
SachinPrakash   2015-08-18T01:11:44Z
Field Old Value New Value
Fixed Build 16.0.3
Resolution Fixed
Resolved Date Aug 18, 2015 1:11 AM
Status New Closed
SachinPrakash   2015-08-18T01:11:54Z
Field Old Value New Value
QA Assignee Unassigned tariqrahiman (Tariq Rahiman)
SachinPrakash   2016-02-12T23:08:48Z
Field Old Value New Value
Resolution Fixed Incomplete
Resolved Date Aug 18, 2015 1:11 AM
Status Closed Reopened
SachinPrakash   2016-02-12T23:09:11Z
Field Old Value New Value
Dev Assignee kin-hong (Kin-Hong Wong) SachinPrakash (Sachin Prakash)
QA Assignee tariqrahiman (Tariq Rahiman) kin-hong (Kin-Hong Wong)
Fixed Build 16.0.3 16.0.3,17.0.0-2
Version 16.0 17.0
SachinPrakash   2016-02-12T23:09:19Z
Field Old Value New Value
Resolution Incomplete Fixed
Resolved Date Feb 12, 2016 11:09 PM
Status Reopened Resolved
SachinPrakash   2016-02-12T23:28:21Z
Field Old Value New Value
Fixed Build 16.0.3,17.0.0-2 16.0.3,17.0.0-3
SachinPrakash   2017-04-10T03:24:20Z
Field Old Value New Value
Status Resolved Closed

Issue #2954

Closed
Fixed
Resolved 2016-02-12T23:09:19Z
 
 
Completion
No due date
Fixed Build 16.0.3,17.0.0-3
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017