Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 97193 - Can't create folders
Summary: Can't create folders
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise CMS
Classification: Retired
Component: other
Version: nightly
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Justin Ross
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks: 88036 88926 92283
TreeView+ depends on / blocked
 
Reported: 2003-06-11 13:10 UTC by Jon Orris
Modified: 2005-10-31 22:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-06-11 18:57:10 UTC


Attachments (Terms of Use)

Description Jon Orris 2003-06-11 13:10:29 UTC
Description of problem:
@32241/Postgres

Creating a folder gives a CCM Error. Note that this is the same exception in the
two CMS JUnit regressions since 32237.

http://ccm-installer.boston.redhat.com/junit/troika/32241/oracle-se/cms/com.arsdigita.cms.CMSSuite.html


-*-*-*-*-*- Begin Error Report -*-*-*-*-*-
-*-*-*- ACS Error Report Code: localhost:8080:25d24612:f5b6f8e4b5 -*-*-*-
-*-*-*- Message: No such object:
[com.arsdigita.kernel.permissions.ObjectContext:{}] -*-*-*-

-*-*-*- Section: HTTP headers -*-*-*-
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip,deflate,compress;q=0.9
Accept-Language: en-us,en;q=0.5
Connection: close
Content-Length: 432
Content-Type: application/x-www-form-urlencoded
Cookie: ad_user_login=9!1149774262614!RZ7Ktd5pTstKZigJ7OGtIA==;
JSESSIONID=a_sgL9vVOX54
Host: localhost:8080
Referer:
http://localhost:8080/ccm/articles/admin/index.jsp?bbp.68.ps=20&bbp.869.d=asc&bbp.351.sel=1052&bbp.752.d=asc&bbp.740.d=asc&query=jorris%40redhat.com&bbp.s=95&bbp.i=m68db7zila7czs79ze3382zrjz97edimblazqotg9ygef8jb1sejaobt1vwyy3xht2k9bftxwvc4pkm115lpwn5wv6c2kv3t2yi51sjyw9273ncbpzqyj89k8iid5c8qyvwwtvaxzqb8b28jozdoyo3hx1khke2mwgw&bbp.3.pane=0&bbp.72.sel=1&bbp.4.folder=1014&bbp.212.stack=221&g11n.enc=UTF-8
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

-*-*-*- Section: Cookies -*-*-*-
ad_user_login: 9!1149774262614!RZ7Ktd5pTstKZigJ7OGtIA== (expires: -1)
JSESSIONID: a_sgL9vVOX54 (expires: -1)

-*-*-*- Section: CCM User -*-*-*-
Party not logged in

-*-*-*- Section: Stack trace -*-*-*-
java.lang.IllegalArgumentException: No such object:
[com.arsdigita.kernel.permissions.ObjectContext:{}]
	at
com.arsdigita.persistence.proto.Session.fetchPropertyData(Session.java(Compiled
Code))
	at com.arsdigita.persistence.proto.Session$1.onRole(Session.java(Compiled Code))
	at com.arsdigita.persistence.proto.metadata.Role.dispatch(Role.java(Compiled Code))
	at com.arsdigita.persistence.proto.Session.get(Session.java(Compiled Code))
	at com.arsdigita.persistence.proto.Expander.onSet(Expander.java:142)
	at com.arsdigita.persistence.proto.SetEvent.dispatch(SetEvent.java(Compiled Code))
	at com.arsdigita.persistence.proto.Expander.expand(Expander.java:47)
	at com.arsdigita.persistence.proto.Session$2.onRole(Session.java:207)
	at com.arsdigita.persistence.proto.metadata.Role.dispatch(Role.java(Compiled Code))
	at com.arsdigita.persistence.proto.Session.set(Session.java:205)
	at com.arsdigita.persistence.DataObjectImpl.set(DataObjectImpl.java:232)
	at com.arsdigita.domain.DomainObject.set(DomainObject.java:340)
	at com.arsdigita.kernel.permissions.ObjectContext.setObject(ObjectContext.java:183)
	at
