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-dev] I'm having problems when I try to debug from the IDE

Manuel Enrique Puebla Martinez mpuebla at uci.cu
Wed Feb 8 09:27:36 PST 2017


Previous position ... I managed to do an "mvn clean package", however, it still gives me the same error when I run it or try to debug it. 

See the "mvn clean package" result: 

pilados\SalvaConCambios\protege-desktop\target\protege-5.1.1-SNAPSHOT-platform-independent.zip 
[INFO] ------------------------------------------------------------------------ 
[INFO] Reactor Summary: 
[INFO] 
[INFO] protege-parent ..................................... SUCCESS [ 0.073 s] 
[INFO] protege-launcher ................................... SUCCESS [ 10.377 s] 
[INFO] protege-common ..................................... SUCCESS [ 3.059 s] 
[INFO] protege-editor-core ................................ SUCCESS [ 29.009 s] 
[INFO] protege-editor-owl ................................. SUCCESS [ 37.774 s] 
[INFO] protege-desktop .................................... SUCCESS [ 6.356 s] 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD SUCCESS 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 01:27 min 
[INFO] Finished at: 2017-02-08T12:28:43-05:00 
[INFO] Final Memory: 33M/179M 
[INFO] ------------------------------------------------------------------------ 

----- Mensaje original -----

De: "Manuel Enrique Puebla Martinez" <mpuebla at uci.cu> 
Para: protege-dev at lists.stanford.edu 
Enviados: Miércoles, 8 de Febrero 2017 11:28:56 
Asunto: I'm having problems when I try to debug from the IDE 



I apologize, the "mvn clean package" does not work correctly, the one that works correctly is the "mvn package". When I do an "mvn clean package" the following error appears: 

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ protege-editor-owl --- 
[INFO] Deleting D:\Puebla\Ciencia\Tesis Doctoral Puebla\Implementacion\Proyecto Protege\SalvaCompil 
os\SalvaConCambios\protege-editor-owl\target 
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ protege-editor-owl --- 
[INFO] Using 'UTF-8' encoding to copy filtered resources. 
[INFO] ------------------------------------------------------------------------ 
[INFO] Reactor Summary: 
[INFO] 
[INFO] protege-parent ..................................... SUCCESS [ 0.238 s] 
[INFO] protege-launcher ................................... SUCCESS [ 26.231 s] 
[INFO] protege-common ..................................... SUCCESS [03:04 min] 
[INFO] protege-editor-core ................................ SUCCESS [ 45.972 s] 
[INFO] protege-editor-owl ................................. FAILURE [02:05 min] 
[INFO] protege-desktop .................................... SKIPPED 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 06:24 min 
[INFO] Finished at: 2017-02-08T10:12:37-05:00 
[INFO] Final Memory: 23M/62M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources (def 
lt-resources) on project protege-editor-owl: Cannot create resource output directory: D:\Puebla\Cie 
ia\Tesis Doctoral Puebla\Implementacion\Proyecto Protege\SalvaCompilados\SalvaConCambios\protege-ed 
or-owl\target\classes -> [Help 1] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following art 
les: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command 
[ERROR] mvn <goals> -rf :protege-editor-owl 



De: Manuel Enrique Puebla Martinez [mailto:mpuebla at uci.cu] 
Enviado el: martes, 07 de febrero de 2017 11:35 
Para: protege-dev 
Asunto: I'm having problems when I try to debug from the IDE 





Hello Josef Hardi: 





Attached file "protect.log". 





I am incorporating functionalities into the Protégé project. But I'm having problems when I try to debug from the IDE Eclipse. 





I added a package called "org.protege.editor.owl.bigontology", inside I added my classes and enumerative types. Everything compiles well when I do an "mvn clean package", I attach an image of the result in the console. However, when I try to debug from Eclipse, I get an error message: "An error occurred that prevent Protégé from Starting", also attached the image. " 





I have been reviewing the code and detected that the exception is thrown in the line "framework.start ();", belonging to the method "start", class "Launcher". 

Within the "start" method, the error occurs when the following line of code is executed: 
"// Send a framework event to indicate the framework has started. 
FireFrameworkEvent (FrameworkEvent.STARTED, this, null); " 

Within the "fireFrameworkEvent" method, only the following line of code is executed: 
"M_dispatcher.fireFrameworkEvent (new FrameworkEvent (type, bundle, throwable));" 

"Type" = 1, "bundle" is an information object and "throwable" = null; 

Any help that allows me to identify the reason for the error? 







Best regards. 









La @universidad_uci es Fidel. Los jóvenes no fallaremos.
#HastaSiempreComandante
#HastalaVictoriaSiempre

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-dev/attachments/20170208/a99c4cec/attachment.html>


More information about the protege-dev mailing list