The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Write Database: java.lang.NullPointerException
After looping through 911 records, the process writing to the database failed as shown below.
Any ideas on how to keep the session with the database alive (assuming that's part of the problem)?
It seems that the process opens and closes a database connection for each record in the innermost loop.
If there is another mechanism to capture the predicted values from the inner loop, please advise.
Any ideas on how to keep the session with the database alive (assuming that's part of the problem)?
It seems that the process opens and closes a database connection for each record in the innermost loop.
If there is another mechanism to capture the predicted values from the inner loop, please advise.
Apr 18, 2012 12:09:21 PM CONFIG: Connecting to jdbc:jtds:sqlserver://servername:1433/dbname as RapidMiner.
Apr 18, 2012 12:09:21 PM SEVERE: Process failed: operator cannot be executed. Check the log messages...
Apr 18, 2012 12:09:21 PM SEVERE: Here: Process[1] (Process)
subprocess 'Main Process'
+- Read CSV[1] (Read CSV)
+- Filter Examples[1] (Filter Examples)
+- Set Label[1] (Set Role)
+- Select Attributes[1] (Select Attributes)
+- Discretize[1] (Discretize by User Specification)
+- Nominal to Binominal[1] (Nominal to Binominal)
+- Validation[1] (Sliding Window Validation)
subprocess 'Training'
| +- Neural Net[911] (Neural Net)
subprocess 'Testing'
+- Apply Model[911] (Apply Model)
+- Performance[912] (Performance (Classification))
==> +- Write Database[911] (Write Database)
Apr 18, 2012 12:09:21 PM SEVERE: java.lang.NullPointerException
0
Answers
please post your process setup, so that we can see what you are doing right now and give you hints on how to improve it.
Best, Marius