com.arsdigita.kernel.permissions.PermissionManager.setContext(PermissionManager.java:298)
	at
com.arsdigita.kernel.permissions.PermissionService.setContext(PermissionService.java:241)
	at com.arsdigita.cms.ContentItem.setParent(ContentItem.java:469)
	at com.arsdigita.cms.ui.folder.FolderForm.updateFolder(FolderForm.java:83)
	at com.arsdigita.cms.ui.folder.FolderCreator.process(FolderCreator.java:73)
	at com.arsdigita.bebop.FormSection.fireProcess(FormSection.java:449)
	at com.arsdigita.bebop.FormSection$4.process(FormSection.java:423)
	at com.arsdigita.bebop.FormModel.fireFormProcess(FormModel.java:478)
	at com.arsdigita.bebop.FormModel.process(FormModel.java:345)
	at com.arsdigita.bebop.Form.process(Form.java:431)
	at com.arsdigita.bebop.Form.respond(Form.java:276)
	at com.arsdigita.bebop.PageState.respond(PageState.java:348)
	at com.arsdigita.bebop.Page.process(Page.java:696)
	at com.arsdigita.bebop.Page.process(Page.java:678)
	at com.arsdigita.bebop.Page.buildDocument(Page.java:732)
	at com.arsdigita.cms.dispatcher.CMSPage$1.excurse(CMSPage.java:267)
	at com.arsdigita.cms.CMSExcursion.run(CMSExcursion.java:71)
	at com.arsdigita.cms.dispatcher.CMSPage.dispatch(CMSPage.java:275)
	at com.arsdigita.cms.dispatcher.CMSDispatcher.dispatch(CMSDispatcher.java:257)
	at
com.arsdigita.cms.dispatcher.CMSDispatcher.chainedDispatch(CMSDispatcher.java:337)
	at com.arsdigita.dispatcher.DispatcherChain.dispatch(DispatcherChain.java:74)
	at
com.arsdigita.cms.ContentSectionServlet.doService(ContentSectionServlet.java:148)
	at
com.arsdigita.web.BaseApplicationServlet$1.excurse(BaseApplicationServlet.java:119)
	at com.arsdigita.kernel.KernelExcursion.run(KernelExcursion.java:57)
	at
com.arsdigita.web.BaseApplicationServlet.doService(BaseApplicationServlet.java:113)
	at com.arsdigita.web.BaseServlet$1.excurse(BaseServlet.java:128)
	at com.arsdigita.kernel.KernelExcursion.run(KernelExcursion.java:57)
	at com.arsdigita.web.BaseServlet.internalService(BaseServlet.java:104)
	at com.arsdigita.web.BaseServlet.doPost(BaseServlet.java:238)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
	at com.caucho.server.http.Invocation.service(Invocation.java:312)
	at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
	at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:225)
	at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:106)
	at com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:83)
	at com.arsdigita.web.BaseDispatcher.forward(BaseDispatcher.java:212)
	at com.arsdigita.web.BaseDispatcher.forward(BaseDispatcher.java:198)
	at com.arsdigita.web.BaseDispatcher.dispatch(BaseDispatcher.java:130)
	at com.arsdigita.web.DispatcherServlet.service(DispatcherServlet.java:136)
	at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
	at com.caucho.server.http.Invocation.service(Invocation.java:312)
	at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:244)
	at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
	at java.lang.Thread.run(Thread.java:512)


-*-*-*- Section: Request summary -*-*-*-
Context path: 
Request URI: /ccm/articles/admin/index.jsp
Query string: null
Method: POST
Remote user: null

