Comments (11)
Nothing is printed onto catalina.out
But following is the exception thrown when a 500 error is produced upon trying to extend mRNA.
24/09/2014 1:58:16 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [org.bbop.apollo.web.AnnotationEditorService] in context with path [/myGenome] threw exception
java.lang.NullPointerException
at org.bbop.apollo.web.AnnotationEditorService.cloneTranscript(AnnotationEditorService.java:3907)
at org.bbop.apollo.web.AnnotationEditorService.cloneTranscript(AnnotationEditorService.java:3903)
at org.bbop.apollo.web.AnnotationEditorService.setExonBoundaries(AnnotationEditorService.java:2600)
at org.bbop.apollo.web.AnnotationEditorService.doPost(AnnotationEditorService.java:558)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
from apollo.
It is most likely that you might have an orphaned feature. The exon does not have a transcript, which causes a null-pointer later. Its possible that you have a bad CVTerm file, but if everything else is working fine, it is unlikely.
Transcript transcript = exon.getTranscript();
Transcript oldTranscript = cloneTranscript(transcript);
In the tools folder, there is a remove_orphan_features.sh script, which should fix this.
./tools/data/remove_orphan_features.sh
Missing -w <webapollo_installation_dir> or $WEBAPOLLO_DIR environment variable
from apollo.
This is for the WebApollo-2014-04-03 release (the most recent one).
from apollo.
Let us know if this works or not or if you need help with it.
from apollo.
Hello Nathan,
I am trying to replicate the issue on a total new instance. But this time
trying to get rid of orphan features as you said that might be causing the
problem. As Colin pointed out the GFF files should have gene -> transcript
-> CDS/exon, which in my case it is not so. So I am adding a transcript
layer into my GFF file and at the same time making it more agreeable with
SOFA. So doing a bit of manual curation on the GFF it self. So this is why
it is taking a bit time.
Sorry for not replying sooner. I was waiting till I got the new instance up
and running... but the manual curation is taking a bit longer than I
expected.
Will let you know as soon as the new instance is up and running (today or
tomorrow.).
Cheers,
Asela
On Tue, Sep 30, 2014 at 10:09 AM, Nathan Dunn [email protected]
wrote:
Let us know if this works or not or if you need help with it.
—
Reply to this email directly or view it on GitHub
#27 (comment).
from apollo.
I managed to replicate the error using published data on* WebApollo Release
04-03-14*. The steps I carried out are as follows...
- Downloaded genbank and FASTA files of accession number - NC_022592.1
- Converted genbank to GFF3 using Bioperl - genbank2gff3.pl
This produced a GFF file with the structure of gene --> mRNA --> CDS -->
exon for each gene.
- Carried out instructions on the "Webapollo Installation
http://www.gmod.org/wiki/WebApollo_Installation" of which the last step
was...
bin/flatfile-to-json.pl --gff NC_022592.gff --getSubfeatures --type gene
--trackLabel GenBank --urltemplate "http://host/gene_cards/search.php"
I still get the follwoing error when I try to extend a mRNA in the 5' -->
3' direction. But no such error when trying to extend an mRNA in 3' --> 5'
direction. As mentioned earlier after fliping the strand back and forth I
can extend the mRNA in the 5' --> 3' direction.
2/10/2014 4:52:48 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet
[org.bbop.apollo.web.AnnotationEditorService] in context with path [/test]
threw exception
java.lang.NullPointerException
at
org.bbop.apollo.web.AnnotationEditorService.cloneTranscript(AnnotationEditorService.java:3907)
at
org.bbop.apollo.web.AnnotationEditorService.cloneTranscript(AnnotationEditorService.java:3903)
at
org.bbop.apollo.web.AnnotationEditorService.setExonBoundaries(AnnotationEditorService.java:2600)
at
org.bbop.apollo.web.AnnotationEditorService.doPost(AnnotationEditorService.java:558)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Further I am trying to link each gene to a genecard. Therefore I used
the *--urltemplate
"http://host/gene_cards/search.php http://host/gene_cards/search.php" *flag.
But nothing happens when I click on a feature. The following error is
printed in some instances.
GET
/test/AnnotationChangeNotificationService?track=Annotations-DSM10061&dojo.preventCache=1412222120557
HTTP/1.1" 504 5
I am certain that I am doing something very small and foolish with regard
to the URL issue... But pointing in the right direction would be greatly
appreciated.
Cheers,
Asela
On Tue, Sep 30, 2014 at 11:51 AM, Asela Dassanayake <
[email protected]> wrote:
Hello Nathan,
I am trying to replicate the issue on a total new instance. But this time
trying to get rid of orphan features as you said that might be causing the
problem. As Colin pointed out the GFF files should have gene -> transcript
-> CDS/exon, which in my case it is not so. So I am adding a transcript
layer into my GFF file and at the same time making it more agreeable with
SOFA. So doing a bit of manual curation on the GFF it self. So this is why
it is taking a bit time.Sorry for not replying sooner. I was waiting till I got the new instance
up and running... but the manual curation is taking a bit longer than I
expected.Will let you know as soon as the new instance is up and running (today or
tomorrow.).Cheers,
AselaOn Tue, Sep 30, 2014 at 10:09 AM, Nathan Dunn [email protected]
wrote:Let us know if this works or not or if you need help with it.
—
Reply to this email directly or view it on GitHub
#27 (comment).
from apollo.
Notes from Asela:
I managed to replicate the error using published data on* WebApollo Release
04-03-14*. The steps I carried out are as follows...
- Downloaded genbank and FASTA files of accession number - NC_022592.1
- Converted genbank to GFF3 using Bioperl - genbank2gff3.pl
This produced a GFF file with the structure of gene --> mRNA --> CDS --> exon for each gene.
- Carried out instructions on the "Webapollo Installation http://www.gmod.org/wiki/WebApollo_Installation" of which the last step was...
bin/flatfile-to-json.pl --gff NC_022592.gff --getSubfeatures --type gene --trackLabel GenBank --urltemplate "http://host/gene_cards/search.php"
I still get the follwoing error when I try to extend a mRNA in the 5' -->
3' direction. But no such error when trying to extend an mRNA in 3' --> 5'
direction. As mentioned earlier after fliping the strand back and forth I
can extend the mRNA in the 5' --> 3' direction.
2/10/2014 4:52:48 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet
[org.bbop.apollo.web.AnnotationEditorService] in context with path [/test]
threw exception
java.lang.NullPointerException at
org.bbop.apollo.web.AnnotationEditorService.cloneTranscript(AnnotationEditorService.java:3907) at
org.bbop.apollo.web.AnnotationEditorService.cloneTranscript(AnnotationEditorService.java:3903) at
org.bbop.apollo.web.AnnotationEditorService.setExonBoundaries(AnnotationEditorService.java:2600) at
org.bbop.apollo.web.AnnotationEditorService.doPost(AnnotationEditorService.java:558) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at
java.lang.Thread.run(Thread.java:701)
Further I am trying to link each gene to a genecard. Therefore I used
the *--urltemplate
"http://host/gene_cards/search.php http://host/gene_cards/search.php" *flag.
But nothing happens when I click on a feature. The following error is
printed in some instances.
GET /test/AnnotationChangeNotificationService?track=Annotations-DSM10061&dojo.preventCache=1412222120557 HTTP/1.1" 504 5
I am certain that I am doing something very small and foolish with regard
to the URL issue... But pointing in the right direction would be greatly
appreciated.Cheers,
Asela
from apollo.
I’ve added these notes to the bug. I will try to reproduce this under the current code base.
Nathan
On Oct 1, 2014, at 9:05 PM, aselawsd [email protected] wrote:
I managed to replicate the error using published data on* WebApollo Release
04-03-14*. The steps I carried out are as follows...
- Downloaded genbank and FASTA files of accession number - NC_022592.1
- Converted genbank to GFF3 using Bioperl - genbank2gff3.pl
This produced a GFF file with the structure of gene --> mRNA --> CDS -->
exon for each gene.
- Carried out instructions on the "Webapollo Installation
http://www.gmod.org/wiki/WebApollo_Installation" of which the last step
was...bin/flatfile-to-json.pl --gff NC_022592.gff --getSubfeatures --type gene
--trackLabel GenBank --urltemplate "http://host/gene_cards/search.php"I still get the follwoing error when I try to extend a mRNA in the 5' -->
3' direction. But no such error when trying to extend an mRNA in 3' --> 5'
direction. As mentioned earlier after fliping the strand back and forth I
can extend the mRNA in the 5' --> 3' direction.2/10/2014 4:52:48 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet
[org.bbop.apollo.web.AnnotationEditorService] in context with path [/test]
threw exception
java.lang.NullPointerException
at
org.bbop.apollo.web.AnnotationEditorService.cloneTranscript(AnnotationEditorService.java:3907)
at
org.bbop.apollo.web.AnnotationEditorService.cloneTranscript(AnnotationEditorService.java:3903)
at
org.bbop.apollo.web.AnnotationEditorService.setExonBoundaries(AnnotationEditorService.java:2600)
at
org.bbop.apollo.web.AnnotationEditorService.doPost(AnnotationEditorService.java:558)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)Further I am trying to link each gene to a genecard. Therefore I used
the *--urltemplate
"http://host/gene_cards/search.php http://host/gene_cards/search.php" *flag.
But nothing happens when I click on a feature. The following error is
printed in some instances.GET
/test/AnnotationChangeNotificationService?track=Annotations-DSM10061&dojo.preventCache=1412222120557
HTTP/1.1" 504 5I am certain that I am doing something very small and foolish with regard
to the URL issue... But pointing in the right direction would be greatly
appreciated.Cheers,
AselaOn Tue, Sep 30, 2014 at 11:51 AM, Asela Dassanayake <
[email protected]> wrote:Hello Nathan,
I am trying to replicate the issue on a total new instance. But this time
trying to get rid of orphan features as you said that might be causing the
problem. As Colin pointed out the GFF files should have gene -> transcript
-> CDS/exon, which in my case it is not so. So I am adding a transcript
layer into my GFF file and at the same time making it more agreeable with
SOFA. So doing a bit of manual curation on the GFF it self. So this is why
it is taking a bit time.Sorry for not replying sooner. I was waiting till I got the new instance
up and running... but the manual curation is taking a bit longer than I
expected.Will let you know as soon as the new instance is up and running (today or
tomorrow.).Cheers,
AselaOn Tue, Sep 30, 2014 at 10:09 AM, Nathan Dunn [email protected]
wrote:Let us know if this works or not or if you need help with it.
—
Reply to this email directly or view it on GitHub
#27 (comment).—
Reply to this email directly or view it on GitHub.
from apollo.
This may be unreleated but this step for loading tracks might need changing:
bin/flatfile-to-json.pl --gff NC_022592.gff --getSubfeatures --type gene --trackLabel GenBank --urltemplate "http://host/gene_cards/search.php"
Generally we load the mRNA level or transcript level of the features. Therefore, we would use
bin/flatfile-to-json.pl --gff NC_022592.gff --getSubfeatures --type mRNA --trackLabel GenBank --urltemplate "http://host/gene_cards/search.php"
Again this might be unrelated, but it can actually cause database corruption to import the wrong type of features into the database.
from apollo.
fixed in 2.0.0?
from apollo.
@nathandunn I have been testing this on 2.0 and [happily] I have not been able to reproduce it. For now I am closing this issue and if it reappears on 2.0, we'll address it again.
from apollo.
Related Issues (20)
- Unable to create combination tracks HOT 2
- log4j vulnerability: afaict we're safe? HOT 6
- imported annotations not populating annotations tab HOT 12
- Get gene sequence HOT 2
- CDS features not appearing when written via annotations._check_write HOT 1
- Upgrade to more modern versions of dependencies? HOT 3
- Add pop up to Fmin and Fmax radial button area in annotator panel
- How to install Apollo in Windows?
- [Feature request] Update owner info from web services
- Download all the manual curation history from Apollo? HOT 1
- new install error? HOT 2
- High vulnerability caused by Apache Shiro HOT 7
- OpenID/Oath support HOT 1
- Web service calls for ShowStatus and Update status not working as expected HOT 1
- Request: Video Tutorial for configuring with H2 Apollo (and perhaps any of the other two too)
- Refactor to support Postgres greater than 11 HOT 3
- IT just sent us the latest vulnerability report. Two dependencies need updating. HOT 1
- load_gff3 miscalculates CDS HOT 4
- Range Error when adding BAM track HOT 1
- Cannot get property 'sequence' on null object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo.