Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Assistants getting exceptions during analysis after refactor #17

Closed
rreganjr opened this issue Jun 13, 2018 · 2 comments
Closed

All Assistants getting exceptions during analysis after refactor #17

rreganjr opened this issue Jun 13, 2018 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rreganjr
Copy link
Owner

2018-06-13 01:30:36.153 ERROR 37348 --- [ taskExecutor-1] r.r.p.i.a.ProjectOrDomainEntityAssistant : failed to add note indicating failure of glossary term identification for the Name of interface com.rreganjr.requel.project.Actor[48]:System Admin

com.rreganjr.EntityException: The unknown conflicts with an existing <unknown>
	at com.rreganjr.EntityException.uniquenessConflict(EntityException.java:120) ~[classes/:na]
	at com.rreganjr.repository.jpa.ConstraintViolationExceptionAdapter.convert(ConstraintViolationExceptionAdapter.java:63) ~[classes/:na]
	at com.rreganjr.repository.ExceptionMapper.convertException(ExceptionMapper.java:157) ~[classes/:na]
	at com.rreganjr.repository.ExceptionMapper.convertException(ExceptionMapper.java:110) ~[classes/:na]
	at com.rreganjr.repository.ExceptionMappingCommandHandler.execute(ExceptionMappingCommandHandler.java:52) ~[classes/:na]
	at com.rreganjr.repository.RetryOnLockFailuresCommandHandler.execute(RetryOnLockFailuresCommandHandler.java:67) ~[classes/:na]
	at com.rreganjr.requel.project.impl.assistant.AbstractAssistant.addNote(AbstractAssistant.java:87) ~[classes/:na]
	at com.rreganjr.requel.project.impl.assistant.ProjectOrDomainEntityAssistant.analyzeProperty(ProjectOrDomainEntityAssistant.java:202) [classes/:na]
	at com.rreganjr.requel.project.impl.assistant.ProjectOrDomainEntityAssistant.analyze(ProjectOrDomainEntityAssistant.java:123) [classes/:na]
	at com.rreganjr.requel.project.impl.assistant.TextEntityAssistant.analyze(TextEntityAssistant.java:72) [classes/:na]
	at com.rreganjr.requel.project.impl.assistant.UseCaseAssistant.analyze(UseCaseAssistant.java:66) [classes/:na]
	at com.rreganjr.requel.project.impl.assistant.ProjectAssistant.analyzeUseCases(ProjectAssistant.java:119) [classes/:na]
	at com.rreganjr.requel.project.impl.assistant.ProjectAssistant.analyze(ProjectAssistant.java:71) [classes/:na]
	at com.rreganjr.requel.project.impl.assistant.AssistantFacade$1.run(AssistantFacade.java:186) [classes/:na]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_72]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_72]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
rreganjr added a commit that referenced this issue Jun 29, 2018
branch 1.0.3

new module annotatable-mapping to hold named @AnyMetaDef name = "annotatables" that references the requel-project module so that project entites can be MetaValue mapped to the annotatables collection on AbstractAnnotation without a circular dependency between annotation and project modules. Not sure this is working as I had a lot of cyclic dependencies via the iml files, although some of the references seemed suspect and I did some manual cleanup.

Signed-off-by: rreganjr <rreganjr@acm.org>
@rreganjr
Copy link
Owner Author

branch 1.0.3

new module annotatable-mapping to hold named @AnyMetaDef name = "annotatables" that references the requel-project module so that project entities can be MetaValue mapped to the annotatables collection on AbstractAnnotation without a circular dependency between annotation and project modules. Not sure this is working as I had a lot of cyclic dependencies via the iml files, although some of the references seemed suspect and I did some manual cleanup.

rreganjr added a commit that referenced this issue Jun 29, 2018
branch 1.0.3

Share the build/run run configurations.

Signed-off-by: rreganjr <rreganjr@acm.org>
rreganjr added a commit that referenced this issue Jun 29, 2018
branch 1.0.3

intellij is being such a pain, I just wanted a pepsi.

Signed-off-by: rreganjr <rreganjr@acm.org>
rreganjr pushed a commit that referenced this issue Jun 29, 2018
branch 1.0.3

hopefully I got the dependencies squared away. annotation module doesn't depend on annotatable-mapping in pom.xml as it caused a cycle with annotatable-mapping -> requel-project -> annotation. I only need the AnyMetaDef at runtime so I added it as a runtime dependency to the main requel module.

it sucks that I needed to add .idea to project as it has lots of crap, but sharing building etc. between different dev environments required this or maybe hours of reading to figure out how to properly set it up.
rreganjr added a commit that referenced this issue Jun 29, 2018
branch 1.0.3

I moved @AnyMetaDef name = "groupingObject" out of AbstractAnnotation and into package-info like the annotatables.

I fixed some typos in referrer names.
@rreganjr rreganjr self-assigned this Jun 30, 2018
@rreganjr rreganjr added the bug Something isn't working label Jun 30, 2018
@rreganjr rreganjr added this to the 1.0.3 milestone Jun 30, 2018
@rreganjr
Copy link
Owner Author

I imported the Requel project and no more analyzer errors.

rreganjr added a commit that referenced this issue Jul 26, 2018
branch 1.0.3

WIP redesign of jaxb unmarshalling.

also someone asked me about multithreaded Stanford parsing so I added a new parse method that takes a list of NLPText and uses a java parallel stream  to tokenize them before passing to the Stanford parser parseMultiple() method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant