Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi.
I created hard type as described in "Creating the Class" chapter of customization guide. I used command: "ant -f bin/tools.xml class -Dclass.includes=ru/mypackage/hardtype/** -Dclass.force=true".
Now i want to remove this hard type. I deleted all generated files in codebase/ru/mypackage/hardtype/
MethodServer falls on start with exception:
2014-09-09 14:37:00,680 FATAL [main] wt.method.server - MethodServerMain abort
(wt.introspection.introspectionResource/8) wt.introspection.InfoNotFoundException: Ресурс Info не найден для ru.mypackage.hardtype.MyHardTypeClass.
at wt.introspection.WTIntrospector.loadInfo(WTIntrospector.java:692)
at wt.introspection.WTIntrospector.getClassInfo(WTIntrospector.java:317)
at wt.introspection.ClassInfo.accumulateDescendentInfosDirect(ClassInfo.java:427)
at wt.introspection.ClassInfo.accumulateDescendentInfosDirect(ClassInfo.java:433)
at wt.introspection.ClassInfo.accumulateDescendentInfosDirect(ClassInfo.java:433)
at wt.introspection.ClassInfo.accumulateDescendentInfosDirect(ClassInfo.java:433)
at wt.introspection.ClassInfo.accumulateDescendents(ClassInfo.java:456)
at wt.introspection.ClassInfo.getDescendentInfos(ClassInfo.java:1062)
at wt.introspection.ClassInfo.isSuperclassOf(ClassInfo.java:1792)
at wt.introspection.ClassInfo.removeDuplicateRole(ClassInfo.java:877)
at wt.introspection.ClassInfo.addRole(ClassInfo.java:854)
at wt.introspection.ClassInfo.addRole(ClassInfo.java:838)
at wt.introspection.ClassInfo.readMyRoles(ClassInfo.java:1954)
at wt.introspection.ClassInfo.accumulateOtherRoles(ClassInfo.java:494)
at wt.introspection.ClassInfo.getOtherSideRoles(ClassInfo.java:1232)
at wt.introspection.ClassInfo.addInfoRoles(ClassInfo.java:796)
at wt.introspection.ClassInfo.accumulateOtherRoles(ClassInfo.java:490)
at wt.introspection.ClassInfo.getOtherSideRoles(ClassInfo.java:1232)
at wt.introspection.ClassInfo.addInfoRoles(ClassInfo.java:796)
at wt.introspection.ClassInfo.accumulateOtherRoles(ClassInfo.java:483)
at wt.introspection.ClassInfo.getOtherSideRoles(ClassInfo.java:1232)
at wt.introspection.ClassInfo.addInfoRoles(ClassInfo.java:796)
at wt.introspection.ClassInfo.accumulateOtherRoles(ClassInfo.java:483)
at wt.introspection.ClassInfo.getOtherSideRoles(ClassInfo.java:1232)
at wt.introspection.ClassInfo.getOtherSideRole(ClassInfo.java:1208)
at wt.vc.struct.StandardStructService.<clinit>(StandardStructService.java:435)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:171)
at wt.services.ManagerImplementation.create(ManagerImplementation.java:234)
at wt.services.StandardManagerFactory.createImplementations(StandardManagerFactory.java:146)
at wt.services.StandardManagerFactory.<init>(StandardManagerFactory.java:128)
at wt.services.StandardManagerFactory$Singleton.<clinit>(StandardManagerFactory.java:84)
at wt.services.StandardManagerFactory.getInstance(StandardManagerFactory.java:113)
at wt.services.StandardManagerService.createFactory(StandardManagerService.java:373)
at wt.services.StandardManagerService.initialize(StandardManagerService.java:363)
at wt.services.StandardManagerService.newStandardManagerService(StandardManagerService.java:99)
at wt.services.StandardServicesHandler.getFactory(StandardServicesHandler.java:51)
at wt.services.StandardServicesHandler.start(StandardServicesHandler.java:42)
at wt.method.MethodServerMain.run(MethodServerMain.java:410)
at wt.method.MethodServerMain.main(MethodServerMain.java:257)
How can i fix it?
Thanks.
Solved! Go to Solution.
Resolved.
I deleted all references to my HardTypeClass from *.properties files in codebase.
Resolved.
I deleted all references to my HardTypeClass from *.properties files in codebase.