cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

auto re-Version via expression has Exceptoin

CHASEONHO
18-Opal

auto re-Version via expression has Exceptoin

wt.maturity.PromotionNotice pn = (wt.maturity.PromotionNotice)primaryBusinessObject;
wt.fc.QueryResult qr = wt.maturity.MaturityHelper.service.getBaselineItems(pn);

while (qr.hasMoreElements())
{

wt.vc.Versioned obj = (wt.vc.Versioned) qr.nextElement();

wt.vc.Versioned newObject = wt.vc.VersionControlHelper.service.newVersion(obj);

wt.fc.PersistenceHelper.manager.store(newObject);

}

i use that code

and start process with promotion object for test code

 

when execute expression, occur issue

 

Windchill PDMLink

wt.util.WTException: (wt.vc.vcResource/60) wt.vc.VersionControlException:
버전이 이미 존재합니다. 복사본을 작성할 수 없습니다: CAD 부품  - 0000000121.prt, B.1
//wt.util.WTException: (wt.vc.vcResource / 60) wt.vc.VersionControlException:
Version already exists. Can not make a copy: CAD parts - 0000000121.prt, B.1


중첩 예외: (wt.vc.vcResource/60) wt.vc.VersionControlException:
버전이 이미 존재합니다. 복사본을 작성할 수 없습니다: CAD 부품  - 0000000121.prt, B.1
//wt.util.WTException: (wt.vc.vcResource / 60) wt.vc.VersionControlException:
Version already exists. Can not make a copy: CAD parts - 0000000121.prt, B.1


중첩 예외: wt.util.WTException: (wt.vc.vcResource/60) wt.vc.VersionControlException:
버전이 이미 존재합니다. 복사본을 작성할 수 없습니다: CAD 부품  - 0000000121.prt, B.1
wt.util.WTException: (wt.vc.vcResource / 60) wt.vc.VersionControlException:
Version already exists. Can not make a copy: CAD parts - 0000000121.prt, B.1


중첩 예외: wt.vc.VersionControlException:
버전이 이미 존재합니다. 복사본을 작성할 수 없습니다: CAD 부품  - 0000000121.prt, B.1
//wt.util.WTException: (wt.vc.vcResource / 60) wt.vc.VersionControlException:
Version already exists. Can not make a copy: CAD parts - 0000000121.prt, B.1


wt.workflow.engine.FailedExpressionException: wt.util.WTException: (wt.vc.vcResource/60) wt.vc.VersionControlException:
버전이 이미 존재합니다. 복사본을 작성할 수 없습니다: CAD 부품  - 0000000121.prt, B.1
//wt.util.WTException: (wt.vc.vcResource / 60) wt.vc.VersionControlException:
Version already exists. Can not make a copy: CAD parts - 0000000121.prt, B.1


중첩 예외: (wt.vc.vcResource/60) wt.vc.VersionControlException:
버전이 이미 존재합니다. 복사본을 작성할 수 없습니다: CAD 부품  - 0000000121.prt, B.1
//wt.util.WTException: (wt.vc.vcResource / 60) wt.vc.VersionControlException:
Version already exists. Can not make a copy: CAD parts - 0000000121.prt, B.1


중첩 예외: wt.util.WTException: (wt.vc.vcResource/60) wt.vc.VersionControlException:
버전이 이미 존재합니다. 복사본을 작성할 수 없습니다: CAD 부품  - 0000000121.prt, B.1
//wt.util.WTException: (wt.vc.vcResource / 60) wt.vc.VersionControlException:
Version already exists. Can not make a copy: CAD parts - 0000000121.prt, B.1


중첩 예외: (wt.vc.vcResource/60) wt.vc.VersionControlException:
버전이 이미 존재합니다. 복사본을 작성할 수 없습니다: CAD 부품  - 0000000121.prt, B.1
//wt.util.WTException: (wt.vc.vcResource / 60) wt.vc.VersionControlException:
Version already exists. Can not make a copy: CAD parts - 0000000121.prt, B.1


at wt.vc.StandardVersionControlService.storeControlBranchOf(StandardVersionControlService.java:1440)
at wt.vc.StandardVersionControlService$2.notifyVetoableMultiObjectEvent(StandardVersionControlService.java:468)
at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:298)
at wt.events.StandardKeyedEventBranch.dispatchVetoableEvent(StandardKeyedEventBranch.java:250)
at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:286)
at wt.events.StandardKeyedEventDispatcher.dispatchVetoableEvent(StandardKeyedEventDispatcher.java:215)
at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:406)
at wt.services.StandardManagerService.dispatchVetoableEvent(StandardManagerService.java:302)
at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2965)

 

0 REPLIES 0
Announcements