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] Exception: PluginUtilities.forName(null) failed

Paulo Maximo p_maximo at yahoo.com
Wed Nov 12 09:29:54 PST 2008


Hi, Alana!


Warning: SystemUtilities.newInstance(null) no such class

The above warning must be a hint.
Be sure that the necessary class/module is loaded before call it.
WebApps are quite different from JavaApps, due some modules needed to the app REALLY works in the browser!
I recommend a JS 'alert' function somewhere in the code to debug ("writing" in the browser a message), showing if the class is already loaded or not.

Hope this helps.

________________________________
Prof Paulo Maximo, MSc
Consultoria em EaD
Cafè Scientifique Curitiba
+55 41 96051681






________________________________
From: Alana Jéssica Vilela Messias <alanamessias at gmail.com>
To: protege-discussion at lists.stanford.edu
Sent: Wednesday, November 12, 2008 12:12:20 PM
Subject: [protege-discussion] Exception: PluginUtilities.forName(null) failed

I have a problem when i try run my application. It was running as Java Application, but when i try as Web Application (using Apache Tomcat) was presented the following error:


Exception:
PluginUtilities.forName(null) failed
java.lang.NullPointerException
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at
edu.stanford.smi.protege.plugin.PluginUtilities.forName(Unknown Source)
      at
edu.stanford.smi.protege.plugin.PluginUtilities.forName(Unknown Source)
      at
edu.stanford.smi.protege.util.SystemUtilities.forName(Unknown Source)
      at
edu.stanford.smi.protege.util.SystemUtilities.newInstance(Unknown Source)
      at edu.stanford.smi.protege.model.Project.includeDomainKB(Unknown
Source)
      at
edu.stanford.smi.protege.model.Project.loadIncludedProject(Unknown Source)
      at
edu.stanford.smi.protege.model.Project.loadIncludedProjects(Unknown Source)
      at
edu.stanford.smi.protege.model.Project.createDomainKnowledgeBase(Unknown
Source)
      at
edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
      at
edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
      at
edu.stanford.smi.protege.model.Project.<init>(Unknown Source)
      at edu.stanford.smi.protege.model.Project.<init>(Unknown
Source)
      at JessTab.ProtegeLoadProject.call(Unknown
Source)
      at jess.ep.a(Unknown Source)
      at jess.Funcall.execute(Unknown Source)
      at jess.Jesp.a(Unknown Source)
      at jess.Jesp.for(Unknown Source)
      at jess.Jesp.parse(Unknown Source)
      at jess.Rete.executeCommand(Unknown
Source)
      at jess.Rete.executeCommand(Unknown
Source)
      at Code.MASTERWebAgent.run(MASTERWebAgent.java:139)
      at Code.RetornaClassificacao.ativa(RetornaClassificacao.java:31)
      at org.apache.jsp.p2_jsp._jspService(p2_jsp.java:59)
      at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
      at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Unknown Source)
Warning:
SystemUtilities.newInstance(null) no such class
null
1
Error during
execution
java.lang.NullPointerException
( load-project
src//Code//rulesystem//projects//cfp.pprj ) 
Funcall.execute
Jess reported an
error in routine Funcall.execute
      while executing (load-project src//Code//rulesystem//projects//cfp.pprj).
  Message: Error during execution.
  Program text: ( load-project
src//Code//rulesystem//projects//cfp.pprj )  at line 1.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20081112/a0775298/attachment.html>


More information about the protege-discussion mailing list