Pointer null on ViewRowSetImpl

Hi gurus,

Strangely, I'm getting this exception randomly. I use Jdev 11.1.1.4g with full stack of ADF
Caused by: java.lang.NullPointerException
at oracle.jbo.server.ViewRowSetImpl.getParameters(ViewRowSetImpl.java:6246)
at oracle.jbo.server.ViewRowSetImpl.getRowFilter(ViewRowSetImpl.java:625)
at oracle.jbo.server.ViewRowSetImpl.getRowFilter(ViewRowSetImpl.java:618)
at oracle.jbo.server.ViewRowSetImpl.ensureStorage(ViewRowSetImpl.java:6853)
at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2467)
at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2455)
at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:10631)
Any idea on this?

Hi Michelle,

It was really specific to the application, I've learned to analyze. The problem was private because some information was recorded in oracle.jbo.Session data user hashtable but no code has been added to the application module to record information during the activation/passivation.
See 'oracle.jbo.Session Hashtable data user not saved through the Activation and Passivation'
URL - http://blogs.oracle.com/Didier/entry/oraclejbosession_user_data_has_1

The problem reproduced at will when running the application with the Application Module pool put in place with the following parameters:

Referenced Pool Size (jbo.recyclethreshold) = 0
Maximum Pool size (jbo.ampool.maxpoolsize) = 1
Initial of the size of Pool (jbo.ampool.initpoolsize) = 1
Minimum available size (jbo.ampool.minavailablesize) = 1
Maximum size available (jbo.ampool.maxavailablesize) = 1

and using the application with 2 different browsers.
We discovered that the first session has been initialized properly, but the second has been re-use the values stored for the first session.

The substitution of passivateState (Document doc, parent of the element) and activateState (element elem) in Modules of Application code to save and restore user solved the problem data.

Kind regards

Didier.

Tags: Java

