Webservice NullPointerException while doing Build

I am getting following exception while doing Build for webservice, object is EJB that is being converted to web service. it s simple EJB stateless sesion bean
BUILD FAILED
java.lang.NullPointerException
at weblogic.webservice.tools.build.internal.WSPackagerImpl.run(WSPackag
rImpl.java:171)
at weblogic.ant.taskdefs.webservices.wspackage.WSPackage.doWSPackage(WS
ackage.java:255)
at weblogic.ant.taskdefs.webservices.wspackage.WSPackage.execute(WSPack
ge.java:195)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)

I was getting this due to a poorly formed ejb-weblogic-jar.xml
Could be same for you.
Running a simple wlappc without the svc you're running WSPackage on
might show you how your is mis-formatted if this is the case.

Similar Messages

  • NullPointerException while doing ejbremove

    I have deployed my application on Oracle9iAS (9.0.2) and am getting the following error while doing ejb remove of any Bean (My application has only stateless session beans)
    java.lang.NullPointerException
    at AssetMgmt.AssetMgmtBEAN.ejbRemove(AssetMgmtBEAN.java:82)
    at
    com.evermind.server.ejb.StatelessSessionEJBHome.removeUnusedCache(StatelessSessionEJBHome.java:60) at com.evermind.server.ejb.EJBTask.run(EJBTask.java:69)
    at com.evermind.util.TaskManager.run(TaskManager.java:133)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:66)
    the same application works without any error with Oracle9iAS (9.0.1).
    Please let me know what might be the cause of this error.

    Please repost your message on the OC4J forum. This is a Web Cache forum. Thank you.

  • While using Build App installer, how does one include drivers for hardware

    I have a LabView vi and I would like to create an application to be installed on a different computer that also requires a PCI-6503 digital IO card for the purpose. While using Build Application to create the installer, is there a way I can include the necessary hardware drivers for the DIO card?
       Thanks.
        -Bahadir

    Hi Bahadir,
    Your request for the option of including specific drivers (in your case NI-DAQmx)
    with the installer of your executable is something that is something we have
    heard from many customers. With any version of LabVIEW up to 7.1.1, you have
    always had to install the drivers separately or in best case by creating your
    own *.bat file that defines the installation procedure of the driver.
    However, LabVIEW 8 is here for
    your rescue! We have listened to our customers and now you have the simple
    option of putting a checkmark for the option of the driver you want to be
    distributed with your installer. Check these options from the Installer
    Provider:
    Please read more about the new possibilities with LabVIEW 8 from this tutorial:
    Distributing
    Applications with the LabVIEW Application Builder
    The best part of it all is that you can try it all
    (including Application Builder) out by downloading the Evaluation version here:
    LabVIEW
    8 Evaluation Software Download
    Notice that the Evaluation version of LabVIEW 8 is similar
    to the Professional Development System, except from a watermark and the fact
    that is only runs for 30 days. Everything else is possible!!!
    Try out LabVIEW 8 and check out all the other places we have
    listened to our customers...
    Have fun!
    - Philip Courtois, Thinkbot Solutions

  • Eclipse:package weblogic.webservice.tools.wsdlp does not exist

    Hi, everyone! I got an error While I was Compiling the Entire MedRec Project application on Eclipse3.1 with ant. However, when I used setEnv.cmd and ant command(), it's all Ok! The error message shows as below:
    banner:
    [echo] #### S T A R T C O M M O N W E B A P P ####
    [mkdir] Created dir: C:\medrec_tutorial\build\tmp
    build:
    [javac] Compiling 23 source files to C:\medrec_tutorial\build\tmp
    [javac] C:\medrec_tutorial\src\common\web\com\bea\medrec\utils\MedRecWebAppUtils.java:319: package weblogic.webservice.tools.wsdlp does not exist
    [javac] if (th instanceof weblogic.webservice.tools.wsdlp.WSDLParseException) {
    [javac] ^
    [javac] 1 error
    BUILD FAILED
    file:C:/medrec_tutorial/src/common/web/build.xml:29: Compile failed; see the compiler error output for details.

    Bruce Stephens <[email protected]> wrote:
    Hello,
    This looks like a bug that has already been reported and resolved. If
    you could provide your test case to our super support group [1], and
    reference CR127344, they should be able to sort out this issue.
    Thanks,Hi ,
    I also got the same error.If u find the solution please email me
    isuru [email protected]
    Thanx
    Bruce
    [1]
    http://support.bea.com
    [email protected]
    Franck wrote:
    Hello,
    when I try to build my webservice with a stateless bean and a complexdata type (byte[]), by using ANT and SERVICEGEN.
    I have the following exception (with WL 8.1, but it works witout problemwith WL 7.0.4).
    *** ERROR:
    -package weblogic.xml.schema.binding does not exist
    [servicegen] extends weblogic.xml.schema.binding.BeanCodecBase
    What has changed between the both version.
    can somebody help me
    Tank you
    Regards

  • Why does Build Application vi work in development environment but not in executable; error 1025

    Hello,
    I have an application ("A") that I am trying to build using another application ("BuildA").
    I can create an application for A manually from its project using the Build Specification, and it works fine (A.exe).
    Also, when I run BuildA.vi in the development environment it calls the "Build.vi" correctly and again builds application A.exe just fine.
    Then, when I make BuildA an application (manually) and run BuildA.exe, I would expect it to also create A.exe just like BuildA.vi did in the development environment.
    However, it fails with the error:
    Code: 1025
    Open VI Reference in NI_App_Builder_API.lvlib:Build (path).vi->BuildA.vi<APPEND>
    VI Path: <b>C:\TEMP\AppBuild\BuildA\vi.lib\AppBuilder\BuildTarget.vi</b>
    I noticed this thread , which looks like a similar problem, but no conclusion was reached.
    Why does BuildA.vi work fine in the LabVIEW environment, but the application BuildA.exe does not work?  All paths are hard-coded, so it shouldn't be a path issue.
    Thanks,
    -john
    Solved!
    Go to Solution.
    Attachments:
    AppBuild.zip ‏175 KB

    Interesting code.  I'm curious how you came to decide 324ms in your while loop, and 58 in the other, and then 5136ms at the end.  In any case I suspect this has to do with this line of text in the help of the Build.vi.
    If you plan to run a build specification on the LabVIEW Run-Time Engine, do not include the Build VI in any of the VIs for the build specification.
    I don't fully know what this means but it might be why it isn't working.
    The Build.vi opens all Context (application instances) and then looks for the one named "NI.LV.MxLvProvider".  This I assume is a application instance NI uses to build applications.  It then uses this and opens some other VIs in this instance for the building.  The error you are getting is "Application Reference is invalid" meaning it couldn't find the NI.LV.MxLvProvider instance it needs to build.  Again I believe this maybe because you are in a run-time environment and that instance doesn't exist there.
    At the end of the day I'm guessing since Application Builder is not free, NI probably doesn't include it in the Run-Time engine, which is free.  So you can't build the way you want.  You could have and EXE running in the run-time open an instance in the development, then run your VI from there if you must make this an EXE.  It maybe easier to just edit the BuildA.vi to have a "Run When Opened" so that you double click the VI and it runs which behaves like an EXE sorta.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • IM Login problem Error while doing the search

    Hi people,
    I'm facing some strange behaviour with login for a couple of users, I have users that don't have problems to login and I have user that can't login, I'm sure that all of them are valid because they're login to Portal Server, and then launch the IMClient using SSO, users that can achieved the login can't found users that can't login using the "add contact" button of the IMClient.
    In the javaws console I'm seeing this exceptions when a user can't login:
    30 Oct 2007 14:02:18,898] [xmpp] [javawsApplicationMain] org.netbeans.lib.collab.CollaborationException: Error while doing the search
    org.netbeans.lib.collab.CollaborationException: Error while doing the search
         at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:330)
         at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:262)
         at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.getUserAttributes(XMPPPersonalStoreService.java:1211)
         at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.getPrivateQuery(XMPPPersonalStoreService.java:1289)
         at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.getProfile(XMPPPersonalStoreService.java:419)
         at com.sun.im.service.xmpp.XMPPPersonalStoreService.getProfile(XMPPPersonalStoreService.java:240)
         at com.iplanet.im.client.manager.CurrentUserManager.getCurrentProfile(CurrentUserManager.java:350)
         at com.iplanet.im.client.manager.Manager.login(Manager.java:1255)
         at com.iplanet.im.client.swing.login.DefaultLoginDialog.login(DefaultLoginDialog.java:550)
         at com.iplanet.im.client.swing.login.DefaultLoginDialog.connect(DefaultLoginDialog.java:540)
         at com.iplanet.im.client.iIM.startLogon(iIM.java:464)
         at com.iplanet.im.client.iIM.init(iIM.java:203)
         at com.iplanet.im.client.iIM.main(iIM.java:950)
         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.sun.javaws.Launcher.executeApplication(Launcher.java:1171)
         at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1118)
         at com.sun.javaws.Launcher.continueLaunch(Launcher.java:961)
         at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:515)
         at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
         at com.sun.javaws.Launcher.run(Launcher.java:165)
         at java.lang.Thread.run(Thread.java:595)
    /home/lalo/.sunmsgr/mx_m53852_latam_int_bbvabancomer_com_mx/messages/scripts/scripts.txt
    [SafeResourceBundle] Missing resource key: iIMFrame_title
    [Fatal Error] :1:2908: The element type "body" must be terminated by the matching end-tag "</body>".
    com.sun.im.service.CollaborationException: org.netbeans.lib.collab.CollaborationException: Error while doing the search
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sun.im.service.util.ReflectUtil.getDelegatorObject(ReflectUtil.java:27)
         at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:179)
         at com.iplanet.im.client.manager.UserCache.getPrincipal(UserCache.java:161)
         at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:977)
         at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:938)
         at com.iplanet.im.client.manager.BuddyListManager.loadBuddyListNow(BuddyListManager.java:430)
         at com.iplanet.im.client.manager.BuddyListManager.init(BuddyListManager.java:200)
         at com.iplanet.im.client.swing.communicator.Communicator.<init>(Communicator.java:316)
         at com.iplanet.im.client.swing.BuddyList.showBuddyList(BuddyList.java:187)
         at com.iplanet.im.client.iIM.showBuddyList(iIM.java:1105)
         at com.iplanet.im.client.swing.Client.openNetlertViews(Client.java:379)
         at com.iplanet.im.client.swing.Client.showViews(Client.java:150)
         at com.iplanet.im.client.iIM.loadNetLert(iIM.java:613)
         at com.iplanet.im.client.swing.login.DefaultLoginDialog$1.run(DefaultLoginDialog.java:610)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: org.netbeans.lib.collab.CollaborationException: Error while doing the search
         at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:330)
         at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:262)
         at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:171)
         ... 19 more
    [Fatal Error] :1:2908: The element type "body" must be terminated by the matching end-tag "</body>".
    com.sun.im.service.CollaborationException: org.netbeans.lib.collab.CollaborationException: Error while doing the search
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sun.im.service.util.ReflectUtil.getDelegatorObject(ReflectUtil.java:27)
         at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:179)
         at com.iplanet.im.client.manager.UserCache.getPrincipal(UserCache.java:161)
         at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:977)
         at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:938)
         at com.iplanet.im.client.manager.BuddyListManager.loadBuddyListNow(BuddyListManager.java:430)
         at com.iplanet.im.client.manager.BuddyListManager.init(BuddyListManager.java:200)
         at com.iplanet.im.client.swing.communicator.Communicator.<init>(Communicator.java:316)
         at com.iplanet.im.client.swing.BuddyList.showBuddyList(BuddyList.java:187)
         at com.iplanet.im.client.iIM.showBuddyList(iIM.java:1105)
         at com.iplanet.im.client.swing.Client.openNetlertViews(Client.java:379)
         at com.iplanet.im.client.swing.Client.showViews(Client.java:150)
         at com.iplanet.im.client.iIM.loadNetLert(iIM.java:613)
         at com.iplanet.im.client.swing.login.DefaultLoginDialog$1.run(DefaultLoginDialog.java:610)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: org.netbeans.lib.collab.CollaborationException: Error while doing the search
         at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:330)
         at org.netbeans.lib.collab.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:262)
         at com.sun.im.service.xmpp.XMPPPersonalStoreService.searchPrincipals(XMPPPersonalStoreService.java:171)
         ... 19 more
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
         at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:977)
         at com.iplanet.im.client.manager.BuddyListManager.addBuddyListGroupMember(BuddyListManager.java:938)
         at com.iplanet.im.client.manager.BuddyListManager.loadBuddyListNow(BuddyListManager.java:430)
         at com.iplanet.im.client.manager.BuddyListManager.init(BuddyListManager.java:200)
         at com.iplanet.im.client.swing.communicator.Communicator.<init>(Communicator.java:316)
         at com.iplanet.im.client.swing.BuddyList.showBuddyList(BuddyList.java:187)
         at com.iplanet.im.client.iIM.showBuddyList(iIM.java:1105)
         at com.iplanet.im.client.swing.Client.openNetlertViews(Client.java:379)
         at com.iplanet.im.client.swing.Client.showViews(Client.java:150)
         at com.iplanet.im.client.iIM.loadNetLert(iIM.java:613)
         at com.iplanet.im.client.swing.login.DefaultLoginDialog$1.run(DefaultLoginDialog.java:610)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)All of the users are under the same ldap branch, and previously I ran the command: /opt/SUNWiim/sbin/imadmin assign_services, for that ldap branch.
    Any suggestion? Thanks in advance....

    Finally we found the cause of the problems, for an strange reason if the user has the character '�' in his 'cn' o 'sn' he can't login, for example:
    bash-3.00# ldapsearch -x -h ldap -p 389 -b "c=mx,o=isp" -D "cn=DirectoryManager" -w password "cn=mx.m524217" cn sn uid
    version: 1
    dn: cn=mx.m524217, ou=people, c=mx, o=isp
    uid: m524217
    sn: VERA TREVI�O
    cn: mx.m524217
    When a user login to IM made a search of users if he search a user that can't login that search doesn't found nothing and the exception I posted before appears in the javaws console.
    But this only happened while we are using the gateway, if we point to the IM multiplexor directly we don't have all of this problems.
    Regards..

  • How to change the g/l a/c being used while doing goods issue using migo

    when I pass a migo entry whilie purchasing material
         , the entry goes through stock
         stock (230000 a/c no)    150        dr
          GR/IR (150000 a/c)      150        cr
    when I issue material after reservation for which again migo is done
        entry is
          repairs to plant and mach (4800569 a/c)   175
                    stock (230000 a/c no)           175
    The stock a/c is debited and credited due to t.code obyc where for inventory posting I have assigned a/c 2300000 for valuation class assigned to material.
    now I want to have a/c no  4800689 in place of 4800569. how can i change that.
    that is when I issue material from stock this should be debited to 4800689 instead of 4800569. please provide t.code to change the gl from 4800689 from 4800569
    full points will be awarded

    continuing my issue is it possible to that we donot have to change the gbb and vbr and still we can have the desired results.
    that is we are able to use different gl for debit while doing goods issue from a single stocked material
    or we want to have this result
    1.          repairs to p&m    1000    dr
                         stock of cement  a/c           1000    cr
    2.          repairs  to building    2000   dr
                          stock of cement  a/c            2000   cr.
    3.             construction     3500     dr
                                 stock  of cement     3500     cr
    we donot want to change the GBB and VBR every time    or change the GL a/c while doing reservation.
    is there any third option where we get the desired result without changing or entering the g/l manually
    if there is please let me know the t.codes

  • Odata JDBC Service: getting NullPointerException: while trying to invoke the method

    Hi,
    I am testing OData, for that I followed the steps given in this tutorial:
    http://scn.sap.com/community/developer-center/mobility-platform/blog/2014/06/10/creating-an-odata-service-based-on-sap-gateway-soap-jdbc-and-jpa-data-sources-ba
    It wasn't working as it should, so to understand it better, I created a new project with Stock table only.
    Manually entered all it's properties and then deploy it.
    Issue1: when I create a JDBC connection to connect with derby database, The driver field has maximum limit and whole driver string is not copied. Attached is the screen shot.
    Where as I need to enter: org.apache.derby.jdbc.ClientDriver.
    Issue 2: I can't test the connection from here, weather it's working fine or not ?
    Issue 3:
    When I deploy the project and test the result, I get the Stock Service, But when I try to run this, I get nullpointer exception.
    URL: http://localhost:8080/gateway/odata/sap/WSTest1;v=1
    Response:
    <?xml version="1.0" encoding="utf-8"?>
    <service xml:base="http://localhost:8080/gateway/odata/sap/WSTest1;v=1/" xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom">
      <workspace>
       <atom:title>Default</atom:title>
       <collection href="StockSet">
       <atom:title>StockSet</atom:title>
       </collection>
      </workspace>
    </service>
    Now I need to run StockSet, so next url to access the stock list,
    to get stocks:
    http://localhost:8080/gateway/odata/sap/WSTest1;v=1/SAP/StockSet
    Now I get the following response:
        <?xml version="1.0" ?>
        <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
        <code>
        </code>
        <message xml:lang="en">java.lang.NullPointerException: while trying to invoke the method java.lang.Object.hashCode() of a null object loaded from local variable 'k'</message>
        </error>
    I am not able to figure out, why I am getting this error and how to fix it.
    All I want is to create a ODAta on ESPM_STOCK sample table given in example.
    Looking forward to hear from you.
    Thanks.

    Waqas Sadiq
    Issue1: when I create a JDBC connection to connect with derby database, The driver field has maximum limit and whole driver string is not copied. Attached is the screen shot.
    Are you working on SMP3.0 (lower version than SP03)?
    If yes, then there is character restriction in SMP3.0 (SP00, SP01), maximum length for a database driver is 25 characters.
    e.g. if driver name is oracle.jdbc.driver.OracleDriver but when you enter this, then you will see onlyoracle.jdbc.driver.Oracle
    Until unless we pass the correct driver value things will not work. there is a workaround for this. You create a desitnation with restricted character length.
    You would be seeing a property file for each created destination underC:\SAP\MobilePlatform3\Server\config_master\service.destinations\destinations
    Go there and open the created "OracleDB" and edit the "DriverName" to the full string:oracle.jdbc.driver.OracleDriver
    Please go through this blog for more understanding:
    http://scn.sap.com/community/developer-center/mobility-platform/blog/2014/01/09/how-to-connect-an-oracle-db-with-integration-gateway-in-smp3
    Note: seems this problem has been resolved in SMP3 SP03
    Issue 2: I can't test the connection from here, weather it's working fine or not ?
    I didnt find a way to test a destination. So you have to be sure about what all values you are entering.
    Once you are done with Destination creation, map it to the respective deployed service under "services" tab.
    Issue 3: When I deploy the project and test the result, I get the Stock Service, But when I try to run this, I get nullpointer exception
    Make sure you have corrected "Database driver" name manually. And then check if you are facing same issue.
    Does this URL expect any input parameters?
    http://localhost:8080/gateway/odata/sap/WSTest1;v=1/SAP/StockSet
    Regards,
    JK

  • Getting error java.lang.NullPointerException while selection LOV

    I am getting error java.lang.NullPointerException while selecting LOV. Please help
    SEVERE: Server Exception during PPR, #1
    javax.servlet.ServletException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowKey(RowDataManager.java:129)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowKey(FacesCtrlHierBinding.java:530)
         at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:429)
         at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.decodeSelectedRowKeys(TableRendererUtils.java:470)
         at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.decodeIncompatiblePropertyKey(BaseTableRenderer.java:208)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:203)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1089)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:714)
         at org.apache.myfaces.trinidad.component.UIXTable.decode(UIXTable.java:136)
         at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:193)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:812)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at oracle.adf.view.rich.component.UIXPopup.processDecodes(UIXPopup.java:60)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:970)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:956)
         at oracle.adf.view.rich.component.UIXInputPopup.processDecodes(UIXInputPopup.java:137)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1113)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:722)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
         at oracle.adf.view.rich.component.fragment.UIXPageTemplate.invokeOnComponent(UIXPageTemplate.java:208)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:664)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:303)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 29 more

    Duplicate: Re: Get null pointer exception while selecting LOV for a parameter form object

  • Fetching the Inspection plan from OEM/owning Plant while doing GR in MIGO

    Hi,
    I have a scenario-
    a) I am doing a Goods Recipt against a purchase order for a plant(suppose Plant A).
    b) I have to fetch the Inspection Plan from the Owning OEM(suppose Plant B) of the material.
    At present we are maintaining the inspection plan for Plant A & B separately, which is not in synchronization.
    Can anyone suggest any BADI or user exit that can be enhanced to deal with this scenario?
    Thanks in Advance.
    Priyabrata

    continuing my issue is it possible to that we donot have to change the gbb and vbr and still we can have the desired results.
    that is we are able to use different gl for debit while doing goods issue from a single stocked material
    or we want to have this result
    1.          repairs to p&m    1000    dr
                         stock of cement  a/c           1000    cr
    2.          repairs  to building    2000   dr
                          stock of cement  a/c            2000   cr.
    3.             construction     3500     dr
                                 stock  of cement     3500     cr
    we donot want to change the GBB and VBR every time    or change the GL a/c while doing reservation.
    is there any third option where we get the desired result without changing or entering the g/l manually
    if there is please let me know the t.codes

  • Weblogic 9.1 with JDK1.6 giving error ( while doing weblogic.appc )

    hi,
    I am trying to build my ear using jdk1.6 with weblogic 9.1.
    I am getting this error while doing weblogic.appc using my ant scripts. Could some one pls let me know the solution for this problem.
    [java] Created working directory: c:\windows\TEMP\appcgen_gdoasis.jar
    [java] <02-Aug-2007 14:54:22 o'clock BST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile yo
    ur application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
    [java] javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be
    instantiated: java.lang.InstantiationException
    [java] at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
    [java] at weblogic.ejb.container.dd.xml.DDUtils.<clinit>(DDUtils.java:85)
    [java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1345)
    [java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
    [java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:292)
    [java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:95)
    [java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:113)
    [java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    [java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:55)
    [java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    [java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:24)
    [java] at weblogic.application.compiler.Appc.runBody(Appc.java:151)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.application.compiler.Appc.main(Appc.java:162)
    [java] at weblogic.appc.main(appc.java:14)
    [java] Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.InstantiationExcept
    ion
    Thanks

    Hi,
    First thing, I am not sure this will work :-)
    The main issue is that there is no StAX provider to parse I-not-know-what XML file.
    You may try to execute appc with the parameter
    -Djavax.xml.stream.XMLInputFactory=com.bea.xml.stream.MXParserFactory
    Anyhow, you may still have some issues given that Java 6 is not a supported Java version for WL 9.1.
    Regards,
    lg

  • While doing puchout user is getting Overlapping time message in OTL Time entry responsibility

    while doing puchout user is getting Overlapping time message in OTL Time entry responsibility

    XmlBeans, at least the version I'm working with now, doesn't support version 3 of the Document Object Model (DOM). I don't know what operations were introduced in DOM 3, but I guess you're trying to use one of them. What worked for me is to copy the Document into a DocumentBuilder that does support DOM 3, such as the JDK's own builder, and work with the copy. This should be all right if the document is not too large. The following URL has the details:
    http://issues.apache.org/jira/browse/XMLBEANS-100
    (Look for the post dated 22/Aug/08, which as I write this is the very last post.)

  • Error While doing the Asset Credit Memo -ABGL

    HI,
    While doing the Asset Credit Memo -ABGL,i am getting the below error.Kindly help me with your inputs.
    Balance for transaction type group 10 negative for the area 01
    Message no. AA629
    Asset affected: 406000000004-0000
    Diagnosis
    With the transaction entered, the balance for the transactions in group 10 in area 01 will be negative in this fiscal year. However, the balance of transaction type group 10, according to its definition, must be positive in each fiscal year.
    System response
    The system rejects this posting.
    Procedure
    Check the transaction type, the amount and the fiscal year in your posting. If you want to post a credit memo to an acquisition from the previous year, then use a transaction type for a retirement. If necessary, you can change balance rules after talking with your SAP consultant.
    Thanks
    Supriya

    Check your config in OABN / OADB
    The depriciation area 01 can allow you post values only postive .. in OADB
    it has maintained Acquisition values Postive or zero values and net book
    values has miantained Postive or 0 values. so based on this setting u cannt
    post any negative values for this asset.

  • Error while doing ABGL Asset Credit Memo

    Hi Friends,
    I am getting the below error while doing Asset Credit Memo in ABGL. Please help me in fix this issue.
    Balance for transaction type group 10 negative for the area 01
    Note:In Asset Explorer Fiscal year start Asset value is 98,425.45 and Change is 4768.19. So total Asset value as of now is 1,03,193.64.
    Now we are trying to do ABGL with 12,790.23 value (Transaction type is 105). System is giving the above highlighted error.
    If we give the amount 4768.19 in ABGL transaction, system is not giving any error. If we give more that that system is giving error.
    Why system is giving error even the asset has balance of 1,03,193.64? Please help me on this..
    Thanks
    Sunil

    Hi,
    If the asset has been capitalized during earlier years, use ABGF to post credit memo.  ABGL is meant for assets capitalized during the year.
    Best Regards,
    Madhu

  • Error while doing "Visulaize Plan"

    Hi,
    Before i did Visualize plan many times without any problem.Now I am getting error while doing so.
    I was able to run "Explain Plan" successfully.
    I am on HANA revision 60.
    I saved above error log and the log information is given below:
    I can identify invalid XML tag <TablesInvolved><![CDATA[raj/AN_VIZ]]></TablesInvolved> but how to fix this issue?
    I gone through various blogs related to Visulaization Plan but not found related to this issue.
    <Plan xmlns="http://www.sap.com/ndb/planviz" ID="ID_0" Type="Estimated">
    <SQL><![CDATA[SELECT KOKRS, BELNR, PERIO, SUM(MEGBTR)
    FROM "_SYS_BIC"."raj/AN_VIZ"
    GROUP BY KOKRS, BELNR, PERIO]]></SQL>
    <CompileTime>
      <Start Unit="us">1401281467643661</Start>
      <End Unit="us">1401281467658329</End>
    </CompileTime>
    <RootRelation ID="ID_0" TypeName="PROJECT" Status="Finished">
      <Name>Project</Name>
      <ExecutionType>Row Search</ExecutionType>
      <Summary><![CDATA[raj/AN_VIZ.KOKRS, raj/AN_VIZ.BELNR, raj/AN_VIZ.PERIO, SUM(raj/AN_VIZ.MEGBTR)]]></Summary>
      <Location>hanasp7:30003</Location>
      <EstimatedCost>
       <Exclusive Unit="us">2.12902e+06</Exclusive>
       <Inclusive Unit="us">2.64021e+06</Inclusive>
      </EstimatedCost>
      <EstimatedOutputCardinality>648284</EstimatedOutputCardinality>
      <Details><![CDATA[{"Projected Cols":"raj/AN_VIZ.KOKRS, raj/AN_VIZ.BELNR, raj/AN_VIZ.PERIO, SUM(raj/AN_VIZ.MEGBTR)","Project column0":"NString(4, 0)  __trex_field_NVarchar3__() ....... [3]:040:<5/7 (16B)>:
      /1/ void*  \"__rids__\" ....... [0]:NOP:<0/1 (8B)>:
      /2/ int32_t(10, 0) const := 0 ....... [1]:LOAD:<3/4 (4B)>:
      /3/ int32_t(10, 0) const := 0 ....... [2]:LOAD:<4/5 (4B)>:","Project column1":"NString(10, 0)  __trex_field_NVarchar3__() ....... [8]:040:<5/7 (16B)>:
      /1/ void*  \"__rids__\" ....... [5]:NOP:<0/1 (8B)>:
      /2/ int32_t(10, 0) const := 0 ....... [6]:LOAD:<3/4 (4B)>:
      /3/ int32_t(10, 0) const := 1 ....... [7]:LOAD:<4/5 (4B)>:","Project column2":"NString(3, 0)  __trex_field_NVarchar3__() ....... [13]:040:<5/7 (16B)>:
      /1/ void*  \"__rids__\" ....... [10]:NOP:<0/1 (8B)>:
      /2/ int32_t(10, 0) const := 0 ....... [11]:LOAD:<3/4 (4B)>:
      /3/ int32_t(10, 0) const := 2 ....... [12]:LOAD:<4/5 (4B)>:","Project column3":"Decimal(18, 3)  __typecast__() ....... [23]:076:<10/12 (16B)>:
      /1/ Fixed16(18, 3)  __trex_field_Fixed16__() ....... [19]:043:<6/8 (16B)>: 
         /1/ void*  \"__rids__\" ....... [15]:NOP:<0/1 (8B)>:
         /2/ int32_t(10, 0) const := 0 ....... [16]:LOAD:<3/4 (4B)>:
         /3/ int32_t(10, 0) const := 3 ....... [17]:LOAD:<4/5 (4B)>:
         /4/ int32_t(10, 0) const := 3 ....... [18]:LOAD:<5/6 (4B)>: 
      /2/ int32_t(10, 0) const := 18 ....... [21]:LOAD:<8/9 (4B)>:
      /3/ int32_t(10, 0) const := 3 ....... [22]:LOAD:<9/10 (4B)>:"}]]></Details>
      <Child ID="ID_8" >
      </Child>
    </RootRelation>
    <Relation ID="ID_8" TypeName="TREX_SEARCH" Status="Finished">
      <Name>Column Search</Name>
      <ExecutionType>Column Search</ExecutionType>
      <Summary><![CDATA[Aggregation on a single table]]></Summary>
      <Location>hanasp7:30003</Location>
      <EstimatedCost>
       <Exclusive Unit="us">511194</Exclusive>
       <Inclusive Unit="us">511194</Inclusive>
      </EstimatedCost>
      <EstimatedOutputCardinality>648284</EstimatedOutputCardinality>
      <TablesInvolved><![CDATA[raj/AN_VIZ]]></TablesInvolved>
      <LogicalPlan ID="ID_11" Type="Estimated">
       <RootRelation ID="ID_11" TypeName="PROJECT" Status="Finished">
        <Name>Project</Name>
        <EstimatedCost>
         <Exclusive Unit="us">0</Exclusive>
         <Inclusive Unit="us">0</Inclusive>
        </EstimatedCost>
        <EstimatedOutputCardinality>648284</EstimatedOutputCardinality>
        <Child ID="ID_12" >
        </Child>
       </RootRelation>
       <Relation ID="ID_12" TypeName="GROUP_BY" Status="Finished">
        <Name>Aggregation</Name>
        <Summary><![CDATA[raj/AN_VIZ.KOKRS, raj/AN_VIZ.BELNR, raj/AN_VIZ.PERIO\nSUM(raj/AN_VIZ.MEGBTR)]]></Summary>
        <EstimatedCost>
         <Exclusive Unit="us">0</Exclusive>
         <Inclusive Unit="us">0</Inclusive>
        </EstimatedCost>
        <EstimatedOutputCardinality>648284</EstimatedOutputCardinality>
        <Details><![CDATA[{"Grouping Cols":"raj/AN_VIZ.KOKRS, raj/AN_VIZ.BELNR, raj/AN_VIZ.PERIO","Aggregation Cols":"SUM(raj/AN_VIZ.MEGBTR)"}]]></Details>
        <Child ID="ID_13" >
        </Child>
       </Relation>
       <Relation ID="ID_13" TypeName="TABLE" Status="Finished">
        <Name>Column View</Name>
        <Schema><![CDATA[_SYS_BIC]]></Schema>
        <ObjectName><![CDATA[raj/AN_VIZ]]></ObjectName>
        <Location>hanasp7:30003</Location>
        <EstimatedCost>
         <Exclusive Unit="us">0</Exclusive>
         <Inclusive Unit="us">0</Inclusive>
        </EstimatedCost>
        <EstimatedOutputCardinality>682404</EstimatedOutputCardinality>
       </Relation>
      </LogicalPlan>
    </Relation>
    </Plan>
    Regards
    Raj

    Hi,
    To solve this you must update your studio. In lower studio versions (PlanViz) does not allow "unknown" XML tags sent by higher version servers. A fix for this issue was made so that PlanViz parser can simply skip unknown tags.
    Please go to version 74, if possible.
    Regards,
    Michael

Maybe you are looking for