Please give us a more complete example, including data, code, and a complete 
stacktrace.

---
A. Soroka
The University of Virginia Library

> On Jul 14, 2016, at 11:46 AM, tina sani <tinamadri...@gmail.com> wrote:
> 
> No my ontology has at least 8-10 classes and similarly properties.
> 
> On Thu, Jul 14, 2016 at 8:41 AM, A. Soroka <aj...@virginia.edu> wrote:
> 
>> It can be from reading an empty file. Is the file you are trying to read
>> empty?
>> 
>> ---
>> A. Soroka
>> The University of Virginia Library
>> 
>>> On Jul 14, 2016, at 11:25 AM, tina sani <tinamadri...@gmail.com> wrote:
>>> 
>>> I am getting this type of error/exception: Pre Mature end of file". Is
>> this
>>> coming from reading a file which is empty or something else?
>>> I have written this code
>>> InputStream in = FileManager.get().open( somefile
>>> if (in == null) {
>>> throw new IllegalArgumentException( "File: " + file + "  no file exist");
>>> }
>>> model.read(in,""); );
>> 
>> 

Reply via email to