Highlighted
Absent Member.
Absent Member.
608 views

failed to create folder under test plan

hello,
i am not able to create new folder under subject into test plan.
any idea ?

here is the error message :
Failed to create Tree node

Messages:
Failed to Create Tree Node;
Failed to create new subject 'test';
Failed to create new subject with name 'test' under father #2;

Stack Trace:
com.mercury.optane.core.CTdException: Failed to create new subject with name 'test' under father #2
at com.mercury.td.tdserver.api.logics.CTreeLogic.createSubject(CTreeLogic.java:577)
wrapped in com.mercury.optane.core.CTdException: Failed to create new subject 'test'
at com.mercury.td.tdserver.api.logics.CTreeLogic.createSubject(CTreeLogic.java:597)
at com.mercury.td.tdserver.api.logics.CTreeLogic.createSubject(CTreeLogic.java:948)
at com.mercury.td.tdserver.requests.CreateTreeNode.execute(CreateTreeNode.java:26)
at com.mercury.optane.core.web.RequestsDispatcher.execute(RequestsDispatcher.java:87)
wrapped in com.mercury.optane.core.CTdException: Failed to Create Tree Node
at com.mercury.optane.core.web.RequestsDispatcher.execute(RequestsDispatcher.java:93)
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:548)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:540)
at com.mercury.td.web.server.CTdServlet.processRequest(CTdServlet.java:291)
at com.mercury.optane.core.web.CAbsServlet.doPost(CAbsServlet.java:423)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)


tks
0 Likes
10 Replies
Highlighted
Fleet Admiral
Fleet Admiral

Strange...

Try:
1. refresh
2. Logoff / logon to QC
3. Logoff / close browser / logon to QC
4. Logon with another QC user
5. Reboot the server
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

when I see such lenghty errors...

I usually restart QC servce & DB service..

If both are on same case, you can reboot the machine once and give it a try.
0 Likes
Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Hi all, tks for your response, but no more good results 😞

Shivaram Patil, what do you mean by "usually restart QC servce & DB service..".
Tks.
0 Likes
Highlighted
Absent Member.
Absent Member.

Have you tried creating folders with different names? Maybe the name of the folder that you are giving already existing but is hidden...... Just a guess, but give it a try...
0 Likes
Highlighted
Absent Member.
Absent Member.

more guesses:
Not using QC10 with filter applied
Using TDAdmin
Not thousands of folders already there under subject
Havnt touched the sequences table
0 Likes
Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

1.Not using QC10 with filter applied
QC9.2, without any filter (on test grid and test plan tree views)
2.Using TDAdmin
yes, and others
3.Not thousands of folders already there under subject
what is the limit and how to count nb of folders?
4.Havnt touched the sequences table
no, only deleted many records under audit tables (manualy from HPQC Admin interface)
0 Likes
Highlighted
Absent Member.
Absent Member.

3. 26 cubed = 17576 per level, (255-6)/3 = 83 levels (I believe, havnt tried)
select count(*), max(AL_ABSOLUTE_PATH) from ALL_LISTS where AL_FATHER_ID = 2 /* in this case */
Inspecting this table might help:
select * from ALL_LISTS where AL_ABSOLUTE_PATH like (select AL_ABSOLUTE_PATH from ALL_LISTS where AL_ITEM_ID = 2) || '%'
0 Likes
Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

bad post ?
0 Likes
Highlighted
Absent Member.
Absent Member.

<>
Its for you. 2 "Requêtes SQL" you can use in XL reports.
0 Likes
Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

'right, sorry 🙂
here are limit's results : 7 AAAAAPABC

how to work with second inspect extract ?
I actually have 1648 levels
here are the fiels extracted :
AL_ITEM_ID AL_FATHER_ID AL_DESCRIPTION AL_NO_OF_SONS AL_SYSTEM AL_ABSOLUTE_PATH AL_VIEW_ORDER AL_MEMO AL_ATTACHMENT AL_ITEM_VERSION AL_VER_STAMP AL_VTS
tks.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.