Bad_UnexpectedError (0x80010000) "An unexpected error occurred."|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Bad_UnexpectedError (0x80010000) "An unexpected error occurred."
Avatar
Pritam Roy
New Member
Members
Forum Posts: 1
Member Since:
08/08/2024
sp_UserOfflineSmall Offline
1
08/08/2024 - 18:29
sp_Permalink sp_Print

Hi,

I am trying to fetch history data for certain date(time) range. But I am getting Exception  Bad_UnexpectedError (0x80010000) "An unexpected error occurred."

HistoryReadDetails histReadDetails = new ReadRawModifiedDetails(Boolean.FALSE, startTime, endTime, UnsignedInteger.MAX_VALUE, Boolean.TRUE);())
@SuppressWarnings("deprecation")
ExtensionObject ebHist1 = ExtensionObject.encode(histReadDetails, QualifiedName.DEFAULT_BINARY_ENCODING,StackUtils.getDefaultSerializer(),EncoderContext.getDefaultInstance());
HistoryReadRequest historyReadReq = new HistoryReadRequest();
historyReadReq.setHistoryReadDetails(ebHist1);
historyReadReq.setNodesToRead(historyReadValueIdAr);
historyReadReq.setRequestHeader(null);
historyReadReq.setReleaseContinuationPoints(Boolean.TRUE);
historyReadReq.setTimestampsToReturn(TimestampsToReturn.Both);
HistoryReadResponse histResponse = serverSessionChannel.HistoryRead(historyReadReq);

Could you please suggest the cause of exception

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 16
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4860