Bug 995910
| Summary: | Server internal error when push type is both | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Zanata | Reporter: | Patrick Huang <pahuang> | ||||
| Component: | Component-Persistence | Assignee: | Carlos Munoz <camunoz> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ding-Yi Chen <dchen> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.0 | CC: | camunoz, dchen, zanata-bugs | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 3.1-SNAPSHOT (20130823-1233) | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-11-27 03:23:32 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 785491 [details]
Sample project folder
It seems to only happen for first push. If push failed and re-push again it will work. I think that's because merge type auto will detect most of the text flow hasn't changed. There are a lot of warning messages prior the ERROR stacktrace: WARN [org.zanata.service.impl.ActivityServiceImpl] (DefaultQuartzScheduler_Worker-8) Unable to log activity. One or more of the information is null: actor-null, context-HProjectIteration(super=SlugEntityBase(super=HProjectIteration@a1987bd4[id=11,versionNum=0], slug=master), project=HProject(super=SlugEntityBase(super=HProject@a0fe2d95[id=10,versionNum=0], slug=Tar), name=tar)), activityType-UPDATE_TRANSLATION Doesn't seem to relate to file size. Tried with GNU tar which is a normal sized project and same error happened. Corrected an event being thrown in an incorrect manner. See: https://github.com/zanata/zanata-server/pull/116 VERIFIED with Zanata version 3.1-SNAPSHOT (20130823-1233) Closing VERIFIED bugs for Zanata versions <= 3.1. Closing VERIFIED bugs for Zanata versions <= 3.1. Closing VERIFIED bugs for Zanata versions <= 3.1. Closing VERIFIED bugs for Zanata versions <= 3.1. Closing VERIFIED bugs for Zanata versions <= 3.1. Closing VERIFIED bugs for Zanata versions <= 3.1. |
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31 Build Identifier: When pushing file with large amount of text flows (i.e. freeciv - 7265 messages), translation push will fail near the end with server internal error: 23:54:04,829 ERROR [org.zanata.process.AsynchronousExecutor] (DefaultQuartzScheduler_Worker-1) Exception with long running process: Error during translation.: org.zanata.ex ception.ZanataServiceException: Error during translation. at org.zanata.service.impl.TranslationServiceImpl.translateAllInDoc(TranslationServiceImpl.java:647) [classes:] Caused by: java.lang.IllegalStateException: Transaction begin not detected, try installing transaction:ejb-transaction in components.xml at org.jboss.seam.transaction.SeSynchronizations.registerSynchronization(SeSynchronizations.java:55) [jboss-seam-2.3.0.Final.jar:2.3.0.Final] Caused by: java.lang.IllegalStateException: Transaction begin not detected, try installing transaction:ejb-transaction in components.xml at org.jboss.seam.transaction.SeSynchronizations.registerSynchronization(SeSynchronizations.java:55) [jboss-seam-2.3.0.Final.jar:2.3.0.Final] Reproducible: Always Steps to Reproduce: 1. Use project freeciv as example and create NEW version 2. Make sure there is one locale is fully translated and include this in zanata.xml 3. mvn zanata:push -Dzanata.pushType=both -e Actual Results: error occur during translation push Expected Results: Successfully pushed source and target Sample project file will be included as attachment