,还好数据库没被干掉
。不然麻烦就大了!重新安装了jira程序,但出现了一个问题就是,查看之前创建的问题时,里面什么数据也没有,就是一行一行的错误代码,我把贴出来,至于这串错误代码是神马意思,我谷哥了很久也没有找到答案!An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getTooltipValue' in class com.pyxis.greenhopper.jira.fields.Component threw exception class java.lang.NullPointerException : null at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:249) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at
...
会不会是数据库导致的问题呢,于是我把数据库备份了,还原到之前某一状态。还是不行,还是出现这个问题。最后找到了解决的方法:因为删除jira程序时,也把它的索引文件给干掉了,索引文件是建立在本地文件中的,因此更换机器,或者重新安装时,都需要重新生成索引文件。生成索引文件的方法是:用jira管理员权限进入--->打开“系统管理”--->选择“系统设置”--->"索引"--->"Re-index"来重新生成索引。