Bug #4792
closedNPE from Eml200DataSource
0%
Description
1. open https://code.ecoinformatics.org/code/kruger/trunk/workflows/tpc09-plant-dynamics/tpc09-plant-dynamics-woody.kar
2. press Cancel button in the Authentication for: KNB dialog
3. press OK and Dismiss buttons for Warning and Error dialogs
4. run workflow
java.lang.NullPointerException
at org.ecoinformatics.seek.datasource.eml.eml2.Eml200DataSource.initialize(Eml200DataSource.java:599)
at ptolemy.actor.Director.initialize(Director.java:752)
at ptolemy.actor.Director.initialize(Director.java:725)
at ptolemy.domains.sdf.kernel.SDFDirector.initialize(SDFDirector.java:425)
at ptolemy.actor.CompositeActor.initialize(CompositeActor.java:772)
at ptolemy.actor.Manager.initialize(Manager.java:615)
at ptolemy.actor.Manager.execute(Manager.java:338)
at ptolemy.actor.Manager.run(Manager.java:1119)
at ptolemy.actor.Manager$3.run(Manager.java:1160)
Updated by ben leinfelder almost 15 years ago
The workflow shouldn't run w/o the data.
What should be happening that isn't currently? Cleaner error?
Updated by Daniel Crawl almost 15 years ago
A better error message instead of NPE would be nice.
Updated by ben leinfelder almost 15 years ago
Now giving an actual message for the NPE and throwing it up the chain.