Can't restart Fisheye

Ove Fredriksson December 13, 2011

We had a problem in Jira, which was restarted and seems OK now, except that it can't contact Fisheye. Checked Fisheye, which used 100% CPU, so I stopped it and then restarted, but it wouldn't restart.

Error log says Problem starting repository repeatedly and ends with an ERROR, see below.

I will include the entire error log in a minute.

Is there an easy way to stop Jira from trying to connect to Fisheye? Disable the plugin(s)? It is filling up the log, one line per second.

Fisheye error log tail:

...

2011-12-14 14:51:57,915 WARN main fisheye.app com.cenqua.fisheye.config.DefaultRepositoryManager-runRepositories - Problem starting repository

java.lang.RuntimeException: Application Context not initialised.

at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34)

at com.cenqua.fisheye.config.SpringContext.getComponentByClass(SpringContext.java:73)

at com.cenqua.fisheye.rep.RepositoryHandle.getIndexingContext(RepositoryHandle.java:570)

at com.cenqua.fisheye.rep.RepositoryHandle.run(RepositoryHandle.java:303)

at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(DefaultRepositoryManager.java:259)

at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepositories(DefaultRepositoryManager.java:287)

at com.cenqua.fisheye.config.RootConfig.startRepositories(RootConfig.java:521)

at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:248)

at com.cenqua.fisheye.ctl.Run.main(Run.java:69)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:592)

at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:113)

at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41)

2011-12-14 14:51:57,917 WARN main fisheye.app com.cenqua.fisheye.config.DefaultRepositoryManager-runRepositories - Problem starting repository

java.lang.RuntimeException: Application Context not initialised.

at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34)

at com.cenqua.fisheye.config.SpringContext.getComponentByClass(SpringContext.java:73)

at com.cenqua.fisheye.rep.RepositoryHandle.getIndexingContext(RepositoryHandle.java:570)

at com.cenqua.fisheye.rep.RepositoryHandle.run(RepositoryHandle.java:303)

at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(DefaultRepositoryManager.java:259)

at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepositories(DefaultRepositoryManager.java:287)

at com.cenqua.fisheye.config.RootConfig.startRepositories(RootConfig.java:521)

at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:248)

at com.cenqua.fisheye.ctl.Run.main(Run.java:69)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:592)

at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:113)

at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41)

2011-12-14 14:51:57,917 ERROR main fisheye.app com.cenqua.fisheye.ctl.Run-mainImpl - Could not start quartz schedule: Application Context not in itialised.

java.lang.RuntimeException: Application Context not initialised.

at com.cenqua.fisheye.config.SpringContext.getApplicationContext(SpringContext.java:34)

at com.cenqua.fisheye.config.SpringContext.getComponent(SpringContext.java:65)

at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:252)

at com.cenqua.fisheye.ctl.Run.main(Run.java:69)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:592)

at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:113)

at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41)

5 answers

1 accepted

0 votes
Answer accepted
Ove Fredriksson December 28, 2011

This is the same as FSH-7549, which is solved and closed.

Had to run mysqladmin flush-servers because the mysql server was blocked due to earlier network problems.

And yes, citnet admin, you were right, fisheye had started but not completely, couldn't contact the database. Jira couldn't contact Fisheye. After the flush-seervers command everything was OK.

0 votes
Abyakta Lenka April 2, 2014

Can any body help , i am also facing the same issue.I cant start my fisheye instance.

Fishseye 2.7

Postgres database

error message is :

ERROR: problem running command
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:98)
at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.isASCIINameCharNS(PiccoloLexer.java:2483)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseAttributeNameNS(PiccoloLexer.java:2042)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseAttributesNS(PiccoloLexer.java:1713)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseOpenTagNS(PiccoloLexer.java:1521)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseTagNS(PiccoloLexer.java:1362)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseXMLNS(PiccoloLexer.java:1293)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseXML(PiccoloLexer.java:1261)
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(PiccoloLexer.java:4808)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yylex(Piccolo.java:1290)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yyparse(Piccolo.java:1400)
at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:714)
at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3439)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
at com.cenqua.fisheye.config1.ConfigDocument$Factory.parse(ConfigDocument.java:876)
at com.cenqua.fisheye.config.RootConfig.parseDocument(RootConfig.java:181)
at com.cenqua.fisheye.config.RootConfig.parseDocument(RootConfig.java:171)
at com.cenqua.fisheye.config.RootConfig.load(RootConfig.java:144)
at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:113)
at com.cenqua.fisheye.ctl.Run.main(Run.java:77)
... 6 more

0 votes
laba pyakurel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 2, 2013

I am also having same problem with my fisheye. After it tooks 100% of the directory in the server, I deleted the fisheye.lck file and now it is giving me the exact same error. How to resolve this issue?

0 votes
Avdhesh Chauhan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 15, 2012

im getting the same error in fisheye 2.7, connect to mssql server 2008, can some one plz support

even the log messages are same as mentioned in this case

0 votes
CITnet CITnet December 13, 2011

Are you sure the fisheye process has been stopped? Check your running processes.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events