Render Tree Table, got java.beans.IntrospectionException in Log file.
Hi,
I have a tree table defined in a jspx page. I got the following exception in the Log file when the UI try to render the tree table in the first time. This won't affect anything in the UI itself. It will render the tree table in the UI without problem. And this exception is only shown up in the Log for one time. However, I'd like to know why is that? How can I prevent such exception in the Log?
I tried to add the try catch in the constructor of the backing bean for this page. But the exception is not from there.
Please help!
07/06/27 11:49:39 java.beans.IntrospectionException: Method not found: isAutoSyncEnabled
07/06/27 11:49:39 at java.beans.PropertyDescriptor.<init>(PropertyDescriptor.java:89)
07/06/27 11:49:39 at oracle.jbo.uicli.binding.JUCtrlHierNodeBindingBeanInfo.getPropertyDescriptors(JUCtrlHierNodeBindingBeanInfo.java:170)
07/06/27 11:49:39 at oracle.jbo.uicli.binding.JUCtrlHierNodeBindingBeanInfo.<init>(JUCtrlHierNodeBindingBeanInfo.java:42)
07/06/27 11:49:39 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
07/06/27 11:49:39 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
07/06/27 11:49:39 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
07/06/27 11:49:39 at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
07/06/27 11:49:39 at java.lang.Class.newInstance0(Class.java:350)
07/06/27 11:49:39 at java.lang.Class.newInstance(Class.java:303)
07/06/27 11:49:39 at java.beans.Introspector.instantiate(Introspector.java:1454)
07/06/27 11:49:39 at java.beans.Introspector.findExplicitBeanInfo(Introspector.java:410)
07/06/27 11:49:39 at java.beans.Introspector.<init>(Introspector.java:359)
07/06/27 11:49:39 at java.beans.Introspector.getBeanInfo(Introspector.java:159)
07/06/27 11:49:39 at oracle.jbo.common.JboBeanUtils.getPropertyDescriptor(JboBeanUtils.java:20)
07/06/27 11:49:39 at oracle.jbo.common.JboBeanUtils.getProperty(JboBeanUtils.java:61)
07/06/27 11:49:39 at oracle.jbo.common.JboAbstractMap.internalGet(JboAbstractMap.java:65)
07/06/27 11:49:39 at oracle.adf.model.binding.DCControlBinding.internalGet(DCControlBinding.java:733)
07/06/27 11:49:39 at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:1789)
07/06/27 11:49:39 at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.internalGet(JUCtrlHierNodeBinding.java:896)
07/06/27 11:49:39 at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:649)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.model.HierNodeBindingPropertyResolver.getValue(HierNodeBindingPropertyResolver.java:49)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:90)
07/06/27 11:49:39 at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)
07/06/27 11:49:39 at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)
07/06/27 11:49:39 at com.sun.faces.el.impl.BinaryOperatorExpression.evaluate(BinaryOperatorExpression.java:185)
07/06/27 11:49:39 at com.sun.faces.el.impl.ConditionalExpression.evaluate(ConditionalExpression.java:176)
07/06/27 11:49:39 at com.sun.faces.el.impl.ExpressionString.evaluate(ExpressionString.java:134)
07/06/27 11:49:39 at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:268)
07/06/27 11:49:39 at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
07/06/27 11:49:39 at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
07/06/27 11:49:39 at oracle.adf.view.faces.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:55)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.ValueRenderer.getValue(ValueRenderer.java:63)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.ValueRenderer.getConvertedString(ValueRenderer.java:32)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.OutputTextRenderer.encodeEnd(OutputTextRenderer.java:56)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:173)
07/06/27 11:49:39 at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.ColumnRenderer.renderKids(ColumnRenderer.java:143)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TreeNodeColumnRenderer._renderNodeStampBasedOnAccessibilty(TreeNodeColumnRenderer.java:186)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TreeNodeColumnRenderer.renderKids(TreeNodeColumnRenderer.java:110)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.ColumnRenderer._renderKids(ColumnRenderer.java:160)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.ColumnRenderer._renderTD(ColumnRenderer.java:319)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.ColumnRenderer._renderDataMode(ColumnRenderer.java:233)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.ColumnRenderer.encodeAll(ColumnRenderer.java:87)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:281)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer.renderSpecialColumns(TreeTableRenderer.java:295)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:107)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer$1.processRowImpl(TreeTableRenderer.java:431)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TableUtils$RowLoop.processRow(TableUtils.java:100)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer$1.loop(TreeTableRenderer.java:424)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.table.TableUtils$RowLoop.run(TableUtils.java:58)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer._renderTableRows(TreeTableRenderer.java:463)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer.renderTableRows(TreeTableRenderer.java:319)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderTableContent(DesktopTableRenderer.java:366)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:237)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:80)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.TreeTableRenderer.encodeAll(TreeTableRenderer.java:139)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
07/06/27 11:49:39 at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
07/06/27 11:49:39 at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:456)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(ContextPoppingUINode.java:224)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.HeaderRenderer.renderContent(HeaderRenderer.java:489)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(BorderLayoutRenderer.java:42)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(BorderLayoutRenderer.java:71)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.renderWithNode(UINodeRenderer.java:90)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.render(UINodeRenderer.java:36)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.PageLayoutRenderer.render(PageLayoutRenderer.java:76)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
07/06/27 11:49:39 at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
07/06/27 11:49:39 at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
07/06/27 11:49:39 at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
07/06/27 11:49:39 at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
07/06/27 11:49:39 at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
07/06/27 11:49:39 at FlowStepsByActivityjspx._jspService(_FlowStepsByActivity_jspx.java:2154)
07/06/27 11:49:39 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
07/06/27 11:49:39 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
07/06/27 11:49:39 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
07/06/27 11:49:39 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
07/06/27 11:49:39 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
07/06/27 11:49:39 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
07/06/27 11:49:39 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
07/06/27 11:49:39 at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:286)
07/06/27 11:49:39 at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
07/06/27 11:49:39 at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
07/06/27 11:49:39 at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
07/06/27 11:49:39 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
07/06/27 11:49:39 at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
07/06/27 11:49:39 at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
07/06/27 11:49:39 at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
07/06/27 11:49:39 at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
07/06/27 11:49:39 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
07/06/27 11:49:39 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
07/06/27 11:49:39 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
07/06/27 11:49:39 at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
07/06/27 11:49:39 at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
07/06/27 11:49:39 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
07/06/27 11:49:39 at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
07/06/27 11:49:39 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
07/06/27 11:49:39 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
07/06/27 11:49:39 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
07/06/27 11:49:39 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
07/06/27 11:49:39 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
07/06/27 11:49:39 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
07/06/27 11:49:39 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
07/06/27 11:49:39 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
07/06/27 11:49:39 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
07/06/27 11:49:39 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
07/06/27 11:49:39 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
07/06/27 11:49:39 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
Hi, Frank:
Thanks for your reply. This problem is what happened in JDeveloper 10.1.3.2.
I am using the JDeveloper Studio Edition Version 10.1.3.2.0.4066.
Build JDEVADF_10.1.3.2.0_NT_070118.1250.4066
ADF Business Components: 10.1.3.40.66
Oracle ADF Faces: 10.1.3.40.66
Java Platform: 1.5.0_06
Similar Messages
-
How to trigger tree table from java code
Trying to trigger tree table from java code, using :
AdfFacesContext.getCurrentInstance().addPartialTarget(treeTableComponent);
But its not working. Am i using the correct approach?Sorry for the incomplete information,
I have a tree table in a region and that region i am including inside a jspx file. In the region i have one popup and based on the input taken from the popup i want to trigger the table to show the data.
For that i am trying :
FacesContext context = FacesContext.getCurrentInstance();
UIComponent component = findComponent( context.getViewRoot(),"treeTableID");
if(component != null){
AdfFacesContext.getCurrentInstance().addPartialTarget(component);
public static UIComponent findComponent(UIComponent base, String id)
if (id.equals(base.getId()))
return base;
UIComponent children = null;
UIComponent result = null;
Iterator childrens = base.getFacetsAndChildren();
while (childrens.hasNext() && (result == null))
children = (UIComponent) childrens.next();
if (id.equals(children.getId()))
result = children;
break;
result = findComponent(children, id);
if (result != null)
break;
return result;
Model is getting data before i use : AdfFacesContext.getCurrentInstance().addPartialTarget(component);
But table is not calling getData() in model to show the populated data on UI. -
Oc4j log file: many java.lan.NullPointerException in log file
I use oc4j 10.1.3 Developer Preview 4
I found many java.lan.NullPointerException in log file.
I don't know if this is normal or not, but it makes me a little suspicious
PEC BarnesAs an example :
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2005-12-14T11:26:19.330+01:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oracle</COMPONENT_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>yale.domain.com</HOST_ID>
<HOST_NWADDR>129.233.33.12</HOST_NWADDR>
<THREAD_ID>11</THREAD_ID>
<USER_ID>barnes</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>129.233.33.12:6613:1134555978780:1</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Caught exception: java.lang.NullPointerException.</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
at oracle.oc4j.admin.management.mbeans.J2EELogging.setLoggerLevel(J2EELogging.java:282)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1079)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:604)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:822)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:343)
at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:310)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.ejb.interceptor.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:39)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:45)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:62)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:32)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:379)
at com.evermind.server.ThreadState.runAs(ThreadState.java:637)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:36)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:46)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:62)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:28)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
at MBeanServerEjbRemote_StatefulSessionBeanWrapper0.invoke(MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:50)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.ServerRmiMessageHandler.doMethodCall(ServerRmiMessageHandler.java:560)
at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation(ServerRmiMessageHandler.java:471)
at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest(ServerRmiMessageHandler.java:262)
at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest(ServerRmiMessageHandler.java:231)
at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand(RMIServerConnection.java:155)
at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:151)
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:534)
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE> -
How to pass a internal table into Java Bean
Hi Experts,
I created a JSPDyn page to display Sales orders form R/3 using bapi_sales_order_getlist.
I used JCO to establish connectivity between JSP Dynpage and R/3. I executed the bapi successfully, i want to move the sales orders retrieved from the Bapi to a Java Bean. So that i can use the bean to populate the value as a table.
with regards,
James.
Valuable answers will be rewarded.....Hi Bala,
If you want to pass this internal table between different methods of the same view then write the contents of this internal table to a context node of your view using BIND_TABLE. You can then read the contents of this internal table from the other method using the reference of that node & the GET_STATIC_ATTRIBUTES_TABLE method.
However if you want to pass the internal table between methods of different views then create a context node at the COMPONENTCONTROLLER level & then do a context mapping of this node to your local views context in both your views. You can follow the same BIND_TABLE & GET_STATIC_ATTRIBUTES_TABLE methods approach.
Regards,
Uday -
How to Create adf table from java bean
Hi,
How to Create adf table from java class (Not from ADF BC).
Thanks
Satya@vlsn -- you have to follow what shay said.
Do the following in Model layer ::
create a table property java class with your columns setters and getters like :
*public class gridProps {*
private int sno;
private String orderNum;
*public void setSno(int sno) {*
this.sno = sno;
*public int getSno() {*
return sno;
*public void setOrderNum(String orderNum) {*
this.orderNum = orderNum;
*public String getOrderNum() {*
return orderNum;
Create another table java class which will populate the values to your column values and return the collection :
*public class gridPopulate {*
private List<gridProps> gridValues ;
*public List<gridProps> setToGrid(ArrayList<ArrayList> valuesToSet) {*
*if (valuesToSet == null) {*
return gridValues;
gridValues = new ArrayList<gridProps>();
if(btnValue.equals("completeBtn"))
return gridValues;
for(ArrayList<String> tempArr:valuesToSet)
gridProps gp = new gridProps();
gp.setSno(Integer.valueOf(tempArr.get(0)));
gp.setOrderNum(tempArr.get(1));
return gridValues;
Right click gridPopulate class and create this as data control.This class will be seen in Data control list.Under this data control,Drag the grid property collection(created earlier) to your page.Then execute your binding(gridPopulate) according to your logic.
Thanks.(My jdev version 11.1.1.5.0) -
Calling a java bean in a jsp file
hi all
i am working on a jsp project. my tomcat is installed on one machine and my java Bean on another. how do i call the javabean on my machine from the jsp file on tomcat. i'm using packages.
eg:
in the jsp file in tomcat, i'm using
<jsp:useBean id="student" scope="request" class="lab3.Student"/>
i get class not found error.
my main path for this Student Bean is say c://myLab/lab3 which has a lab3 folder with class files.
Thankseg:
in the jsp file in tomcat, i'm using
<jsp:useBean id="student" scope="request"
class="lab3.Student"/>
If you have a Context defined for c://mylab
then below that directory you should have a WEB-INF directory and then a classes directory and then within that your package structure...
so if the package is lab3 yo should have your Student class in:
c://mylab/WEB_INF/classes/lab3/Student.class
(asuming you have set up a Context that points at c://mylab...and your jsp file is there...) -
Using Java to display a log file in a browser
Can anyone advise & provide sample code in order to forfill the above aim?
The log files would be on a Solaris server, so I guess the strategy would be to run an "rsh 10.1.1.10 -l username cat /errors/log1.log" and put the output to a browser? or not?
Any suggestions / alternatives will be most helpful. 3 Dukes up for it!
Thanks.Try placing the following in a controler servlet:
try {
PrintWriter out = response.getWriter();
File file = new File("fileName");
BufferedReader reader = new BufferedReader(new FileReader(file));
String line = reader.readLine();
while(line != null) {
out.println(line);
line = reader.readLine();
} catch (FileNotFoundException fnfe) {
} catch (IOException ioe) {
} -
some tutorials show how to create Entities from database tables, so I want to know how to create database tables from java bean(just like hibernate).thanks.
I have the same problem, I am using mysql as the database. I think the reason this happens is because on the second screen of 'Create java Objects from Tables' the schema defaults to '(Default user)' and that is the only selection available. On the 4 screen you will notice that the table name has a '.' in front of it and I think that is because the wizard probably did not find a schema name.
Looks like a Jdeveloper bug to me. Can someone from JDeveloper team confirm it?
I am using Jdeveloper EA1.
Thanks
Balaji -
How to add child node in Tree table programmetically
Jdev Version 11.1.1.4.0.
I have created tree table programmetically in bean.
I have to add child node to tree table component on button click event on page.
Please let me know how to do this in bean.
Regards,
KiranHow are you creating the tree pro-grammatically?
If you are adding a new node to underlying data structure and refresh the tree - the tree will get updated with the new data.
Thanks,
Navaneeth -
How to get an XML string from a Java Bean without wrting to a file first ?
I know we can save a Java Bean to an XML file with XMLEncoder and then read it back with XMLDecoder.
But how can I get an XML string of a Java Bean without writing to a file first ?
For instance :
My_Class A_Class = new My_Class("a",1,2,"Z", ...);
String XML_String_Of_The_Class = an XML representation of A_Class ?
Of course I can save it to a file with XMLEncoder, and read it in using XMLDecoder, then delete the file, I wonder if it is possible to skip all that and get the XML string directly ?
FrankI think so too, but I am trying to send the object to a servlet as shown below, since I don't know how to send an object to a servlet, I can only turn it into a string and reconstruct it back to an object on the server side after receiving it :
import java.io.*;
import java.net.*;
import java.util.*;
class Servlet_Message // Send a message to an HTTP servlet. The protocol is a GET or POST request with a URLEncoded string holding the arguments sent as name=value pairs.
public static int GET=0;
public static int POST=1;
private URL servlet;
// the URL of the servlet to send messages to
public Servlet_Message(URL servlet) { this.servlet=servlet; }
public String sendMessage(Properties args) throws IOException { return sendMessage(args,POST); }
// Send the request. Return the input stream with the response if the request succeeds.
// @param args the arguments to send to the servlet
// @param method GET or POST
// @exception IOException if error sending request
// @return the response from the servlet to this message
public String sendMessage(Properties args,int method) throws IOException
String Input_Line;
StringBuffer Result_Buf=new StringBuffer();
// Set this up any way you want -- POST can be used for all calls, but request headers
// cannot be set in JDK 1.0.2 so the query string still must be used to pass arguments.
if (method==GET)
URL url=new URL(servlet.toExternalForm()+"?"+toEncodedString(args));
BufferedReader in=new BufferedReader(new InputStreamReader(url.openStream()));
while ((Input_Line=in.readLine()) != null) Result_Buf.append(Input_Line+"\n");
else
URLConnection conn=servlet.openConnection();
conn.setDoInput(true);
conn.setDoOutput(true);
conn.setUseCaches(false);
// Work around a Netscape bug
conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
// POST the request data (html form encoded)
DataOutputStream out=new DataOutputStream(conn.getOutputStream());
if (args!=null && args.size()>0)
out.writeBytes(toEncodedString(args));
// System.out.println("ServletMessage args: "+args);
// System.out.println("ServletMessage toEncString args: "+toEncodedString(args));
BufferedReader in=new BufferedReader(new InputStreamReader(conn.getInputStream()));
while ((Input_Line=in.readLine()) != null) Result_Buf.append(Input_Line+"\n");
out.flush();
out.close(); // ESSENTIAL for this to work!
return Result_Buf.toString(); // Read the POST response data
// Encode the arguments in the property set as a URL-encoded string. Multiple name=value pairs are separated by ampersands.
// @return the URLEncoded string with name=value pairs
public String toEncodedString(Properties args)
StringBuffer sb=new StringBuffer();
if (args!=null)
String sep="";
Enumeration names=args.propertyNames();
while (names.hasMoreElements())
String name=(String)names.nextElement();
try { sb.append(sep+URLEncoder.encode(name,"UTF-8")+"="+URLEncoder.encode(args.getProperty(name),"UTF-8")); }
// try { sb.append(sep+URLEncoder.encode(name,"UTF-16")+"="+URLEncoder.encode(args.getProperty(name),"UTF-16")); }
catch (UnsupportedEncodingException e) { System.out.println(e); }
sep="&";
return sb.toString();
}As shown above the servlet need to encode a string.
Now my question becomes :
<1> Is it possible to send an object to a servlet, if so how ? And at the receiving end how to get it back to an object ?
<2> If it can't be done, how can I be sure to encode the string in the right format to send it over to the servlet ?
Frank -
Unable to get java bean working
I have been trying to get my iWS6 to run java bean but has not been able to do so. I tried a few beans and I get the same message on the log:
3 errors, 1 warning
, stack: org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:60: Class jsp.UserProfile not found.
jsp.UserProfile profile = null;
^
..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:63: Class jsp.UserProfile not found.
profile= (jsp.UserProfile)
^
..\ClassCache\https-sgp-web.sci.sing.seagate.com\departments\eis\_jsps\_testuser_jsp.java:68: Class jsp.UserProfile not found.
profile = (jsp.UserProfile) Beans.instantiate(this.getClass().getClassLoader(), "jsp.UserProfile");
^
3 errors, 1 warning
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:193)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$4(JspServlet.java:167)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
, root cause:Sir
Still my jsp files can't find java beans.
I set classpath properly .
my document directory = c:/raju
i put my jsp file = c:/raju/jsp/<jsp files>
and servlet files = c:/raju/servlet/<servlet class files>
actually jsp files and servlets were working successfully,
if i add my java beans inside my jsp file the it shows error.
inside my jsp file
<%@ page import ="something.myclass" %>
<jsp:useBean id="db" scope="session" class="something.myclass" />
Note: "something" is package name;
#----- this line i modified inside jvm12.conf file
jvm.classpath=C:/iPlanet/Servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar;c:/raju/WEB-INF/classes/;
Thanks
raju -
hi,
Can any body please give me information about the working of bean.
Like when exactly i should use java bean and a class file. When the bean will be called. And what is advantage of using java Bean over Class file.
A bean will be having only getter and setter methods. Will the setter method will be exectued automatically or we have to call the setter method that we needed. Is the work of bean to just set the variable and get the value of the variable or any thing else,
can any body please help me to answer these questions
thanksFrom your questions and the way they are presented, I'd think that the following would be the best help anyone could give you at this time:
http://java.sun.com/docs/books/tutorial/javabeans/index.html -
Hi,
I am creating a java bean in a jsp file. I want to pass this bean to a java class in the same jsp file.
eg:
A1.jsp
<jsp:useBean id="customer" class="com.Customer" scope="session"/>
<jsp:setProperty name="customer" property="*"/>
<% Teller teller=new Teller();
int custid=teller.addCustomer("customer");
%>
Teller.java
public class Teller
public int addCustomer(*C*ustomer pcus)
CustomerDb Cdb=new CustomerDb();
return Cdb.addCustomer(pcus);
CustomerDb.java
public class CustomerDb{
int customerid;
public int addCustomer(*C*ustomer pcus){
try{
some code....
When I try to compile Teller.java and CustomerDb.java it is giving error in the lines highlighted with bold.
Please help in this.Problem Description
You are getting
FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-105100.
When you run FileUpload utility
Solution Description
Follow the steps given below to fix and run the FileUpload Bean successfully.
Make sure you have set your System Path similar to following, in the same order:
System PATH:
E:\Dev6i\bin;E:\Dev6i\forms60\java;E:\jdk1.2.2\bin;E:\jdk1.2.2\jre\bin;
E:\jdk1.2.2\jre\bin\classic; %SystemRoot%\system32;%SystemRoot%;
%SystemRoot%\System32\Wbem;C:\Program Files\Oracle\JInitiator1.1.8.16\bin;.
CLASSPATH :
E:\dev6i\forms60\java;E:\dev6i\forms60\java\UploadServer.jar;
E:\jdk1.2.2\jre\bin\classic;E:\jdk1.2.2\jre\lib;E:\Dev6i\TOOLS\COMMON60\JAVA\IMPORTER.JAR;.
Now, Open Form Builder ->Layout Editor->Program menu->Import Java Classes
Check here to make sure that the FileUpload.class is displayed there under
Oracle/forms/demos/uploadclient folder.
Note that the java bean uses the implementation class
file oracle.forms.demos.uploadclient.FileUploader
So, you need to put the FileUploader.class in
<ORACLE_HOME>\FORMS60\java\oracle\forms\demos\uploadclient\FileUploader.class
or you need to change the oracle.forms.demos.uploadclient.FileUploader
in implementation Class property matching to
the class name where you have actually put it.
You need to set archive_jini=f60all_jinit.jar,uploadclient.jar.sig in formsweb.cfg
Open the fileupload.fmb, remove the attached Library.
Open the fileupload.pll from File->Open.
Recompile all the procedure and packages again.
Save this fileupload.pll.
Then reattach this library as a attached library to this form, recompile the form.
This should solve the problem.
If the path is set as explained above solves the PDEUI0001 problem of
Java Importer also.
Explanation
Reason:
This error occurs when the upload button is pressed in the File upload utility
because the attached PLL library is not compiled properly.
Please let me know if this helps.
Regards
Grant Ronald
Forms Product Management -
Running java bean from forms9i on win xp
hi all,
I have a form that uses java bean to write txt file on client computer. java bean connects to database and uses it's data to create txt file. everything runs fine on client with win2000, but with windows xp (professional, sp2, ie6.0) there seems to be some problem with connecting to db (returned connection is null). my win xp firewall is turned off, security settings (including java and activeX) are low, forms version is 9.0.4.0.19. java code seems to be ok, i think it has something to do with forms/xp compatibility. has anyone had similar problem?
Thanks for any response,
AlbertThanks for your response. First version of our program was running on webutil, but as it turned out it was lacking performance. New version, with our custom java bean is much faster.
As I wrote it works on Windows 2000. It also works on WinXP as a standalone application. Only when deployed to Oracle Forms with XP client it fails. Error occures during retreiving connection to db when calling DriverManager.getConnection method. No exception is thrown, retreived connection is null.
Thanks for any help
Albert -
Problem with JSP using bean packaged in jar file
Hi,
I am trying to use a java bean in a jsp file. The java bean is packaged
into a jar file. I am getting class not found compilation error. If the
bean remains to be a seperated class file, everything work well.
Does anyone know how I can use bean in a jar file within jsp , i.e. to
allow the bean to be found during compilation ?
Thanks,
Terence.
[email protected]
Jacek,
Thanks for replying.
My JSP's are just files in my document root . However, I found a solution to
my
problem. That is to have the jar file defined in my weblogic.class.path. I may
have missed some files in my original jar file which causes my problem.
Mayby I should package everything into a web application for deployment. That
will be my next step.
Thanks anyway.
Terence.
Jacek Laskowski wrote:
> Terence Lai wrote:
> >
> > Hi,
> >
> > I am trying to use a java bean in a jsp file. The java bean is packaged
> > into a jar file. I am getting class not found compilation error. If the
> > bean remains to be a seperated class file, everything work well.
>
> How do you use the JSP file ? Is it a part of web application ? If so,
> the bean jar package should be located in WEB-INF/lib directory. It's
> also recommended to put the bean class into a package, so it's not in
> 'unnamed' package, and <jsp:useBean> can find it.
>
> >
> > Does anyone know how I can use bean in a jar file within jsp , i.e. to
> > allow the bean to be found during compilation ?
>
> see above.
>
> > Terence.
>
> Jacek Laskowski
> HP Consulting
Maybe you are looking for
-
HELP!!! iPhone randomly reset and now it won't detect SIM card?
Ok so here's what I was doing when this all happened. I had called the Linksys support for a new router I just bought that wasn't working right. After waiting about 8 mins I was connected to a gentlmen in India, we worked on my problem for about 10mi
-
Alignment failure - HP Officejet Pro 8500A Plus
I have an HP Officejet Pro 8500A Plus all-in-one printer. The printheads failed and I bought authentic HP printheads (two), installed them and I still get the alignment failure error. The print quality is excellent on all quality and alignment report
-
My app store has the "featured" an d"whats hot" screens from some time ago, and it doesnt change or update!!! I can find any app by searching fine. Please help!
-
Alt text mouseover in hyperlink text?
I use alt tag text in Dreamweaver CS4 to give a text synopsis of the content on the linked page. If possible, how do you make alt text in the mouse-over of a hyperlink, for PDF output?External hyperlink text does give the address as a mouse-over alt
-
6th Nano-Not able to sync more than 8gb from seleted music catagories
Hello, I have an Ipod Nano 8GB 6th Gen. I would like my nano to function pretty much like my 2gb shuffle. My 2gb shuffle will randomly autofill with playlists i have created that are usually greater than 2gb by randomly picking 2gb worth of music fro