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-discussion] question about 'using protege forms in other appications'

Samson Tu swt at stanford.edu
Fri Mar 2 08:42:44 PST 2007


For one thing, if you are using Protege Frame (i.e., not OWL), the 
instances are stored in the .pins file, not .pprj file.

Samson

Yun Lin wrote:
> Hi,
> I would like to use Protege forms in my own applications. I followed the 
> example listed at 
> http://protege.stanford.edu/doc/pdk/using_forms_in_other_applications.html 
> <http://protege.stanford.edu/doc/pdk/using_forms_in_other_applications.html>. 
> The project was created by Protege 3.2.1 and the instance name is from 
> the .pprj file. However, the application runs with error:
> Exception in thread "main" java.lang.NullPointerException
>     at edu.stanford.smi.protege.model.Project.show (Project.java:1919)
>     at protegepack.ExternalApp.main(ExternalApp.java:23)
> 
> That is to say, the instance is 'null'. I am not sure if I use correct 
> instance name. But I tried some of instances in the .pprj file, the 
> results are same. Could you tell me what is wrong with the code and how 
> to read the .pprj file structure?
> 
> Thank you in advance!
> 
> Yun Lin
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
> 
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 


-- 
Samson Tu                    email: swt at stanford.edu
Senior Research Scientist    web: www.stanford.edu/~swt/
Stanford Medical Informatics phone: 1-650-725-3391
Stanford University          fax: 1-650-725-7944




More information about the protege-discussion mailing list