-*-*-*- Section: System properties -*-*-*-
file.encoding: UTF-8
file.encoding.pkg: sun.io
file.separator: /
invokedviajava: 
java.assistive: ON
java.awt.fonts: 
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.awt.printerjob: sun.awt.motif.PSPrinterJob
java.class.path:
:/opt/apps/oracle/product/9.2.0/jdbc/lib/classes12.zip:/home/jorris/dev/lib/classes12.zip:/home/jorris/dev/lib/pgjdbc2.jar:/home/jorris/dev/ccm/core/etc/lib/junit.jar:/home/jorris/dev/lib/servlet.jar:/opt/apps/oracle/product/9.2.0/jdbc/lib/classes12.zip:/home/jorris/webserver/resin-2.1.6/lib/resin.jar:/home/jorris/webserver/resin-2.1.6/lib/jdbc2_0-stdext.jar:/home/jorris/webserver/resin-2.1.6/lib/jta-spec1_0_1.jar:/home/jorris/webserver/resin-2.1.6/lib/jndi.jar:/home/jorris/webserver/resin-2.1.6/lib/dom.jar:/home/jorris/webserver/resin-2.1.6/lib/sax.jar:/home/jorris/webserver/resin-2.1.6/lib/jaxp.jar:/home/jorris/webserver/resin-2.1.6/lib/jmx.jar:/home/jorris/webserver/resin-2.1.6/lib/webutil.jar:/home/jorris/webserver/resin-2.1.6/lib/jdbc-mysql.jar:/opt/IBMJava2-131/lib/tools.jar:/opt/IBMJava2-131/jre/lib/rt.jar:/home/jorris/webserver/resin-2.1.6/lib/jsdk23.jar
java.class.version: 46.0
java.compiler: jitc
java.ext.dirs: /opt/IBMJava2-131/jre/lib/ext
java.fullversion: J2RE 1.3.1 IBM build cxia32131-20020410 (JIT enabled: jitc)
java.home: /opt/IBMJava2-131/jre
java.io.tmpdir: /tmp
java.library.path:
/opt/IBMJava2-131/jre/bin:/opt/IBMJava2-131/jre/bin/classic:/opt/apps/oracle/product/9.2.0/lib:/lib:/usr/lib:/usr/local/lib:libexec:/usr/lib
java.naming.factory.initial: com.caucho.naming.InitialContextFactoryImpl
java.naming.factory.url.pkgs: com.caucho.naming
java.runtime.name: Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version: 1.3.1
java.specification.name: Java Platform API Specification
java.specification.vendor: Sun Microsystems Inc.
java.specification.version: 1.3
java.vendor: IBM Corporation
java.vendor.url: http://www.ibm.com/
java.vendor.url.bug: 
java.version: 1.3.1
java.vm.info: J2RE 1.3.1 IBM build cxia32131-20020410 (JIT enabled: jitc)
java.vm.name: Classic VM
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.vendor: Sun Microsystems Inc.
java.vm.specification.version: 1.0
java.vm.vendor: IBM Corporation
java.vm.version: 1.3.1
javax.xml.parsers.DocumentBuilderFactory:
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
javax.xml.parsers.SAXParserFactory: org.apache.xerces.jaxp.SAXParserFactoryImpl
javax.xml.transform.TransformerFactory:
org.apache.xalan.processor.TransformerFactoryImpl
line.separator: 

org.xml.sax.driver: com.caucho.xml.Xml
os.arch: x86
os.name: Linux
os.version: 2.4.20-18.8
path.separator: :
PreferredXSLTTransformer: XALAN
resin.home: /home/jorris/webserver/resin-2.1.6
sun.boot.class.path:
/opt/IBMJava2-131/jre/lib/rt.jar:/opt/IBMJava2-131/jre/lib/i18n.jar:/opt/IBMJava2-131/jre/classes
sun.boot.library.path: /opt/IBMJava2-131/jre/bin
sun.io.unicode.encoding: UnicodeLittle
user.dir: /home/jorris/webserver/resin-2.1.6
user.home: /home/jorris
user.language: en
user.name: jorris
user.region: US
user.timezone: America/New_York
vendor: Apache Software Foundation
vendor-url: http://xml.apache.org/xalan
version: 2.1.0
-*-*-*-*-*- End Error Report -*-*-*-*-*-

Comment 1 Justin Ross 2003-06-11 15:03:33 UTC
Stupid mistake fixed in perforce 32258.  I can create Folders now.

Comment 2 Jon Orris 2003-06-11 18:57:10 UTC
Fixed


Note You need to log in before you can comment on or make changes to this bug.