Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Stack Overflow

Kormann, Joseph joseph.kormann at lmco.com
Tue Jan 22 07:01:44 PST 2008


Follow-up. This only appears to occur when using the "RDF/XML-ABBREV"
language-type.

> -----Original Message-----
> From: protege-owl-bounces at mailman.stanford.edu [mailto:protege-owl-
> bounces at mailman.stanford.edu] On Behalf Of Kormann, Joseph
> Sent: Tuesday, January 22, 2008 7:57 AM
> To: User support for the Protege-OWL editor
> Subject: [protege-owl] Stack Overflow
> 
> Couldn't find it in the archives, so either I'm encountering a new
error
> or doing something wrong.
> 
> I'm trying to save an OWL Model to a FileOutputStream. When the file
> gets to approx 22MB, I receive a java.lang.StackOverflowError.
> 
> We're starting to fiddle with the Java VM Stack variables, however if
we
> don't have to, that would be preferred.
> 
> Any suggestions?
> 
> Code snippet:
> FileOutputStream os = null;
>         try {
>             os = new FileOutputStream("c:/outPut.owl");
> 
>             owlModel.setWriterSettings(new
> ProtegeWriterSettings(owlModel));
> 
>             owlModel.getOntModel().write(os, "RDF/XML-ABBREV");
>         } catch (Throwable th) {
>             System.out.println("Caught throwable exception");
>             System.out.println(th.getMessage());
>             th.printStackTrace();
>         }
> 
> Exception:
> ava.lang.StackOverflowError
>         at java.util.regex.Pattern.access$000(Pattern.java:595)
>         at java.util.regex.Pattern$All.match(Pattern.java:4076)
>         at java.util.regex.Pattern$Curly.match0(Pattern.java:4218)
>         at java.util.regex.Pattern$Curly.match(Pattern.java:4202)
>         at java.util.regex.Pattern$GroupHead.match(Pattern.java:4575)
>         at java.util.regex.Pattern$Single.match(Pattern.java:3314)
>         at java.util.regex.Pattern$GroupHead.match(Pattern.java:4575)
>         at java.util.regex.Pattern$Branch.match(Pattern.java:4535)
> 	....
> 
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
> 
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03



More information about the protege-owl mailing list