Getting data from a while loop while running.
Hello,
I did a program that call a sub-VI which is doing experiment and have its own timer.
The sub-VI is a while loop and the stop condition of this loop is the elapsed time of my timer.
What I want to do is to be able to get the elapsed time in my main program during the execution of the sub-VI (every second of its execution).
First I assign the elapsed time in the sub-VI as an output of it. But of course the elapsed time is only updated in the main VI only when the while loop has finished. So I tried several solution: property nodes, local variable, global variable.
When I am using global variable, I can see the elapsed time being updated during the while loop when I open the global variable VI. But the result is always the same: in the main VI the elapsed time is only updated at the end of the while loop.
I think that is the global variable is updated every time, I could be able to get its data to my main VI?
Does anyone have an idea?
Thank you,
Meach
I tried using shared variable and reference without succes.
I will keep searching.
I enclose my VI that I simplify the most but with still keeping the shape of my real program. If you can take a look I will really appreciate.
The goal is on the top-level VI to be able to see the updating data time in real time.
Thanks,
Meach
Message Edited by Meach on 07-23-2008 04:13 PM
Message Edited by Meach on 07-23-2008 04:14 PM
Attachments:
Elapsed Time.zip 25 KB
Similar Messages
-
I keep getting the following warning:
A crash occured on (date) at (time) while running "Applications": Memorymgr.c, Line:5346, Chunk under-locked
What is causing this? It usually happens overnight while I'm not using my phone... so the first time I touch it in the morning it shuts off and resets. The problem started occuring after Sprint switched from "On Demand" to "Pocket Express". I had no idea of the switch, so when I clicked on it the phone automatically updated to the new application. Since then, my phone has been a mess. I deleted the application, performed a hard reset and downloaded it on my phone again.. but still there's problems. This morning, I deleted the "Pocket Express" for good. I figured it wasn't worth it if it's causing all these problems.
Help... please. I'm a novice, so please make sure the solution is something I can understand. Also, do I need to go through my Palm Desktop/Hot Sync program on my computer and delet files too?
Thank you in advance.
Phone: Treo 755p
Carrier: Sprint
P.S. I also just installed the Sprint Treo software update: Treo755p-1.07-SPNT
It cleaned things up... but not for long.
Post relates to: Treo 755p (Sprint)After a hard reset and after you delete the program on the device, you will need to rename the backup folder in your username folder on the PC. The backup folder contains all 3rd party programs and settings for your device. When you sync, the backup folder is reloaded onto your device and will bring back the 3rd party programs.
Follow the instructions below for the procedure I described.
Looks like you may need to hard reset and rename your backup folder if you go
to http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=887 and follow the
directions to do a hard reset. Next before you hotsync your data back over
you will need to rename your backup folder to do that go here
XP
C:\program files\palm or palm one\[hotsync username]\ and rename your backup
folder to backup.old
Vista
Start-->documents\Palm OS Desktop\[hotsync username]\ and rename your backup
folder to backup.old
Then hotsync to your current hotsync name and all your contacts, calendar,
tasks, and memos will come back over.
Show file extensions for XP or Vista
XP
If you can not view file extensions on your PC I would like you to open a
folder go to Tools-->Folder Options--> View (tab) and under show hidden
files and folders uncheck hide file extensions for known file types.
Vista
Open control Panel go to Folder Options--> View (tab) and under show hidden
files and folders uncheck hide file extensions for known file types.Find your username folder
Post relates to: Palm i705 -
Getting the ejb error while running the deployed application
hi;
Application Server : OC4J(JDeveloper11g)
We are getting the following exception while running the deployed application.But it is working fine in embedded OC4J. We are using the views tables and while inserting the data to view table
We have used to actual table sequence( that is in other schema) in the view table by giving the grant permission. and we are inserting the data into the view table. But it is working in embedded OC4J. After giving the grant permission to the sequence table and while we were working in the newly deployed application we getting the following error.
Dec 23, 2007 4:12:22 AM com.evermind.server.ejb.logging.EJBMessages logException
SEVERE: [AdmMenuManager:public java.util.List com.prapansol.elearn.usermanagement.model.businessprocess.service.admmenu.AdmMenuManagerBean.getAllActiveResponsibilityMenus(java.lang.Long)] exception occurred during method invocation: javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
java.lang.NullPointerException
at oracle.jdbc.driver.T4CTTIoauthenticate.marshalOauth(T4CTTIoauthenticate.java:450)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:650)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:200)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:388)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:278)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:203)
at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:94)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:251)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:212)
at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1354)
at oracle.oc4j.sql.OracleConnectionFactoryAdapter.createConnection(OracleConnectionFactoryAdapter.java:110)
at oracle.ucp.common.CollectionConnectionPoolImpl.createOnePooledConnection(CollectionConnectionPoolImpl.java:513)
at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnectionWithoutCountingRequests(CollectionConnectionPoolImpl.java:419)
at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnection(CollectionConnectionPoolImpl.java:295)
at oracle.oc4j.sql.OracleCommonConnectionPool.borrowConnection(OracleCommonConnectionPool.java:79)
at oracle.oc4j.sql.OracleCommonConnectionPool.getManagedConnection(OracleCommonConnectionPool.java:61)
at oracle.j2ee.connector.OC4JConnectionPoolAdapter.getManagedConnection(OC4JConnectionPoolAdapter.java:543)
at com.evermind.server.connector.ApplicationConnectionManager.getManagedConnectionContext(ApplicationConnectionManager.java:1568)
at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1553)
at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1499)
at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1444)
at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:217)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:147)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:123)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:84)
at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:154)
at oracle.toplink.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:517)
at oracle.toplink.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:186)
at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:213)
at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:58)
at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:91)
at oracle.toplink.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:64)
at oracle.oc4j.persistence.EntityManagerProxy.createEntityManager(EntityManagerProxy.java:100)
at oracle.oc4j.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:85)
at oracle.oc4j.persistence.AbstractEntityManagerProxy.createQuery(AbstractEntityManagerProxy.java:101)
at oracle.oc4j.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:70)
at com.prapansol.elearn.usermanagement.model.businessprocess.service.admmenu.AdmMenuManagerBean.getAllActiveResponsibilityMenus(AdmMenuManagerBean.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:150)
at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:420)
at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:280)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:104)
at AdmMenuManager_LocalProxy_5k85l3l.getAllActiveResponsibilityMenus(Unknown Source)
at com.prapansol.elearn.usermanagement.backing.main.Usermanagementhome.setMenuBar1(Usermanagementhome.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javax.el.BeanELResolver.setValue(BeanELResolver.java:352)
at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93)
at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:222)
at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211)
at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:466)
at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:651)
at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1098)
at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:63)
at oracle.adfinternal.view.faces.unified.taglib.UnifiedMenuBarTag.doStartTag(UnifiedMenuBarTag.java:67)
at templates.usermanagementtemplate_jspx.__jsp_tag_ctru41_helper_52(_usermanagementtemplate_jspx.java:1218)
at templates.usermanagementtemplate_jspx._jspService(_usermanagementtemplate_jspx.java:602)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:154)
at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:45)
at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:91)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:96)
at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:338)
at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:192)
at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:69)
at test1jspx._jspService(_test1_jspx.java:830)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:285)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:45)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:191)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:196)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:265)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:447)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)
at com.prapansol.elearn.usermanagement.managedbeans.UrlMasking.renderView(UrlMasking.java:180)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:509)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:194)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:137)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:76)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:209)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:166)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:617)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:878)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:146)
at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:137)
at oracle.oc4j.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:93)
at oracle.oc4j.persistence.AbstractEntityManagerProxy.createQuery(AbstractEntityManagerProxy.java:101)
at oracle.oc4j.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:70)
at com.prapansol.elearn.usermanagement.model.businessprocess.service.admmenu.AdmMenuManagerBean.getAllActiveResponsibilityMenus(AdmMenuManagerBean.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:150)
at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:420)
at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:280)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:104)
at AdmMenuManager_LocalProxy_5k85l3l.getAllActiveResponsibilityMenus(Unknown Source)
at com.prapansol.elearn.usermanagement.backing.main.Usermanagementhome.setMenuBar1(Usermanagementhome.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javax.el.BeanELResolver.setValue(BeanELResolver.java:352)
at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93)
at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:222)
at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211)
at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:466)
at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:651)
at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1098)
at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:63)
at oracle.adfinternal.view.faces.unified.taglib.UnifiedMenuBarTag.doStartTag(UnifiedMenuBarTag.java:67)
at templates.usermanagementtemplate_jspx.__jsp_tag_ctru41_helper_52(_usermanagementtemplate_jspx.java:1218)
at templates.usermanagementtemplate_jspx._jspService(_usermanagementtemplate_jspx.java:602)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:154)
at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:45)
at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:91)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:96)
at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:338)
at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:192)
at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:69)
at test1jspx._jspService(_test1_jspx.java:830)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:285)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:45)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:191)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:196)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:265)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:447)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)
at com.prapansol.elearn.usermanagement.managedbeans.UrlMasking.renderView(UrlMasking.java:180)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:509)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:194)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:137)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:76)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:209)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:166)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:617)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:878)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at oracle.jdbc.driver.T4CTTIoauthenticate.marshalOauth(T4CTTIoauthenticate.java:450)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:650)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:200)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:388)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:278)
at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:203)
at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:94)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:251)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:212)
at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1354)
at oracle.oc4j.sql.OracleConnectionFactoryAdapter.createConnection(OracleConnectionFactoryAdapter.java:110)
at oracle.ucp.common.CollectionConnectionPoolImpl.createOnePooledConnection(CollectionConnectionPoolImpl.java:513)
at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnectionWithoutCountingRequests(CollectionConnectionPoolImpl.java:419)
at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnection(CollectionConnectionPoolImpl.java:295)
at oracle.oc4j.sql.OracleCommonConnectionPool.borrowConnection(OracleCommonConnectionPool.java:79)
at oracle.oc4j.sql.OracleCommonConnectionPool.getManagedConnection(OracleCommonConnectionPool.java:61)
at oracle.j2ee.connector.OC4JConnectionPoolAdapter.getManagedConnection(OC4JConnectionPoolAdapter.java:543)
at com.evermind.server.connector.ApplicationConnectionManager.getManagedConnectionContext(ApplicationConnectionManager.java:1568)
at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1553)
at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1499)
at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1444)
at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:217)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:147)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:123)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:84)
at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:154)
at oracle.toplink.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:517)
at oracle.toplink.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:186)
at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:213)
at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:58)
at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:91)
at oracle.toplink.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:64)
at oracle.oc4j.persistence.EntityManagerProxy.createEntityManager(EntityManagerProxy.java:100)
at oracle.oc4j.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:85)
... 115 more
07/12/23 04:12:22 javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
07/12/23 04:12:22 java.lang.NullPointerException
07/12/23 04:12:22 at oracle.jdbc.driver.T4CTTIoauthenticate.marshalOauth(T4CTTIoauthenticate.java:450)
07/12/23 04:12:22 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
07/12/23 04:12:22 at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:650)
07/12/23 04:12:22 at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:200)
07/12/23 04:12:22 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
07/12/23 04:12:22 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
07/12/23 04:12:22 at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:388)
07/12/23 04:12:22 at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:278)
07/12/23 04:12:22 at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:203)
07/12/23 04:12:22 at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
07/12/23 04:12:22 at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:94)
07/12/23 04:12:22 at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:251)
07/12/23 04:12:22 at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:212)
07/12/23 04:12:22 at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1354)
07/12/23 04:12:22 at oracle.oc4j.sql.OracleConnectionFactoryAdapter.createConnection(OracleConnectionFactoryAdapter.java:110)
07/12/23 04:12:22 at oracle.ucp.common.CollectionConnectionPoolImpl.createOnePooledConnection(CollectionConnectionPoolImpl.java:513)
07/12/23 04:12:22 at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnectionWithoutCountingRequests(CollectionConnectionPoolImpl.java:419)
07/12/23 04:12:22 at oracle.ucp.common.CollectionConnectionPoolImpl.borrowConnection(CollectionConnectionPoolImpl.java:295)
07/12/23 04:12:22 at oracle.oc4j.sql.OracleCommonConnectionPool.borrowConnection(OracleCommonConnectionPool.java:79)
07/12/23 04:12:22 at oracle.oc4j.sql.OracleCommonConnectionPool.getManagedConnection(OracleCommonConnectionPool.java:61)
07/12/23 04:12:22 at oracle.j2ee.connector.OC4JConnectionPoolAdapter.getManagedConnection(OC4JConnectionPoolAdapter.java:543)
07/12/23 04:12:22 at com.evermind.server.connector.ApplicationConnectionManager.getManagedConnectionContext(ApplicationConnectionManager.java:1568)
07/12/23 04:12:22 at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1553)
07/12/23 04:12:22 at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1499)
07/12/23 04:12:22 at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1444)
07/12/23 04:12:22 at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
07/12/23 04:12:22 at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
07/12/23 04:12:22 at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:217)
07/12/23 04:12:22 at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:147)
07/12/23 04:12:22 at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:123)
07/12/23 04:12:22 at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:84)
07/12/23 04:12:22 at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:154)
07/12/23 04:12:22 at oracle.toplink.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:517)
07/12/23 04:12:22 at oracle.toplink.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:186)
07/12/23 04:12:22 at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:213)
07/12/23 04:12:22 at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:58)
07/12/23 04:12:22 at oracle.toplink.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:91)
07/12/23 04:12:22 at oracle.toplink.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:64)
07/12/23 04:12:22 at oracle.oc4j.persistence.EntityManagerProxy.createEntityManager(EntityManagerProxy.java:100)
07/12/23 04:12:22 at oracle.oc4j.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:85)
07/12/23 04:12:22 at oracle.oc4j.persistence.AbstractEntityManagerProxy.createQuery(AbstractEntityManagerProxy.java:101)
07/12/23 04:12:22 at oracle.oc4j.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:70)
07/12/23 04:12:22 at com.prapansol.elearn.usermanagement.model.businessprocess.service.admmenu.AdmMenuManagerBean.getAllActiveResponsibilityMenus(AdmMenuManagerBean.java:118)
07/12/23 04:12:22 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
07/12/23 04:12:22 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
07/12/23 04:12:22 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
07/12/23 04:12:22 at java.lang.reflect.Method.invoke(Method.java:585)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
07/12/23 04:12:22 at java.security.AccessController.doPrivileged(Native Method)
07/12/23 04:12:22 at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
07/12/23 04:12:22 at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:150)
07/12/23 04:12:22 at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:420)
07/12/23 04:12:22 at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:280)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
07/12/23 04:12:22 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:104)
07/12/23 04:12:22 at AdmMenuManager_LocalProxy_5k85l3l.getAllActiveResponsibilityMenus(Unknown Source)
07/12/23 04:12:22 at com.prapansol.elearn.usermanagement.backing.main.Usermanagementhome.setMenuBar1(Usermanagementhome.java:146)
07/12/23 04:12:22 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
07/12/23 04:12:22 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
07/12/23 04:12:22 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
07/12/23 04:12:22 at java.lang.reflect.Method.invoke(Method.java:585)
07/12/23 04:12:22 at javax.el.BeanELResolver.setValue(BeanELResolver.java:352)
07/12/23 04:12:22 at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
07/12/23 04:12:22 at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93)
07/12/23 04:12:22 at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
07/12/23 04:12:22 at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
07/12/23 04:12:22 at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:222)
07/12/23 04:12:22 at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211)
07/12/23 04:12:22 at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:466)
07/12/23 04:12:22 at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:651)
07/12/23 04:12:22 at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1098)
07/12/23 04:12:22 at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:63)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.unified.taglib.UnifiedMenuBarTag.doStartTag(UnifiedMenuBarTag.java:67)
07/12/23 04:12:22 at templates.usermanagementtemplate_jspx.__jsp_tag_ctru41_helper_52(_usermanagementtemplate_jspx.java:1218)
07/12/23 04:12:22 at templates.usermanagementtemplate_jspx._jspService(_usermanagementtemplate_jspx.java:602)
07/12/23 04:12:22 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
07/12/23 04:12:22 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:154)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:45)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:91)
07/12/23 04:12:22 at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:96)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:338)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:192)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:69)
07/12/23 04:12:22 at test1jspx._jspService(_test1_jspx.java:830)
07/12/23 04:12:22 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
07/12/23 04:12:22 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:285)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:45)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:191)
07/12/23 04:12:22 at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:196)
07/12/23 04:12:22 at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
07/12/23 04:12:22 at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
07/12/23 04:12:22 at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
07/12/23 04:12:22 at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:265)
07/12/23 04:12:22 at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:447)
07/12/23 04:12:22 at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
07/12/23 04:12:22 at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
07/12/23 04:12:22 at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)
07/12/23 04:12:22 at com.prapansol.elearn.usermanagement.managedbeans.UrlMasking.renderView(UrlMasking.java:180)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:509)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:194)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
07/12/23 04:12:22 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
07/12/23 04:12:22 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
07/12/23 04:12:22 at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:171)
07/12/23 04:12:22 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:137)
07/12/23 04:12:22 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:60)
07/12/23 04:12:22 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:76)
07/12/23 04:12:22 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:285)
07/12/23 04:12:22 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:209)
07/12/23 04:12:22 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:166)
07/12/23 04:12:22 at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
07/12/23 04:12:22 at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:617)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
07/12/23 04:12:22 at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)
07/12/23 04:12:22 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)
07/12/23 04:12:22 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)
07/12/23 04:12:22 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)
07/12/23 04:12:22 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
07/12/23 04:12:22 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
07/12/23 04:12:22 at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
07/12/23 04:12:22 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
07/12/23 04:12:22 at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
07/12/23 04:12:22 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:878)
07/12/23 04:12:22 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
07/12/23 04:12:22 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
07/12/23 04:12:22 at java.lang.Thread.run(Thread.java:595)
07/12/23 04:12:22 javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
07/12/23 04:12:22 at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:146)
07/12/23 04:12:22 at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:137)
07/12/23 04:12:22 at oracle.oc4j.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:93)
07/12/23 04:12:22 at oracle.oc4j.persistence.AbstractEntityManagerProxy.createQuery(AbstractEntityManagerProxy.java:101)
07/12/23 04:12:22 at oracle.oc4j.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:70)
07/12/23 04:12:22 at com.prapansol.elearn.usermanagement.model.businessprocess.service.admmenu.AdmMenuManagerBean.getAllActiveResponsibilityMenus(AdmMenuManagerBean.java:118)
07/12/23 04:12:22 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
07/12/23 04:12:22 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
07/12/23 04:12:22 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
07/12/23 04:12:22 at java.lang.reflect.Method.invoke(Method.java:585)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:27)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:52)
07/12/23 04:12:22 at java.security.AccessController.doPrivileged(Native Method)
07/12/23 04:12:22 at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
07/12/23 04:12:22 at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:150)
07/12/23 04:12:22 at oracle.oc4j.security.SecurityServices.doAsPrivileged(SecurityServices.java:420)
07/12/23 04:12:22 at oracle.oc4j.security.JaasModeImpl$DoAsPrivilegedExecutor.execute(JaasModeImpl.java:280)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:57)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
07/12/23 04:12:22 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:101)
07/12/23 04:12:22 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:58)
07/12/23 04:12:22 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:104)
07/12/23 04:12:22 at AdmMenuManager_LocalProxy_5k85l3l.getAllActiveResponsibilityMenus(Unknown Source)
07/12/23 04:12:22 at com.prapansol.elearn.usermanagement.backing.main.Usermanagementhome.setMenuBar1(Usermanagementhome.java:146)
07/12/23 04:12:22 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
07/12/23 04:12:22 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
07/12/23 04:12:22 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
07/12/23 04:12:22 at java.lang.reflect.Method.invoke(Method.java:585)
07/12/23 04:12:22 at javax.el.BeanELResolver.setValue(BeanELResolver.java:352)
07/12/23 04:12:22 at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
07/12/23 04:12:22 at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:93)
07/12/23 04:12:22 at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
07/12/23 04:12:22 at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
07/12/23 04:12:22 at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:222)
07/12/23 04:12:22 at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:211)
07/12/23 04:12:22 at javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:466)
07/12/23 04:12:22 at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:651)
07/12/23 04:12:22 at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1098)
07/12/23 04:12:22 at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:63)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.unified.taglib.UnifiedMenuBarTag.doStartTag(UnifiedMenuBarTag.java:67)
07/12/23 04:12:22 at templates.usermanagementtemplate_jspx.__jsp_tag_ctru41_helper_52(_usermanagementtemplate_jspx.java:1218)
07/12/23 04:12:22 at templates.usermanagementtemplate_jspx._jspService(_usermanagementtemplate_jspx.java:602)
07/12/23 04:12:22 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
07/12/23 04:12:22 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:154)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:45)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:91)
07/12/23 04:12:22 at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:96)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.__include(ComponentRefTag.java:338)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.taglib.region.ComponentRefTag.doEndTag(ComponentRefTag.java:192)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:69)
07/12/23 04:12:22 at test1jspx._jspService(_test1_jspx.java:830)
07/12/23 04:12:22 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:483)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:683)
07/12/23 04:12:22 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:607)
07/12/23 04:12:22 at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:709)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:285)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:45)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:191)
07/12/23 04:12:22 at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:326)
07/12/23 04:12:22 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:196)
07/12/23 04:12:22 at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)
07/12/23 04:12:22 at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
07/12/23 04:12:22 at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
07/12/23 04:12:22 at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:265)
07/12/23 04:12:22 at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:447)
07/12/23 04:12:22 at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:116)
07/12/23 04:12:22 at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
07/12/23 04:12:22 at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174)
07/12/23 04:12:22 at com.prapansol.elearn.usermanagement.managedbeans.UrlMasking.renderView(UrlMasking.java:180)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:509)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:194)
07/12/23 04:12:22 at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
07/12/23 04:12:22 at javax.faces.wWhat is the Oracle application server version?
JDeveloper 11g supports direct deployment to Oracle Application Server 11g
http://www.oracle.com/technology/products/jdev/collateral/papers/11/newfeatures/index.html -
Am getting the following error while running the servlet example
Hi,
am getting the following error while running the servlet example
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
edu.dao.StudentDao.insertStudent(StudentDao.java:18)
edu.servlet.StudentServlet.doGet(StudentServlet.java:25)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
Thanks
//sreekanthHi,
the following code i have written in StudentDao
package edu.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import org.apache.commons.dbutils.DbUtils;
import edu.model.Student;
import edu.util.DBUtil;
public class StudentDao {
public void insertStudent(Student student) {
String stuQuery = "INSERT INTO STUDENT VALUES(?,?)";
Connection connection = DBUtil.getConnection();
PreparedStatement preparedStatement = null;
try {
preparedStatement = connection.prepareStatement(stuQuery);
preparedStatement.setString(1,student.getStudentNo());
preparedStatement.setString(2, student.getStudentName());
preparedStatement.executeUpdate();
} catch(SQLException e){
System.out.println("..Sql exception......");
}finally {
DbUtils.closeQuietly(connection,preparedStatement,null);
} -
How to get file from server while click on link
Hi,
i created on link and i gave one server path to select file from server but while clickinng on link it no displaying any thing.
following is the Destination url that i gave for the item.
/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/
please tell me how to get file from server while click on link.Ok I got your requirement now.
If you are getting file names from view attribute then you should not be adding destination URI property for the link.
Instead you can use OADataBoundValueViewObject API.
Try below code in your controller processRequest method:
I am assuming that you are using classic table.
Also in below example it considers OAMessageStyleText and you can replace it with link item if you want.
OATableBean tableBean =
(OATableBean)webBean.findChildRecursive("<table item id>");
OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/"+"<vo attr name which stores file name for each row>");
m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
Regards,
Sandeep M. -
Get Managed bean name while running tests.
hi,
while running web application,i can able get managed name.
but how to get managed bean name while running unit tests.
thanks
sivapublic String getManagedBeanName() {
String managedBeanName = null;
HttpServletRequest request =
(HttpServletRequest) FacesContext
.getCurrentInstance()
.getExternalContext()
.getRequest();
// lookup bean in request scope
Enumeration requestAttributeNames = request.getAttributeNames();
while (requestAttributeNames.hasMoreElements()) {
String requestAttribute = (String) requestAttributeNames.nextElement();
Object object = request.getAttribute(requestAttribute);
if (object instanceof MyBean) {
managedBeanName = requestAttribute;
break;
if (managedBeanName == null) {
// lookup bean in session scope
Enumeration sessionAttributeNames = request.getSession().getAttributeNames();
while (sessionAttributeNames.hasMoreElements()) {
String sessionAttribute = (String) sessionAttributeNames.nextElement();
Object object = request.getSession().getAttribute(sessionAttribute);
if (object instanceof MyBean) {
managedBeanName = sessionAttribute;
break;
return managedBeanName;
}Sorry, don't know other ways. -
Ipod nano will stop operating if it gets wet from sweating while exercising. Beware, sweat will kill your nano and apple will not cover it under warranty. So don't let it get wet.
Sweat bands works!
-
i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent, i want to delete my data from iphone while i doesnot have the access but i know my apple id so plz help me its urgent
Welcome to the Apple Community.
You can only wipe your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely. -
Cant get data from text file to print into Jtable
Instead of doing JDBC i am using text file as database. I cant get data from text file to print into JTable when i click find button. Goal is to find a record and print that record only, but for now i am trying to print all the records. Once i get that i will change my code to search desired record and print it. when i click the find button nothing happens. Can you please take a look at my code, dbTest() method. thanks.
void dbTest() {
DataInputStream dis = null;
String dbRecord = null;
String hold;
try {
File f = new File("customer.txt");
FileInputStream fis = new FileInputStream(f);
BufferedInputStream bis = new BufferedInputStream(fis);
dis = new DataInputStream(bis);
Vector dataVector = new Vector();
Vector headVector = new Vector(2);
Vector row = new Vector();
// read the record of the text database
while ( (dbRecord = dis.readLine()) != null) {
StringTokenizer st = new StringTokenizer(dbRecord, ",");
while (st.hasMoreTokens()) {
row.addElement(st.nextToken());
System.out.println("Inside nested loop: " + row);
System.out.println("inside loop: " + row);
dataVector.addElement(row);
System.out.println("outside loop: " + row);
headVector.addElement("Title");
headVector.addElement("Type");
dataTable = new JTable(dataVector, headVector);
dataTableScrollPane.setViewportView(dataTable);
} catch (IOException e) {
// catch io errors from FileInputStream or readLine()
System.out.println("Uh oh, got an IOException error!" + e.getMessage());
} finally {
// if the file opened okay, make sure we close it
if (dis != null) {
try {
dis.close();
} catch (IOException ioe) {
} // end if
} // end finally
} // end dbTestHere's a thread that loads a text file into a JTable:
http://forum.java.sun.com/thread.jsp?forum=57&thread=315172
And my reply in this thread shows how you can use a text file as a simple database:
http://forum.java.sun.com/thread.jsp?forum=31&thread=342380 -
Trying to use FTP to get data from a different server
Hi Friends,
I have to use FTP to get data from a different server and upload it on SAP server. Now my problem is when I m trying to do ftp through command line it brings the file but with no data.
Through ABAP program nothing is happening.
Here's my code--
V_PASSWORD = 'test@123'.
V_PWD_LEN = STRLEN( V_PASSWORD ).
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = V_PASSWORD
SOURCELEN = V_PWD_LEN
KEY = CS_KEY_500098
IMPORTING
DESTINATION = V_PASSWORD.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
USER = 'test'
PASSWORD = V_PASSWORD
HOST = '176.0.1.6'
RFC_DESTINATION = 'SAPFTPA'
IMPORTING
HANDLE = MI_HANDLE
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2.
CHECK SY-SUBRC = 0.
cmd = 'lcd d:\ftp'. .
PERFORM FTP_COMMAND USING CMD.
CMD = 'asc'.
PERFORM FTP_COMMAND USING CMD.
CONCATENATE 'dir' 'ftpt*' INTO CMD SEPARATED BY SPACE.
PERFORM FTP_COMMAND USING CMD.
cmd = 'ls'.
concatenate 'ls' INTO CMD SEPARATED BY SPACE.
PERFORM FTP_COMMAND USING CMD.
cmd = 'mget trial.txt'.
CONCATENATE 'mget' 'trial.txt' INTO CMD SEPARATED BY SPACE.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
HANDLE = MI_HANDLE
COMMAND = CMD
TABLES
DATA = MTAB_DATA1
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC = 0.
LOOP AT MTAB_DATA1.
WRITE: / MTAB_DATA1.
ENDLOOP.
ELSE.
CONCATENATE 'Error in FTP Command while executing' CMD INTO ERROR SEPARATED BY SPACE.
WRITE: / ERROR.
ENDIF.Hi
try this.....in one of my reqt, i done this successfully....
FORM FTPCON.
FTP-------------------------------------------------------*
CLEAR DSTLEN.
SET EXTENDED CHECK OFF.
DSTLEN = STRLEN( S_PWD ). -
> (S_PWD (password) is a selection screen field )
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = S_PWD
SOURCELEN = DSTLEN
KEY = KEY
IMPORTING
DESTINATION = S_PWD.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
USER = P_USER -
> Username
PASSWORD = S_PWD -
> password
HOST = P_HOST -
> Host
RFC_DESTINATION = P_DEST -
> Destination
IMPORTING
HANDLE = HDL
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
HANDLE = HDL
COMMAND = 'set passive on'
TABLES
DATA = RESULT
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3.
CALL FUNCTION 'FTP_R3_TO_SERVER'
EXPORTING
HANDLE = HDL
FNAME = G_FCNAME
CHARACTER_MODE = 'X'
TABLES
TEXT = T_FILE1
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FTP_R3_TO_SERVER'
EXPORTING
HANDLE = HDL
FNAME = G_FCNAME1
CHARACTER_MODE = 'X'
TABLES
TEXT = T_FILE2
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FTP_DISCONNECT'
EXPORTING
HANDLE = HDL.
CALL FUNCTION 'RFC_CONNECTION_CLOSE'
EXPORTING
DESTINATION = P_DEST
EXCEPTIONS
DESTINATION_NOT_OPEN = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " FTPCON
Hope it helps..... -
Get data from two databases?
Hello all,
Do anyone know if it's posible to get data from two databases while I'm running SBO in one of them? I need this because our client wants to be able to print reports with all the information stored in both companies. I searched this forum trying to find if this is possible but I did't find any information about this.
Can someone help me?
Thanks and regards,
Mariana MazzeroHi Mariana,
What you can do is use two company objects to retrieve the data. As far as I know you're not restricted to one company connection.
You can also just use a standard read only connection (like ADO/ODBC) to retrieve the data for the reports.
Hope it helps,
Adele -
How to get data from hard drive in dead iMac?
I have an old slot-loading iMac (350Mhz G3 blueberry) that just died, probably a dead power supply or something. Won't turn on at all. I don't care about restoring it, I just want to take the hard drive out and grab data from it. I've found instructions for removing the HD ... but any tips on the best/cheapest way to hook it up to get data from it? It's EIDE I believe from what I've read so far. Thanks for any help.
Hey Richard.....Thanks for the reply to my question about my wife's dead iMac.....
Her iMac had been acting up lately, mostly to do with her Outlook Express freezing up in OS9. I dunno if OS9 was freezing or if the application was failing. Regardless, I would have to quit OS9, restart Outlook which at the same time restarted OS9. All would be fine for a while, a day or two and then the scene would repeat itself. But I think that issue is separate from the iMac being "dead". Often we have power outages in the area, more than we should. I had the iMac plugged into a battery backup, some APS product I think it is. I believe it is only good for less than an hour as we have other devices drawing on it too. Most of our power outages are of short duration, just enough to be aggravating, sometimes having to reset clocks, etc...And a couple times, I would have to reset the time and date on the iMac so this told me that the PRAM battery was below minimum voltage. But the iMac would ALWAYS restart, even with the low battery. But the most recent outage, about one hour duration, did in the iMac, somehow or other. I do believe the battery backup basically fully discharged. So I removed the battery, could not find a new battery locally so I drove to the big city and paid the local Apple service dealer a visit. I got ripped big time price wise, embarrassed to say. So I get home, put the battery in the holder, depressed the CMU reset, the powerbutton illuminated as did a green LED by the memory modules for less than three seconds and then quit. I also heard the HD trying to spin up and a high voltage THUMP which I assume is the CRT trying to ignite. If I unplugged the iMac, removed the battery, plug in the power again and hit the power button, the iMac would repeat the same short on period and then quit. So it did not seem to make any difference if there was a battery in place. I read somewhere to pull the battery, pull the AC cord, hold down the power button to dump any current (?) and let the unit sit for 24hrs. After that length of time, I was supposed to replace the battery, depress the CMU reset, wait ten seconds and then feed it AC. Well, when I pressed the power button, I heard life for maybe five seconds, maybe a second longer, then a beep and then it shut down. I pulled the AC cord, pulled the battery, re-inserted the battery, depressed the CMU reset, waited a few seconds, plugged in the AC cord, depressed the power button and I am back at the under three seconds of "power-up" and then nothing, dead, no beep, nothing. I think maybe it is a waste of time trying to mess with this unit, looking for a newer iMac on eBay, the snowball series with the 17" LCD, might be time better spent. Hate throwing stuff away, that's why I am up to my ears in junk, maybe u know that scenario. The wife likes my 19" ACER LCD screen, hooked up to this old dual 800mhz, though she dislikes the noise and the tower. But we both agree the large LCD screen is much easier on our aging eyes than the old iMac CRT. Anyway, I appreciate your help, always GREAT to correspond with an Apple fan.....John Bauer -
How to get data from subsites list of SharePoint 2010 in ssrs
Hi,
Can someone help me on this issue.
I want to create a report using ssrs, I have some of the data in SQL and some of the data in sharepoint list.
First I need to go to SQL and get the data from the table which contains URL for the subsite in sharepoint.
after that I need to go to all the subsites and go to perticulat list in the subsites and get data from that list.
for example, their is a top level site "abc"
it contains sub site "123", "456","567", etc.. All this sub sites contain a list by name "Sample List", Now I need to go to that sub site list(Sample List) and get list-item column say "created By" which
is created on particular date.
in my report, I need to print the sub site "url/Title" which comes from SQL database and list-item column "Created By" of that sub site list "Sample List".
I tried using subreport inside a report by using "Microsoft SharePoint List" as a datasource, but when it comes to real time we don't know how many subsites will be created, so we can't create a datasource for each subsite site.
I guess we need to be using XML as a datasource, but how can we go to particular subsite in query while using XML, since all subsites have list with the same name ?
I appreciate your help.
Thank you,
KishoreHi Kishore,
SQL Server Reporting Services(SSRS) supports expression-based connection strings. This will help us to achieve the goal you mentioned in this case:
Create a new report
Create a Data Source in the report with the connection string like this:
http://server/_vti_bin/lists.asmx (We use static connection string instead of expression-based connection string now, as it is not supported to get fields based on expression-based connection string in design time. We will change it to be expression-based
connection string later)
Create the data set(as you have done using XML query language). Please use list name instead of GUID in the listName parameter.
Design the report(e.g. Add controls to the report)
Now, let's change the connection string to be expression-based. First, please add a parameter to the report, move this parameter to top. This parameter is used to store the sub site name.
Open the Data Source editor, set the connection string to be: ="http://server/" & Parameters!parameterCreatedInStep5.value & "_vti_bin/lists.asmx"
In the main report, pass the sub site name to the report we created above via the parameter created in step5
That is all.
Anyway, this is actually a SQL Server Reporting Service(SSRS) question. You can get better support on this question from:
http://social.technet.microsoft.com/Forums/en/sqlreportingservices/threads
For more information about Expression-Based connection string, please see:
http://msdn.microsoft.com/en-us/library/ms156450.aspx#Expressions
If there is anything unclear, please feel free to ask.
Thanks,
Jinchun Chen
Jin Chen - MSFT -
Getting data from several database
I have more that one DB in different locations, but all of them have a same structure. now i want to get data from all of the DBs in a unique time and simultaneously. how i can do it?
If all the databases are Oracle then open your DBA Administration manual to Part VII Distributed Database Management.
These chapters will tell you how to create database links and how to design and manage remote and distributed transactions.
Also see the CREATE DATABASE LINK command in the SQL manual.
Once you have reviewed this material you can post back with specific questions or error messages you encounter while configuring the feature.
Basically you just need a tnsnames.ora entry on the database server for the remote database and then define a database link that references the tnsnames.ora entry. The documentation will show you the steps.
HTH -- Mark D Powell -- -
hi all
i am trying to get data from socket www.yahoo.com site and try to write in file with following code
NOTE:here netClient is the soccket object accepted by server
File f=new File(finalpath);
BufferedReader fromClient = new BufferedReader(new InputStreamReader(netClient.getInputStream()));
OutputStream fo=new FileOutputStream(f);
String str;
try{
while((str=fromClient.readLine())!=null){
byte buf[]=str.getBytes();
fo.write(buf);
}catch(Exception e){}
finally{fo.close();}
But i am not getiing data from socket
please help
regards krunalGeneralYerevan is absolutely right. Use URLConnection and you will get what you want. It seems to me that you do not know deeply how http works. The fact that you opened a connection to www.google.com doesn't mean that you will get data. The web server, after it accepts the socket object, waits for your request. In you case it is something like "GET / HTTP1.1", which you have to write to the stream. URLConnection does all this for you and all you have is to read the InputStream.
Maybe you are looking for
-
A lot of beach balls - Mac Pro 5,1 Mid 2010
Problem description: Hi, I have a MacPro 5,1 Mid 2010. 6 core 3.33ghz 24GB OWC RAM 1333mhz OWC Mercury PRO 256GB SSD installed in 2nd optical slot w/ Yosemite OWC Mercury Electra 480Gb for Bootcamp in slot 1 3 ST31000340NS 1TB, 2 in Raid 0; all HFS j
-
My iPod touch tells me to connect it to iTunes, but iTunes tells me to write the 4 digit code on the iPod. Problem is that the iPod only shows an image of the iTunes logo, and I can't write the code anywhere.
-
I have developed a fillable pdf in Adobe Acrobat Professional X but when I try to use the Airprint feature the form print minus the field data, have anyone been able to resolve this issue?
-
JDBC connection to MS Access---Urgent
Hi My problem is not yet solved. I want to update the MS Access Table through XI I have given the JDBC Driver as <b>sun.jdbc.odbc.JdbcOdbcDriver</b> and connection as <b>jdbc:odbc:XIDSN</b> But this give sme an error <b>Receiver Adapter v1109 for Par
-
Restart of services of servers in clustered environment
Hi We had setup clustered environment constituting 2(two) BI Servers and one Presentation Server.We found out that, at a particular time with a difference of 15 mins say b/n 5:30 - 5:45 the services of one of the BI Server is getting restarted. Pleas