|
版本: |
|
小版本号: |
|
|
|
数据库: |
|
服务器操作系统: |
|
应用服务器: |
|
客户端操作系统: |
|
浏览器: |
|
|
|
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.justep.system.action.Engine.invokeActions(Native Method)
at com.justep.system.action.Engine.invokeActions(Unknown Source)
at com.justep.business.server.BusinessServer.doAction(Unknown Source)
at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: INSERT INTO SA_DocNode SA_DocNode(SA_DocNode, SA_DocNode.version, SA_DocNode.sParentID, SA_DocNode.sDocName, SA_DocNode.sSequence, SA_DocNode.sSize, SA_DocNode.sKind, SA_DocNode.sDocPath, SA_DocNode.sDocDisplayPath, SA_DocNode.sCreatorFID, SA_DocNode.sCreatorName, SA_DocNode.sCreatorDeptName, SA_DocNode.sCreateTime, SA_DocNode.sEditorFID, SA_DocNode.sEditorName, SA_DocNode.sEditorDeptName, SA_DocNode.sLastWriterFID, SA_DocNode.sLastWriterName, SA_DocNode.sLastWriterDeptName, SA_DocNode.sLastWriteTime, SA_DocNode.sFileID, SA_DocNode.sDescription, SA_DocNode.sDocLiveVersionID, SA_DocNode.sDocSerialNumber, SA_DocNode.sKeywords, SA_DocNode.sClassification, SA_DocNode.sFinishTime, SA_DocNode.sNameSpace, SA_DocNode.sFlag, SA_DocNode.sCacheName, SA_DocNode.sRevisionCacheName) VALUES (:SA_DocNode, :version, :sParentID, :sDocName, :sSequence, :sSize, :sKind, :sDocPath, :sDocDisplayPath, :sCreatorFID, :sCreatorName, :sCreatorDeptName, :sCreateTime, :sEditorFID, :sEditorName, :sEditorDeptName, :sLastWriterFID, :sLastWriterName, :sLastWriterDeptName, :sLastWriteTime, :sFileID, :sDescription, :sDocLiveVersionID, :sDocSerialNumber, :sKeywords, :sClassification, :sFinishTime, :sNameSpace, :sFlag, :sCacheName, :sRevisionCacheName)
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlInsert(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlExecuteUpdate(Unknown Source)
at com.justep.system.data.KSQL.executeUpdate(Unknown Source)
at com.justep.system.data.KSQL.executeUpdate(Unknown Source)
at com.justep.system.data.impl.TableImpl.insert(Unknown Source)
at com.justep.system.data.impl.TableImpl.save(Unknown Source)
at com.justep.system.data.impl.TableImpl.save(Unknown Source)
at com.justep.system.data.impl.TableImpl.save(Unknown Source)
at com.justep.system.data.impl.TableImpl.save(Unknown Source)
at com.justep.doc.attachment.Attachments.saveTable(Attachments.java:256)
at com.justep.doc.attachment.Attachments.commitData(Attachments.java:353)
at com.justep.doc.DocAdapter.saveCommAttach(DocAdapter.java:523)
at com.justep.doc.DocAdapter.saveAttachAdapter(DocAdapter.java:446)
... 26 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150039; 提示: 执行sql: INSERT INTO SA_DocNode (SA_DocNode.sID, SA_DocNode.VERSION, SA_DocNode.sParentID, SA_DocNode.SDOCNAME, SA_DocNode.SSEQUENCE, SA_DocNode.SSIZE, SA_DocNode.SKIND, SA_DocNode.SDOCPATH, SA_DocNode.SDOCDISPLAYPATH, SA_DocNode.SCREATORFID, SA_DocNode.SCREATORNAME, SA_DocNode.SCREATORDEPTNAME, SA_DocNode.SCREATETIME, SA_DocNode.SEDITORFID, SA_DocNode.SEDITORNAME, SA_DocNode.SEDITORDEPTNAME, SA_DocNode.SLASTWRITERFID, SA_DocNode.SLASTWRITERNAME, SA_DocNode.SLASTWRITERDEPTNAME, SA_DocNode.SLASTWRITETIME, SA_DocNode.SFILEID, SA_DocNode.SDESCRIPTION, SA_DocNode.SDOCLIVEVERSIONID, SA_DocNode.SDOCSERIALNUMBER, SA_DocNode.SKEYWORDS, SA_DocNode.SCLASSIFICATION, SA_DocNode.SFINISHTIME, SA_DocNode.SNAMESPACE, SA_DocNode.SFLAG, SA_DocNode.SCACHENAME, SA_DocNode.SREVISIONCACHENAME) VALUES ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ), binds: [C7D3D9EA4FE000019FB718B01F4B2AD0, 0, defaultDocNameSpace, ]`DHY5H1V[_MR0KXQ23W}%V.png, null, 55256.0, image/png, /defaultDocNameSpace, /文档中心, /ORG01.ogn/PSN01@ORG01.psm, system, , 2018-01-08 16:44:21.886, , , , /ORG01.ogn/PSN01@ORG01.psm, system, null, 2018-01-08 16:44:21.886, 958-defaultDocNameSpace, null, 1, null, null, null, null, null, 1, , ]出错
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.ksql.KSQLUtils.execSqlUpdate(Unknown Source)
... 39 more
Caused by: java.sql.SQLException: 违反了 PRIMARY KEY 约束“PK_DOCNODE”。不能在对象“dbo.SA_DocNode”中插入重复键。重复键值为 (C7D3D9EA4FE000019FB718B01F4B2AD0)。
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:365)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2781)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2224)
at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:628)
at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:525)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:487)
at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeUpdate(JtdsPreparedStatement.java:421)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
... 40 more
违反唯一约束保存不了到文档中。
之后我重新打开 图片可以显示。数据库中文档表 select * from SA_DocNode where sID='C7D3D9EA4FE000019FB718B01F4B2AD0' 查询不到
|
|