close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Closed 12 years ago

#1556 closed defect (fixed)

Forecast load fails

Reported by: Daniel Eduardo Castro Morell Owned by: Humberto Carralero
Priority: normal Milestone: Mantainance
Component: tolgrid Version: 3.1
Severity: normal Keywords:
Cc:

Description

I got an exception when I was trying to load a .oza file via tolgrid. (Zenon10)
I tried also load the same file via tolgrid-ide and it was successfully load.

.oza file used: For.HeiEsp_MVACru__2012059.oza

Output in NetBeans Console:

Test Simulate_Output/Deco/DueTo
Tiempo de Inicio de Precarga(1 TOLMachine): 19:13:11
11-jun-2012 19:13:47 com.bayesforecast.tolgrid.common.TOLGridStream readShort
GRAVE: null
java.io.EOFException
Error en procesamiento de TOLGrid: null
        at java.io.DataInputStream.readByte(DataInputStream.java:250)
        at com.bayesforecast.tolgrid.common.TOLGridStream.readShort(TOLGridStream.java:106)
        at com.bayesforecast.tolgrid.common.RemoteTOLMachine.loadForecast(RemoteTOLMachine.java:1322)
        at com.bayesforecast.tolgrid.mmm.TOLGridMMM.loadTOLMachine(TOLGridMMM.java:267)
        at com.bayesforecast.tolgrid.mmm.TOLGridMMM.init(TOLGridMMM.java:166)
        at com.bayesforecast.tolgrid.mmm.TOLGridMMM.<init>(TOLGridMMM.java:134)
        at com.bayesforecast.tolgrid.mmm.examples.TestSimulateReport.main(TestSimulateReport.java:173)

Change History (1)

comment:1 Changed 12 years ago by Humberto Carralero

Resolution: fixed
Status: newclosed

Fixed random error in tolmachine code when using identifiers with length of 3 characters for MMS objects.

Note: See TracTickets for help on using tickets.