× 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

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