Similar Questions

  • Exception pointer null when starting on request.

    Hello

    I have a little problem coming to the after installing my application when I press my the app icon it is said of pointer Null exception that it is the first time that next time it works perfectly well. I don't know why this exception came. After installation I'm holding my application loginscreen. Here I am loading Images. and I found a few images to return null. path is correct and afterthrowing thiswhen I press ok in this exception dialog box, and the next time I try to launch the app it works fine it won't say any exception.

    Please someone help me.

    Thank you in advance.

    An untrapped exception, you will have a stack trace.  Click to see the detail.

    And please answer my questions.

  • Exception pointer null

    Hi all

    Could you please help me how to fix Null pointer exception. In this sub XXAdminVO return null, it's going to null pointer exception.

    HVO OAViewObject = (OAViewObject) oaapplicationmodule.findViewObject ("ProjectClassificationsVO");

    OAViewObject avo = (OAViewObject) oaapplicationmodule.findViewObject ("XXAdminVO");

    Announcement of the string = hvo.getCurrentRow ().getAttribute("ObjectId").toString ();

    avo.setWhereClauseParam(0,ad);

    avo.executeQuery ();

    Line xxnhsVORow = avo.first ();

    Kind regards

    Maha

    Hello

    He solved the problem.

    HVO OAViewObject = (OAViewObject) oaapplicationmodule.findViewObject ("ProjectClassificationsVO");

    OAViewObject avo = (OAViewObject) oaapplicationmodule.findViewObject ("XXAdminVO");

    If (avo! = null)

    {

    System.out.println ("...");

    } else

    {

    AVO = (OAViewObject) oaapplicationmodule.createViewObject ("XXAdminVO", "mpmkvvcl.oracle.apps.xxmpcd.XXAssignPlan.server.XXAdminVO");

    }

    If (HVO. GetCurrentRow(). GetAttribute ("ObjectId")! = null)

    {

    Announcement of the string = hvo.getCurrentRow ().getAttribute("ObjectId").toString ();

    avo.setWhereClauseParam(0,ad);

    avo.executeQuery ();

    Line xxnhsVORow = avo.first ();

    If (xxnhsVORow! = null)

    {

    String value = avo.getCurrentRow ().getAttribute("ClassCategory").toString ();

    If (value! = null)

    throw new OAException ("approval of MPMKVVCL did" + value (byte) 0);

    }

    }

    Kind regards

    Maha

  • Exception pointer null when locking areas

    DM, version 4.0.2.840

    I tried to find a way to lock the domain files. So I chose the areas directory in the browser and press team > Lock. This gives a null pointer exception:

    java.lang.NullPointerException

    at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:281)

    at oracle.jdeveloper.vcs.spi.VCSController.invokeCommand(VCSController.java:205)

    at oracle.jdeveloper.vcs.spi.VCSController.handleEventImpl(VCSController.java:160)

    to oracle.jdeveloper.vcs.spi.VCSController$ 1.run(VCSController.java:87)

    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)

    at $200 (EventQueue.java:103) java.awt.EventQueue.access

    in java.awt.EventQueue$ 3.run(EventQueue.java:694)

    in java.awt.EventQueue$ 3.run(EventQueue.java:692)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)

    at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)

    at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    How is it planned to lock a file of domain?

    Best regards

    Joop

    Hello Philippe,

    It works in version 4.0.3.

    18901557 - no support for lock on domains when using svn

    Thank you

    Joop

  • Exception pointer null in partial-page rendering

    My requirement is:
    When I pressed the button update, he's going to next page
    In the view attributes are Lookuptype messagetextinput,
    LookupCode messagetextinput,
    Sense, messagetextinput Description,
    Active flag Checkbox.

    My requirement is therefore to change LookupType, LookupCode fields are read only formats

    IN CO

    super.processRequest (pageContext, webBean);
    String LookupCode = pageContext.getParameter ("LookupCodeColumn");
    String lookupEvent = pageContext.getParameter ("lookupEvent");
    System.out.println ("lookupEvent-" + lookupEvent);
    System.out.println ("LookupCode-" + LookupCode);
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    If (lookupEvent.equalsIgnoreCase ("Update"): lookupEvent.equalsIgnoreCase ("duplicate"))
    {
    [Serializable] params = {LookupCode};
    am.invokeMethod ("initData", params);
    If (lookupEvent.equalsIgnoreCase ("Update"))
    {
    am.invokeMethod ("init"); / / error here optains
    }
    on the other
    {
    [Serializable] paramValue = {LookupCode};
    am.invokeMethod ("initFile", paramValue);
    }
    }
    on the other
    {

    [Serializable] params = {'-1'};
    am.invokeMethod ("insertRecord", params);

    }
    It's in the AM*.



    Public Sub handlePositionChangeEvent()
    {
    OAViewObject vo = (OAViewObject) findViewObject ("EISRSCLookupsPVO1");
    OARow row = (OARow) vo.first ();
    OAViewObject empvo = (OAViewObject) findViewObject ("EISRSCLookupsVO1");
    OARow emprow = (OARow) empvo.getCurrentRow ();
    String LookupCode = (String) emprow.getAttribute ("LookupCode"); Here error optains
    If ((LookupCode==null) |) ("LookupCode".equals (LookupCode)))
    {
    row.setAttribute ("LookupCodeRender", Boolean.FALSE);
    }
    on the other
    {
    row.setAttribute ("LookupCodeRender", Boolean.TRUE);
    }
    }
    public void init()
    {
    OAViewObject appPropsvo = (OAViewObject) findViewObject ("EISRSCLookupsPVO1");
    if(appPropsvo!=null)
    {
    If (appPropsvo.getFetchedRowCount () == 0)
    {
    appPropsvo.setMaxFetchSize (0);
    appPropsvo.executeQuery ();
    appPropsvo.insertRow (appPropsvo.createRow ());
    OARow row = (OARow) appPropsvo.first ();
    row.setAttribute ("RowKey", new Number (1));
    handlePositionChangeEvent();
    }
    }
    }


    Here are the details of the error:

    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
    at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:763)
    at eis.oracle.apps.xxeis.central.admin.Lookups.webui.EISRSCLookupsCreateCO.processRequest(EISRSCLookupsCreateCO.java:45)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    in OA. jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
    in OA. jspService(OA.jsp:45)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    # # 0 in detail
    java.lang.NullPointerException
    at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.handlePositionChangeEvent(EISRSCLookupsAMImpl.java:134)
    at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.init(EISRSCLookupsAMImpl.java:156)
    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:324)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:763)
    at eis.oracle.apps.xxeis.central.admin.Lookups.webui.EISRSCLookupsCreateCO.processRequest(EISRSCLookupsCreateCO.java:45)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    in OA. jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
    in OA. jspService(OA.jsp:45)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
    at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.handlePositionChangeEvent(EISRSCLookupsAMImpl.java:134)
    at eis.oracle.apps.xxeis.central.admin.Lookups.server.EISRSCLookupsAMImpl.init(EISRSCLookupsAMImpl.java:156)
    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:324)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:763)
    at eis.oracle.apps.xxeis.central.admin.Lookups.webui.EISRSCLookupsCreateCO.processRequest(EISRSCLookupsCreateCO.java:45)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    in OA. jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
    at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
    in OA. jspService(OA.jsp:45)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)

    Please someone give a quick fix of its very urgent

    Thanks and greetings
    Aurelia Reddy

    Hello

    >

    OAViewObject empvo = (OAViewObject) findViewObject ("EISRSCLookupsVO1");
    OARow emprow = (OARow) empvo.getCurrentRow ();
    String LookupCode = (String) emprow.getAttribute ("LookupCode"); Here error optains

    emprow is null. OARow emprow = (OARow) empvo.getCurrentRow () is a failure. You run the query pertaining to this VO. How many lines you have. If you have a single row. then try this code.

    OAViewObject empvo = (OAViewObject) findViewObject ("EISRSCLookupsVO1")
    empvo. Reset();
    OARow emprow = (OARow) empvo.next ();
    String LookupCode = (String) emprow.getAttribute ("LookupCode"); Here error optains

    HTH,
    Syed.

  • PersistentObject null pointer

    I'm trying to store data in the persistentObject, following the example in the following document,

    http://docs.BlackBerry.com/en/developers/deliverables/635/BlackBerry_Java_Development_Environment_De...

                    storeInfo = new StoreInfo();
    
                    storeInfo.setElement(StoreInfo.COMPANYID, txtAccess.getText().toString());
                    storeInfo.setElement(StoreInfo.USERNAME, txtUser.getText().toString());
                    storeInfo.setElement(StoreInfo.PASSWORD, txtpass.getText().toString());
                    storeInfo.setElement(StoreInfo.STATUS, "SAVED");
    
                    _data.addElement(storeInfo);
    
                    synchronized(store){
                        store.setContents(storeInfo);
                        store.commit();
                    }
    

    I get the error pointer null to synchronized (store)

    I declare the following store

    private static PersistentObject store;
    

    I read what the error, I think it means that I don't have any initailised store, however I don't know how to initialize it.

    found the solution

    PersistentObject store = PersistentStore.getPersistentObject (PERSISTENT_STORE_DEMO_ID);

  • NULL point Exception in the method findusersfiltered

    Hello

    I use the Findusersfiltered method to get the take. But it is throwing an exception of pointer null, Findusersfiltered (Unknown source). Please let me know a workaround for this problem. Change the method of findallusers or any other method of extraction of the user key will resolve this?

    Thank you.

    Try this:

    tcUserOperationsIntf userOperationsIntf = getUtility ("Thor.API.Operations.tcUserOperationsIntf") (tcUserOperationsIntf);
    UserMap HashMap = new HashMap();
    userMap.put ("Users.User ID", username);
    tcResultSet userSet is userOperationsIntf .findAllUsers (userMap);.

  • VO of AM null pointer exception

    Hello
    The problem I encounter is that I will carry out a vo from inside the am and I need to change the query of the vo "ResourceCalendarInformation". Then I changed the vo (addded another column) and I was getting an exception pointer null column on the next line:

    temp.getAttribute (7) m:System.NET.SocketAddress.ToString)

    and that's because the original version is not updated to have the extra column. So I removed the VO of the AM and removed the VO, I then recreated the original Version with the same name so that I don't have to change my code. I still have the column not found error. So I printed out the query on the console.

    System.out.println (getCurrentShift (). GetQuery());

    and it was printing on the original request, so I checked the original sql statement in the application browser and is not the same as the new query in the newley created vo, it is the same as the original.
    So, I then tried to create a vo with a different name; the new vo is called 'CurrentShift '. Now, I get an exception pointer null on the next line:

    System.out.println (getCurrentShift (). GetQuery());

    The 'CurrentShift' is definitely in the am and the 'getCurrentShift()' method is also in the am.
    I'm running out of ideas of how to solve this problem.
    Any help will be greatly appreciated. I use JDevelpor 10.1.3

    Thank you


    Steve

    right-click am and am open by click or double click. Now, check the source.

  • Stage null problem

    Hello

    Does anyone know how to delay a code running?

    I have a main.swf that loads in several other sovereign wealth funds, once a button is clicked. These other SWFs work fine on their own, but when they load in wearing it I get an error on a null object. It turns out this is the step - loaded SWF files running their code before the scene is recognized, so I need to delay this (...?)

    I traced the code and get the first message from "null point" and not the second, someone knows how can I stop this? :

    package {}
    import flash.events. *;
    import flash.display. *;
    Fl.transitions import. *;
    Fl.transitions.easing import. *;
    import flash.net.URLRequest;
    Import welcomeClip;
    Import homeLoaderClip;

    Home page of the public class extends MovieClip {}

    private var menu: welcomeClip;

    public void homePage() {}
    init();

    If (point == null) {}

    trace ("step is null - home page");

    }
    }
    private function init (): void {}

    menu = new welcomeClip();
    addChild (menu);



    addEventListener (Event.ENTER_FRAME, onEnterFrame);
    addEventListener (Event.ADDED_TO_STAGE, stageActive);

    }
    function stageActive(evt:Event):void {}

    If (point == null) {}

    trace ("step is null - home page");

    }

    stage.addEventListener (Event.RESIZE, resizeHandler);
    }
    function resizeHandler(evt:Event):void {}


    }
    public void onEnterFrame(event:Event):void {}

    menu.x = stage.stageWidth / 2;
    menu.y = stage.stageHeight / 2;

    }

    Thank you, Marc.

    I was looking at this earlier.

    Sorting problem now - tricks on the audience for the scene were not be removed at the same time as the when the loaded content has been removed.

    I adjusted a need to add a REMOVED_FROM_STAGE function which gets rid of the listeners and movieclips when the swf file has been deleted.

  • SQLite

    Hello

    I downloaded the latest sqlite file and trying to use sqlite3, but whenever I try to add a table, I get an error

    ""sqlite3.c"", line 70193, col 30, id 0x00000F50 thread: arithmetic operations of pointer to pointer null. "in the sqlite3_prepare_v2() function."

    This is my current code:

    int main(){   sqlite3_config(SQLITE_CONFIG_SINGLETHREAD);   sqlite3_initialize();     sqlite3_open("test.db", &DB);
    
       Str=CreateTable("Info");//Creates SQL Query and is correct   StepQuery(Str); //View Below      sqlite3_close(DB);}//----------------------------------------------------------------//void StepQuery(char *query){    const char *query_tail=NULL;    int MaxQueryLength=499;    sqlite3_stmt *stmt=NULL;    int i,result,numCols=0;    const char **results=NULL;    const char **columnNames=NULL;    const unsigned char* Columntext;    /* We skip the other variable declarations and the code to open the database */
    
        //execute query    result=sqlite3_prepare_v2(DB, query, MaxQueryLength, &stmt, &query_tail);//This in this function is the where im receiving the error     do {        result=sqlite3_step(stmt);//if null pointer error skipped crashes over here        if (result==SQLITE_ROW){            for (i=0; i
    

    Can some body please help me understand why this is happening?

    Thanks for the comments.

    I have sovled the problem.

    Here's where the problem was and how much I have sovled it:

    #if defined(__GNUC__)
    # if defined(HAVE_STDINT_H)
    # define SQLITE_INT_TO_PTR(X) ((void*)(intptr_t)(X))
    # define SQLITE_PTR_TO_INT(X) ((int)(intptr_t)(X))
    # else
    # define SQLITE_INT_TO_PTR(X) ((void*)(X))
    # define SQLITE_PTR_TO_INT(X) ((int)(X))
    # endif #else # define SQLITE_INT_TO_PTR(X) ((void*)(X))
    # define SQLITE_PTR_TO_INT(X) ((int)(X))
    //# define SQLITE_INT_TO_PTR(X) ((void*)&((char*)0)[X])
    //# define SQLITE_PTR_TO_INT(X) ((int)(((char*)X)-(char*)0))
    #endif
    
  • Picture editor; How to follow the touch

    Hello

    first of all, I chose to develop a BlackBerry 10 app for my Masters project and needed a little help. I hope you guys can help.

    Requirement:

    I shud be able to paint on a picture to select the area. so being able to blur the portion of the image. for example, the background and the blur out.

    can someone help me please how I can achieve this?

    Thank you

    Copy the following code:

            screen_context_t screen_ctx;
        screen_pixmap_t screen_pix;
        screen_buffer_t screen_buf;
        int size[2] = { 768, 1280 };
        int val;
        char *pointer = NULL;
        int stride;
        /* Create the privileged context so that the display properties can be accessed. */
        screen_create_context(&screen_ctx, SCREEN_APPLICATION_CONTEXT);
        /* Create pixmap for the screen shot. */
        screen_create_pixmap(&screen_pix, screen_ctx);
        /* Set usage flag. */
        val = SCREEN_USAGE_READ | SCREEN_USAGE_NATIVE;
        screen_set_pixmap_property_iv(screen_pix, SCREEN_PROPERTY_USAGE, &val);
        /* Set format. */
        val = SCREEN_FORMAT_RGBA8888;
        screen_set_pixmap_property_iv(screen_pix, SCREEN_PROPERTY_FORMAT, &val);
        /* Set the pixmap buffer size. */
        screen_set_pixmap_property_iv(screen_pix, SCREEN_PROPERTY_BUFFER_SIZE, size);
        /* Create the pixmap buffer and get a handle to the buffer. */
        screen_create_pixmap_buffer(screen_pix);
        screen_get_pixmap_property_pv(screen_pix, SCREEN_PROPERTY_RENDER_BUFFERS,
                                                    (void **)&screen_buf);
        /* Get the pointer to the buffer. */
        screen_get_buffer_property_pv(screen_buf, SCREEN_PROPERTY_POINTER, (void**)&pointer);
        /* Get the stride. */
        screen_get_buffer_property_iv(screen_buf, SCREEN_PROPERTY_STRIDE, &stride);
            angleF = 0.0;
            bps_initialize();
            if (sensor_is_supported(SENSOR_TYPE_GRAVITY))
        {
            sensor_request_events(SENSOR_TYPE_GRAVITY);
        }
        int nbytes;
        Window *winId = Application::instance()->mainWindow();
        /* Take the display screen shot. */
        screen_read_window(winId->handle(), screen_buf, 0, NULL ,0);
    

    creates a buffer of your screen. You can get touch places of activities of the mobile finger (the number of pixels), add them to a list or whatever, then obtain a general rgb for the region value as follows:

    screen_get_buffer_property_pv(screen_buf, SCREEN_PROPERTY_POINTER, (void **) &ptr);
    
                    for (int i = 0; i < size[1]; i++, ptr += stride) {
                            for (int j = 0; j < size[0]; j++) {
                                // do your pixel reading here: r = ptr[j*4], g=ptr[j*4+1], b=ptr[j*4+2], alpha = ptr[j*4+3]
                                }
                            }
                    }
    

    Note that the code above is for an entire screen, so you will have to change accordingly. Once you have a general RGB value, divide by the total number of pixels that you went through to get a certain RGB (or choose another method that might be simpler). Restart the loop to repaitn pixels of same with the same color. BAM! you will have a uniform colour where you pressed.

  • How about a readme for the new signing of RVS - 4000 IPS: 1.42 in firmware 1.3.2

    Hello

    How about a readme for the new Signature IPS 1.42 inside the new firmware to version 1.3.2 RVS-4000?

    Or am I just too fast and it comes out in a bit?

    Thank you

    Bruce

    Bruce,

    You are right.  He left this time by mistake.  We will solve it.  In the meantime, here's what it will be:

    RVS4000/WRVS4400N IPS Signature Release Note

    Version: 1.42 rules Total: 1097

    In this signature, we talked about the exploits/vulnerabilities and applications
    as below:

    Supported P2P application called BitTorrent up to version 5.0.8.
    Supported P2P application named uTorrent up to version 1.7.2.

    Version: 1.41 rules Total: 1098

    In this signature, we talked about the exploits/vulnerabilities and applications
    as below:

    -EXPLOIT the MS video control ActiveX Stack Buffer Overflow
    A buffer overflow vulnerability exists in Microsoft DirectShow.
    The defect is due to the way Microsoft Video ActiveX Control parses image files.
    An attacker can convince the user target to open a malicious web page to exploit
    This vulnerability.

    -EXPLOIT the Injection SQL Oracle database Workspace Manager
    Multiple SQL injection vulnerabilities exist in Oracle database server product.
    The vulnerabilities are due to inadequate sanitation of input parameters
    in the Oracle Workspace Manager component. A remote attacker with user valid
    credentials can exploit these vulnerabilities to inject and execute SQL code
    with lift is SYS or privilegesof WMSYS.

    Supported P2P application named uTorrent up to version 1.7.2.

    Content signature for 1.41
    ========================================================================
    Added new signature:
    1053635 video MS stack buffer overflow EXPLOIT control ActiveX-1
    1053636 video MS stack buffer overflow EXPLOIT control ActiveX-2
    1053632 EXPLOIT Oracle database Workspace Manager SQL Injection-1
    1053633 EXPLOIT Oracle database Workspace Manager-2 SQL Injection
    1053634 EXPLOIT Oracle database Workspace Manager SQL Injection-3

    Updated the signature:
    1051783 P2P Gnutella Connect
    1051212-P2P Gnutella Get file
    1051785 P2P Gnutella UDP PING 2
    1051997 P2P Gnutella Bearshare with UDP file transfer
    1052039 P2P Gnutella OK
    Get Foxy P2P file 1052637

    Signature removed:
    1050521 Worm.Klez.E1 - 1
    1050522 Worm.Klez.E1 - 2
    1050523 Worm.Klez.E1 - 3
    1050524 Worm.Klez.E2 - 1
    1050525 Worm.Klez.E2 - 2
    1050526 ¡v Worm.Klez.E2 3
    1050536 Worm.Blaster.B - 1
    1050537 Worm.Blaster.B - 2
    1050538 Worm.Blaster.B - 3
    1050539 Worm.Blaster.C - 1
    1050540 Worm.Blaster.C - 2
    1050541 Worm.Blaster.C - 3

    Number of rules in each category:
    ========================================================================
    Back/DDoS 51
    Buffer overflow: 241
    Access control: 92
    Scan: 41
    Trojan horse: 62
    Misc: 3
    P2P: 40
    Instant Messaging: 121
    VRU/worm: 410
    Web attacks: 37

    Version: 1.40 rules Total: 1091

    In this signature, we talked about the exploits/vulnerabilities and applications
    as below:

    1053406 FEAT MS IE HTML Embed Tag Stack Buffer Overflow (CVE-2008-4261)
    An error of border during the processing of a too long file name extension specified
    inside a "EMBED" tag can be exploited to cause a stack-based buffer overflow.

    1053421 USE MS IE XML Handling Remote Code Execution (CVE-2008-4844)
    The vulnerability is due to a use-after-free error when composed
    HTML elements are related to the same data source. This can be exploited to
    dereference of a pointer released by a specially designed HTML document memory

    Version 1.38

    In this signature, we addressed the following exploits/vulnerabilities and
    applications:

    1. support for P2P, BitTorrent and eMule applications.

    Version 1.33

    In this signature, we addressed the following exploits/vulnerabilities and
    applications:

    1. support application IM named AIM (http://dashboard.aim.com/aim) until
    version 6.5.

    2. support application IM called MSN (http://get.live.com/messenger) until
    version 8.1.

    3 PcShare is a Trojan tool that can remotely administer an attacked computer.

    4-CVE-2007-3039: the vulnerability is due to an error of limit in the
    Microsoft Message Queuing (MSMQ) service during the treatment of MSMQ messages.
    This can be exploited to cause a buffer overflow by sending specially
    packages designed for the MSMQ service.

    Version 1.32

    In this signature, we addressed the following peer-to-peer applications:

    1. named IM application PURPOSE up to version 6.5 support.
    2. press the request of IM named MSN until version 8.1.

    Version 1.31

    In this signature, we addressed the following peer-to-peer applications:

    1 P2P application called BitTorrent up to version 5.0.8 support.

    2. support the P2P application named uTorrent up to version 1.7.2.

    Version 1.30

    In this version, we have addressed the following vulnerabilities in Microsoft
    applications:

    1 SUBMISSION-24462: dereference of a pointer Null vulnerability exists in some versions
    Microsoft Office.  Remote attackers can trick users into visiting a
    specially designed web page.  The symptom includes a denial of
    condition of service for the process in question.

    2 Microsoft Security Bulletin MS07-027: Microsoft Windows support
    Services NMSA Session Description object ActiveX control does not reach
    restrict access to dangerous methods. This vulnerability could allow
    a remote attacker to execute arbitrary code on an affected system.

    Version 1.29

    In this version, we have addressed the following exploits/vulnerabilities and
    peer-to-peer applications:

    1 Microsoft Security Advisory (935423): there is one based on the stack
    in Microsoft Windows buffer overflow. The vulnerability is due
    for insufficient format validation when handling incorrect ANI
    file cursor or icon. A remote attacker can exploit this
    vulnerability of prompting grace target user to visit a malicious
    Web site by using Internet Explorer. A successful operation would be
    allow the execution of arbitrary code with the privileges of the
    currently logged in.

    2. support a named QQ instant messaging application blocking until the
    2007 Beta1 and Beta2 version.

    Version 1.28

    In this signature, we address the following exploits/vulnerabilities:

    Microsoft Security Bulletin MS07-014: there is a buffer overflow
    vulnerability in Microsoft Word. The vulnerability is created due to
    a flaw in the Table entry of the Section within the structure of Table data flow.
    An attacker could exploit this vulnerability by tricking a user to open
    a designed Word file. Exploitation of the vulnerability may result
    injection and execution of arbitrary code in the security context
    the user target.

    Microsoft Security Bulletin MS07-016: there is an alteration of the memory
    vulnerability in Microsoft Internet Explorer. The flaw is due to a bad
    posting lines of response in the responses from the FTP server. By persuading a user
    to visit a malicious website, an attacker could run arbitrary on code
    the target system with the privileges of the currently logged in user.

    Version 1.26

    In this signature, we addressed the following exploits/vulnerabilities:

    CVE-2006-5559: there is a memory corruption vulnerability in
    the ADODB. Connection ActiveX control in Microsoft Internet Explorer.
    The flaw is due to improper validation of the data provided to the
    Execute method. By persuading target the user to visit a malicious
    Web site, an attacker can cause the application process
    to terminate or possibly divert its flow of execution to arbitrary
    code.

    Version 1.25

    In this signature, we addressed the following exploits/vulnerabilities:

    Microsoft MS06-070 security bulletin: MS Windows 2000 Workstation
    Service (WKSSVC. (DLL) has a remote code execution vulnerability. One
    unauthenticated attacker could exploit this vulnerability to run
    arbitrary code with the privileges of the level system on Windows 2000 and
    Windows XP computers.

    Version 1.24

    In this signature, we addressed the following exploits/vulnerabilities:

    1 Microsoft Data Access Components (MDAC) has a remote code execution
    vulnerability in the RDS object. DataSpace ActiveX control.  A remote attacker
    could create a specially designed and host the malicious file on a
    Web site or send it to the victim through e-mail.  When the file is opened,
    the attacker can run arbitrary code on the victim's system.

    2. control WMI Object Broker ActiveX (WmiScriptUtils.dll) in Microsoft
    Visual Studio 2005 has a vulnerability that could allow a remote
    attacker to execute arbitrary code.

    3 Microsoft Internet Explorer has a type of heap buffer overflow vulnerability.
    A remote attacker could create a malicious web page containing COM objects
    Daxctle.OCX HTML when instantiated as an ActiveX control and the thing the
    victim to open the web page. By this attack, the attacker to execute
    arbitrary code on the victim's browser.

    Version 1.23

    In this version, we have addressed the following exploits/vulnerabilities:

    The vulnerability lies in some of the engines in Microsoft XML core
    Windows. It is the result of the failure of the engine to properly manage the
    bad arguments passed to one of the methods associated with the XML
    purpose of the request.

    Version 1.22

    In this version, we discussed the exploits/vulnerabilities as follows:

    Vagaa is a P2P that supports the network BitTorrent and eDonkey software.
    It can be downloaded from the two network. The software is mainly used in people's Republic of CHINA.
    There are some problems with this software because it didn't follow the official eMule Protocol.
    The question can be referenced on the wiki (http://en.wikipedia.org/wiki/Vagaa).
    Classify us Vagaa as eDonkey2000 program and allow admin users to disable in the user Web interface.

    Version: 1.21

    In this version, we have addressed vulnerabilities exploits as below:

    Microsoft Internet Explorer WebViewFolderIcon has a buffer overflow
    Vulnerability. A remote attacker could create a malicious Web page and
    trick the victim to open. By this attack, the attacker could cause buffer
    Overflow and crash the browser of the victim.

    Version: 1.20

    In this version, we discussed the exploits/vulnerabilities and applications
    as below:

    1 foxy is a P2P application that can search and download music and movies.
    Foxy follows most public Gnutella P2P protocol but still has its own
    signature under certain conditions. After the inclusion of the file Get Foxy P2P
    rule, we can perfectly detect and block the Foxy and it will be detected as Gnutella.
    Foxy can be blocked by deactivating Gnutella.

    2 Microsoft Internet Explorer 6.0 and 6.0SP1 have impaired memory
    vulnerability in the ActiveX component.  A remote attacker can create a
    malicious Web page and trick the victim to open the web page. By this attack.
    the attacker could cause the crash of the browser of the victim or to execute arbitrary code.

    3 Microsoft Internet Explorer has heap buffer overflow vulnerabilities
    Vector Markup Language (VML).  A remote attacker can create a malicious Web site
    page and the thing the victim to open the web page. By this attack, the attacker
    could cause the buffer overflow and execute arbitrary code on the victim's browser.

    Version: 1.19

    In this version, we have added a rule to meet cross-domain redirect
    Microsoft Internet Explorer vulnerability (MS06-042). The vulnerability
    is caused by the inappropriate use of URL redirection by the object.documentElement.outer
    HTML property. A remote attacker could create a malicious web page and
    trick the victim to open the web page. With this attack, the attacker could
    run arbitrary code on the victim's browser and get sensitive information.

    Version: 1.18

    In this version, we have added the 6 rules to facilitate the blocking of QQ, the most
    popular instant Messenger in China. There are several versions of QQ on the
    official download site. Currently, we can detect and block QQ until the
    Version 2006 Sp3 beta 2.

    Version: 1.17

    In this version, we discussed the exploits/vulnerabilities below:

    1. the Server Service in Microsoft Windows 2000 SP4, XP SP1 and SP2, server
    2003 and SP1 have a buffer overflow vulnerability. A remote attacker
    could exploit a server response designed to cause the buffer overflow and run
    arbitrary code on the victim's system.

    2 hyperlink Object Library in Microsoft Windows 2000 SP4, XP SP1 and SP2,
    Server 2003 and SP1 have a code execution vulnerability. A remote control
    attacker could send a malicious Office document containing a
    specially designed hyperlink to a victim in an email or host the file on
    a web site. When the operator successfully this vulnerability, a remote control
    attacker to execute arbitrary code with the privileges of the victim.

    3 Microsoft Word XP and Word 2003 have a remote code execution vulnerability.
    A remote attacker could host a DOC file on a Web site. If successfully
    exploiting this vulnerability, remote attacker could execute arbitrary code
    with the privilege of the victim.

    Version: 1.16

    In this version, we discussed the exploits/vulnerabilities below:

    1 Microsoft Excel 2000, XP and 2003 Excel have a remote code execution
    vulnerability, due to an error in Excel when incorrect URL handling
    channels. A remote attacker could send a malicious .xls file of a victim
    in an email or host the file on a web site. When the operator successfully this
    vulnerability, a remote attacker to execute arbitrary code with the victim
    privileges.

    2 hyperlink Object Library in Microsoft Windows 2000 SP4, XP SP1 and SP2,
    Server 2003 and SP1 have a code execution vulnerability. A remote control
    attacker could send a malicious Office document containing a
    specially designed hyperlink to a victim in an email or host the file on
    a web site. When the operator successfully this vulnerability, a remote control
    attacker to execute arbitrary code with the privileges of the victim.

    3 Microsoft Windows XP/NT/2000/2003 have a denial of service vulnerability.
    A remote attacker can send a malicious SMB packet causes the victim computers
    Crash.

  • Update the table in a jsf page

    Hello experts

    I have a problem with refreshing table:

    I have an entity named "folder" of this entity, I select a few 'folder' special conditions:

    to exple table in the page 'A' shows all records where State = 'ongoing'

    and table b in the 'B' Page shows all the folder where State = 'TEMP '.

    the isssue here is when I change the State of a row in the second table, tha means when I select a line and State = 'in progress' with a merge feature, it has not appeare in the first tabe,


    I'm tempted to refresh it with iteratorbinding.excutequery () it works for the temp table record that designates the modified line is diseappeard but not there not appeare in the first table.


    I can't add a partial trigger table coz two are not on the same page, and I can't use the iterator to the first page (EXCEPTION of POINTER NULL)...


    I use jdeveloper 12.1.3.0.0, ejb and jpa and jsf pages for interaction with users and oracle for the database db11g

    Why don't you use a workflow?

    To allow the other iterator, you can drag from the data command and drop it onto the second page in the table. Once the table is visible on the second page, switch to source mode and remove the table tag. This will remove the table but leave the iterator binding available on page 2.

    Now, you can run the iterator again two page and when you navigate to a page it should show changes.

    However, this approach comes with certain costs. Add the iterator is available on page two, it is executed when you enter page two, even if you use it on the page. This could cause a delay when rendered, depending on the size of the data.

    Using the task flow will certainly be the best choice!

    Timo

  • MapViewer 12 c generates the error when a vector layer displaying predefined

    I have a predefined vector layer that I want to display using Mapviewer 12 c. However, when I try to display the vector layer, I get an error of pointer Null in Java. If I run the same code using an environment of 11 g (v11.1.1.7.3) Mapviewer, the map displays correctly without error.

    Everyone knows about similar problems with Mapviewer 12 c?

    My environment consists of the following:

    (1) server OS: Linux (RedHat Enterprise 5.11) x86_64

    (2) oracle Weblogic Server 12 c

    (3) I have manually deployed an EAR MapViewer exploded in WebLogic Server folder

    http://[host]:[port]/mapviewer/omserver?getv=t

    Immediately access this URL resulted in the expected answer text string:

    Ver12.1.3_B140430.1010

    4) I can successfully access the Weblogic administration Console (http://[host]:[port]/console) and confirm the Weblogic is running, and that Mapviewer was correctly deployment up and running as well. I can also access the Console of administration Mapviewer (http://[host]:[port]/mapviewer)

    (5) Mapviewer 12 c has been configured to use the latest Java JDK 7 (i.e. Java 7 update 75).

    The error I get when trying to display the predefined vector layer is:

    [2015-02-17T11:52:40.294-05:00] [AdminServer] [WARNING] [] [oracle.mapviewer.ws] [host: icdevapp004.info-control.com]
                [nwaddr: 192.168.157.210] [tid: 34] [userId: ] [ecid: 6f92f10c-b237-4f4d-b683-3d7ae3f903f3-0000001c,0] [APP: mapviewer] java.lang.NullPointerException[[
         at oracle.lbs.dataserver.MapDataServlet.doPost(MapDataServlet.java:235)
         at oracle.lbs.dataserver.MapDataServlet.doGet(MapDataServlet.java:155)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
         at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
         at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    

    Here is an example of the code that I use to visualize on the map.

    test12c_2.html

    yard1_12c.js

    var baseURL = "http://192.168.157.210:7003/mapviewer";
    var vDataSource = 'logitdv1';
    var map = {};
    var vlayer = {};
    
    function showMap(){
    
        OM.gv.setResourcePath(baseURL+"/jslib/v2");            
        
        map = new OM.Map(
            document.getElementById('map'),
            {
                mapviewerURL: baseURL,
                universe: new OM.universe.ElocationUniverse()
            });
            
    // OpenStreet Maps
        var tileLayer = new OM.layer.OSMTileLayer("OSMLayer1");
    
        map.addLayer(tileLayer);
      
        vlayer = new OM.layer.VectorLayer("UserGeo",
            {
                infoWindow: false,
                def:{
                    type: OM.layer.VectorLayer.TYPE_PREDEFINED,
                    dataSource: vDataSource,
                    theme: 'damco_perimeter',
                    loadOnDemand: false,
                    url: baseURL
                }
            });
    
        map.addLayer(vlayer);
        vlayer.zoomToTheme();
    
        map.init();
    
    }
    

    Post edited by: Wayne Blumstengel -Attachment test12c_2.html added

    I installed the OracleMaps HTML5 put last updated API (V2) - March 2015 (http://download.oracle.com/otn/other/mapviewer/11g_ps6_3/oraclemapsv2_11_1_1_7_3_1.zip) and the issue seems to have been resolved with this update.

    I have deployed the 11.1.1.7.3.1 update on my installation of mapviewer v12.1.3 (according to the instructions in the readme file), and the vector layer prefined now displays correctly from Mapviewer 12 c.

  • REGEXP connect by

    I thought I heard regular expressions until today.

    I have a column that contains a mess of codes and a second column that gives a slight note of the way in which the hierarchy is supposed to be.

    CREATE TABLE REGEXTEST

    (POINT VARCHAR (200), LEV INT);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES (4245-4', 1);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('' 4245-4-1, 2);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('4245-4-10', 2);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('4245-4-11', 2);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('4245-4-12', 2);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('4245-4-13', 2);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('4245-4-14', 2);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('4245-4-15', 2);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('4245 - 4-15-59A 7', 3);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('4245-4-15-59 D 7', 3);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('4245-4-15-59F7', 3);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('4245-4-15-5987', 3);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('1090-81/5285. ', 1);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('1090-81/5285-20', 2);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('1090-81/5285-30', 2);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('1090-81/5285-30-5', 3);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('1090-81/5285-30-5/20 ', 3);

    INSERT INTO REGEXTEST (ITEM, LEV) VALUES ('1090-81/5285-30-6/25 ', 3);

    I need to create a parent/child hierarchy where the parent is determined by the level. To complicate matters, sometimes there is a forward slash / between levels and there is sometimes a hyphen. but the hyphen and dash do not necessarily mean a change of level.

    I'll explain the simplest scenario (with examples of 4245 data).

    4245 4 is level one. Everything is good.

    4245 4-1 is a level 2. If the name of the child is 4245-4-1 and its parent company 4245-1. I wish the result was ParentColumn, ChildColumn. I am building a structure of directories with these data. So to continue with the same example:

    ParentChild
    4245 4
    4245 44245 4-1
    4245 44245 4-10
    4245 44245 4-11
    4245 44245 4-12
    4245 44245 4-15
    4245 4-154245 4-15-59 A 7
    4245 4-154245 4-15-59 D 7
    4245 4-154245-4-15-59F7

    For example more complicated now (with / participant)

    ParentChild
    1090 81
    1090 811090 81/5285
    1090 81/52851090 81/5285-20
    1090 81/52851090 81/5285-30
    1090 81/5285-301090 81/5285-30-5
    1090 81/5285-301090 81/5285-30-5/20
    1090 81/5285-301090 81/5285-30-6/25

    * EDIT - it is not a maximum number of levels. I think that the current max that I see is 6, but that could change I guess.

    Any help would be greatly appreciated!

    Sincerely,

    J.F.

    J.F. says:

    Hey Solomon,.

    You answer is much (MUCH) faster but Frank's response gives correct results. The first child should be 1090-81.

    As Frank said, it doesn't make much sense, but if you want the same results, you could even do as Frank showed to coalesce, great artist, nvl, or nvl2:

    Select nvl (point, point first) parent,.

    nvl2 (before the point, point, null) child

    of regextest

    Start by lev = 1

    connect by substr (item, 1, instr(item,'-',-1) - 1) prior point =

    /

    PARENT CHILD
    -------------------- --------------------
    1090 81/5285
    1090 81/5285 1090 - 81 / 5285 - 20
    1090 81/5285 1090 - 81 / 5285 - 30
    1090 81/5285-30 1090 - 81 / 5285 - 30 - 5
    1090 81/5285-30 1090 - 81 / 5285 - 30 - 5 / 20
    1090 81/5285-30 1090 - 81 / 5285 - 30 - 6 / 25
    4245 4
    4245-4 4245-4-1
    4245-4 4245-4-10
    4245-4 4245-4-11
    4245-4 4245-4-12

    PARENT CHILD
    -------------------- --------------------
    4245-4 4245-4-13
    4245-4 4245-4-14
    4245-4 4245-4-15
    4245-4-15-4245-4-15-5987
    4245 4-15 4245 - 4-15-59 A 7
    4245 4-15 4245-4-15-59 D 7
    4245-4-15-4245-4-15-59F7

    18 selected lines.

    SQL >

    SY.

Maybe you are looking for