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 08:28:56 PST 2017



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/bce1263e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: protege.log
Type: text/x-log
Size: 10534 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/protege-dev/attachments/20170208/bce1263e/attachment.log>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Eclipse Error.png
Type: image/png
Size: 200338 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/protege-dev/attachments/20170208/bce1263e/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmdError.jpg
Type: image/jpeg
Size: 335004 bytes
Desc: not available
URL: <http://mailman.stanford.edu/pipermail/protege-dev/attachments/20170208/bce1263e/attachment.jpg>


More information about the protege-dev mailing list