How to resolve NullPointerException in ODI
Hi
I getting following exception when I execute following ODI procedure.
Please help me
My scenario was to store data into temp table (where temp table is "bulk_load")
Exception:
java.lang.NullPointerException
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.bindSessVar(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.bindSessVar(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskPreTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Thread.java:595)
ODI Procedure:
begin
insert into apps.bulk_load (
inventory_item_id,
item_number,
item_description,
primary_uom_code,
lot_control_code,
serial_number_control_code,
organization_id,
organization_code,
age,
best_by_date,
change_date,
expiration_date,
grade_code,
length,
length_uom,
lot_description,
lot_number,
maturity_date,
origination_date,
place_of_origin,
recycled_content,
retest_date,
thickness,
thickness_uom,
volume,
volume_uom,
width,
width_uom,
expiration_action_code,
expiration_action_date,
parent_lot_number,
reservable_type,
origination_type,
creation_date,
created_by,
last_update_date,
last_updated_by,
last_update_login,
product_code,
product_code_type,
product_code_variant,
product_uom
values
'#PVN_INVENTORY_ITEM_ID',
'#PVV_ITEM_NUMBER',
'#PVV_ITEM_DESCRIPTION',
'#PVV_PRIMARY_UOM_CODE',
'#PVN_LOT_CONTROL_CODE',
'#PVN_SERIAL_NUMBER_CONTROL_CODE',
'#PVN_ORGANIZATION_ID',
'#PVV_ORGANIZATION_CODE',
'#PVN_AGE',
to_date('#PVV_BEST_BY_DATE','yyyy-mm-dd'),
to_date('#PVV_CHANGE_DATE','yyyy-mm-dd'),
to_date('#PVV_EXPIRATION_DATE','yyyy-mm-dd'),
'#PVV_GRADE_CODE',
'#PVN_LENGTH',
'#PVV_LENGTH_UOM',
'#PVV_LOT_DESCRIPTION',
'#PVV_LOT_NUMBER',
to_date('#PVV_MATURITY_DATE','yyyy-mm-dd'),
to_date('#PVV_ORIGINATION_DATE','yyyy-mm-dd'),
'#PVV_PLACE_OF_ORIGIN',
'#PVN_RECYCLED_CONTENT',
to_date('#PVV_RETEST_DATE','yyyy-mm-dd'),
'#PVN_THICKNESS',
'#PVV_THICKNESS_UOM',
'#PVV_VOLUME',
'#PVV_VOLUME_UOM',
'#PVN_WIDTH',
'#PVV_WIDTH_UOM',
'#PVV_EXPIRATION_ACTION_CODE',
to_date('#PVV_EXPIRATION_ACTION_DATE','yyyy-mm-dd'),
'#PVV_PARENT_LOT_NUMBER',
'#PVN_RESERVABLE_TYPE',
'#PVN_ORIGINATION_TYPE',
to_date('#PVV_CREATION_DATE','yyyy-mm-dd'),
'#PVN_CREATED_BY',
to_date('#PVV_LAST_UPDATE_DATE','yyyy-mm-dd'),
'#PVN_LAST_UPDATED_BY',
'#PVN_LAST_UPDATE_LOGIN',
'#PVV_PRODUCT_CODE',
'#PVV_PRODUCT_CODE_TYPE',
'#PVV_PRODUCT_CODE_VARIANT',
'#PVV_PRODUCT_UOM'
end;
Following query used to store data into variable:
select inventory_item_id from (select rownum r,a.* from MTL_OPSM_LOT_EXPORT_V a) where r=3;
where MTL_OPSM_LOT_EXPORT_v is a view (virtual table)
Thanks,
Phani
Edited by: Phanikanth on Jun 27, 2010 11:35 PM
ODI 11g has a simulation mode available. When you execute a job, you can select "simulation mode" and that will generate the code and not execute it.
You can then read the code to figure out whats happening
Similar Messages
-
In Excadel :
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException
org.apache.jsp.EvaluationKeyRequest_jsp._jspService(EvaluationKeyRequest_jsp.java:229)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
In console:
Jan 5, 2007 7:48:15 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_08\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;%jhome%;C:\program files\java\jdk1.5.0_08\bin
Jan 5, 2007 7:48:15 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 5, 2007 7:48:15 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1062 ms
Jan 5, 2007 7:48:15 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 5, 2007 7:48:15 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Jan 5, 2007 7:48:15 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 5, 2007 7:48:16 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Jan 5, 2007 7:48:16 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Jan 5, 2007 7:48:16 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='ApplicationResources', returnNull=true
Jan 5, 2007 7:48:16 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
Jan 5, 2007 7:48:17 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Jan 5, 2007 7:48:17 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 5, 2007 7:48:17 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jan 5, 2007 7:48:17 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/156 config=null
Jan 5, 2007 7:48:17 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jan 5, 2007 7:48:17 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2125 ms
Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jan 5, 2007 7:48:26 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jan 5, 2007 7:48:26 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.EvaluationKeyRequest_jsp._jspService(EvaluationKeyRequest_jsp.java:229)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
I've tried solving this,in so many ways...even changes the server.xml webapps..pl help me how to resolve thisroot cause
java.lang.NullPointerException
org.apache.jsp.EvaluationKeyRequest_jsp._jspService(EvaluationKeyRequest_jsp.java:229)So what are you doing in EvaluationKeyRequest.jsp?
Something in there is generating a null pointer exception.
Try commenting out bits and pieces so you can narrow down what causes the null pointer.
Editing server.xml shouldn't affect anything - the error is in your JSP. -
How can I move the ODI Work Repository from one server to another server?
How can I move the ODI Work Repository from one server to another server?
Hi,
If you would like to move your source models, target models and project contents from Work repository 1 to another work repository.
I.e. Dev. server to Prod Server.
1. Firstly, replicate the master repository connections i.e. with same naming conventions manually
2. Go to Dev. Server work repository -> File Tab -> Click on Export work repository (save it in a folder)
3. After exporting, you can view the xml files in the folders.
4. Now, Open the Prod. server and make sure you already replicated mas. rep. details.
5. Now, right click on model and import source model in synonym mode insert_update (select source model from the folder where your xml file located)
6. Similarily, import again target then Project.
Now, check. It should work.
Thank you. -
I bought an I pad 2 from us but I can not activate the Facetime in UAE(Dubai)as I can not see the country in the I pad's drop list, anyone has an idea as to how to resolve this issue
I'm not that familiar with how FaceTime works. I know how to set It up but I don't use it. I just know that you can't activate in the UAE. I believe that you can activate in any country that permits it's use. Whether you will need a new ID or not, I can't confirm.
You can Google this and get all sorts of articles on workarounds. Apparently if you set up a VPN you can use it in the UAE. Here is one article that I found.
http://talkfree7.blogspot.com/2010/09/how-to-facetime-voip-call-from-uae.html
I Googled "workaround for FaceTime in UAE" to find this. -
How to resolve #Multivalue Error
HI All,
I have a data like below, in this for inpatient data is NULL and as per business requirement if data is null then "0". so i create a variable and drag into inpatient's total column
statement for inpatient is
=If IsNull([total]) Then 0 Else [total] Where ([items]="Inpatient")
items total
Office
4
Utilization
70
Inpatient
it is working and showing as "0"
but when inpatient has value it is showing #multivalue"
Office Visits
4
Non-Emergency ED Utilization
70
Inpatient Stays
40
how to resolve is issue
Please reply i am using SAP BO 3.1 INFOVIEW
Thanks in advance
RanjeetHi Ranjeet,
First thing is you are getting this error because of the where clause used in the variable.
Because in the 2nd case when it has value for Inpatient, it is actually taking the same value for all the 3 cases.
How to remove null value with 0:
1. Remove where clause from the variable and use that variable in place of Total in the table report.
2. Use format number option to place 0 in place of undefined values.
Hope it helps. Please ask if you have any queries.
Regards,
Subrat -
Does anyone know how to resolve the problem of apps not being able to download in the App Store? After the IOS 6 update I haven't been able to download any apps.
Maybe here:
IOS 6 App store crash: Apple Support Communities -
when i login to MES operator resp..i get a error saying...You must setup an HR employee for this Oracle Application user...how to resolve this?
Hey everyone in Apple world!
I figured out how to fix the flashing yellow screen problem that I've been having on my MBP! Yessssss!!!
I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
I followed the instructions on this page and here's what I did:
Resetting NVRAM / PRAM
Shut down your Mac.
Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
Turn on the computer.
Press and hold the Command-Option-P-R keys before the gray screen appears.
Hold the keys down until the computer restarts and you hear the startup sound for the second time.
Release the keys.
I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process. Since I did that, my MBP boots up just like normal. No flashing yellow screen anymore!!
(Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
Let me know if this works for you!
Elaine -
I am having problems with the Preview application. When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it. Any ideas on how to resolve this problem? Thanks for any help
Can you open the Preview program without loading a file, like by itself?
If it doesn't load then I suspect a corrupt Preview preference file.
Deleting the System Preference or other .plist file
Can you open other files with Preview, like jpg's and images?
How about other PDFs? or is it just that one you have downloaded?
Run through this list of fixes
Step by Step to fix your Mac -
How to resolve many-to-many join by 2 one-to-many joins
Hi,
I was asked many times how to resolve many to many relationship between two tables. I read to use 2 one -to- many relationships to resolve this. Can some expalin me when many to many relationship occurs between two tables and how to reslove them with practicle examples. Is there any article on this?
Regards,
Nanda KishoreHi,
Please check below link.
http://www.forumtopics.com/busobj/viewtopic.php?p=859029&sid=20d79e3df07b0d8b41aadfbd902bb6b2
http://blog.oaktonsoftware.com/2011/04/bridge-tables-and-many-to-many.html
Thanks,
Amit -
How to resolve a host name from IP using JNDI/DNS service provider
Hi
I got two questions on JNDI/DNS service provider:
1) How to resolve a host name when i got an IP
I understand How I do it inverse.
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
env.put(Context.PROVIDER_URL, "dns://"+server+"/"+domain);
DirContext ictx = new InitialDirContext(env);
Attributes attrs1 = ictx.getAttributes(host, new String[] {"A"});
2) This example above works when I specify the domain in the provider url.
If I am not specifing a domain but only the dns server I got an NameNotFoundException.
What should I do if I don't got the domain?
get the availible domains and loop on them?Hi,
if your DNS server supports that, you can do a reverse DNS lookup. This works as follows:
String server = "your.dns.server";
String domain = "in-addr.arpa";
String ip = "4.3.2.1";
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
env.put(Context.PROVIDER_URL, "dns://" + server + "/" + domain);
DirContext ictx = new InitialDirContext(env);
Attributes attrs1 = ictx.getAttributes(ip, new String[] {"PTR"});1: Use the pseudo-domain in-addr.arpa
2: Use the reverse IP address for lookup, i.e. if your host has 1.2.3.4, use 4.3.2.1!!
3: Request the PTR attribute
see also [http://en.wikipedia.org/wiki/Reverse_DNS_lookup|http://en.wikipedia.org/wiki/Reverse_DNS_lookup]
Martin -
How to resolve this Error ORA-04030: out of process memory when trying to a
Hi
I am connecting as a sysdba and trying to execute a query on the V$Logmnr_contents but getting the following Error
ORA-04030: out of process memory when trying to allocate 408 bytes (T-LCR
structs,krvuinl_InitNewLcr)
Can anyone guide me how to resolve this issue.
ThanksHi,
As root user, edit the /etc/sysconfigtab file, and try to set the udp_recvspace parameter to 262144 and reboot the machine :
inet:
udp_recvspace = 262144
Metalink note 297030.1 Ora-04030 During Execution Of LogMiner Query
Nicolas. -
Dear Sir/Madam,
Appreciate that you could advise me on the following error occur when connect power meter E4419B to computer via E5810A LAN/GPIB Gateway(remote interface) & run with Labview:
-1073807339
VISA Write in E4419_read_power.vi
I have added 5s timeout to Labview program but the result as previous.
There no error occurs when the power meter to computer via USB/GPIB interface(82357B).
Is it related to E5810A driver or the program I wrote?
How to resolve it?
Attachments:
E4419_read_power.vi 16 KBHi.
I'm experiencing the same problem when connecting a laser controller (New Focus Vortex TLB-6000) via the Agilent E5810A to a PC.
There are no problems when connected through a regular serial port, but timeouts arise every few seconds through the E5810A. I have another controller (SRS LDC501) which works very well with a second Agilent console.
Have you managed to find a solution to this problem?
Thanks,
Orel. -
When I upgraded to IOS5, my playlists no longer appear on the iPOD. When I do a Sync, the playlists appear, but will not sync to the iPOD. Any suggestions on how to resolve??
I would understand it if you checked email on your Mac, and then those messages were not available on your iOS devices if you had the advanced account setting "remove copy from server after retrieving message:" set to immediately.
I looked through my iPhone settings and don't even see an option to tell my phone to pull the only copy of a message and delete it from the server.
Possibly there is another setting in Lion (I am running Snow Leopard still) that tells your Mac to only synchronize mail to your iOs devices and is not pulling mail directly from iCloud.
You could try disabling your current iCloud email account in Mac Mail, and adding a new one and just telling Mail it is a standard IMAP account (imap.mail.me.com incoming and smtp.mail.me.com outgoing).
I did that for Leopard to get my email even to work after MobileMe is cancelled and it seems to work fine with my iPhone.
If that doesn't work, you can delete that new email account and re-enable the temporarily disabled iCloud email account from above.
Hope this helps. -
When I try to log into the game center, i get an error message that says: unable to connect to server due to an error communicating with the server.
I have logged off iTune and any other app I was logged in, I have done a hard reset of my iPad, I have reset my modem, but nothing had any impact and I am now frozen out of my game center.
Anybody has an idea of how to resolve this?
Thanks,
J1) May be there is a mismatch with the jar file name and the filename in the jad properties ( happens only if you rename the jar file)
2) Check hollywood jad properties and the ringtone jad properties. May be the complete url is required for the jar file.
3) If you are using any restricted APIs in your midlet, then make sure your jad properties has the required permissions. -
How to resolve this issue??
I have given box / borders for cells in the table in smartforms. in main window.
Now when i print with HPlaser the output comes fine.
But when i use Epson - The borders almost print 5 to 6 times bigger & looks to ugly and even the data is not shown. Meaning the data is overshadowed by the borders of the Cells.
Tried to reduce the <b>width</b> in the BOX option of TABLE in smartforms. By default it is 15.00 TW. did not work.
EPSON is what they want to use.
Please let me know how to resolve this issue.
Regards,
SivaHi Siva,
Ask them to provide the Diamension of what paper type they
are using for EPSON, becoz U might have kept paper size
as A4 and there they might be using INCH12 or some other size
of paper( not Sure ).So if u can have the Exact paper format that
they are going to use , u can design ur form in that paper format
and then check.
Regards
Avi.....
Maybe you are looking for
-
A tool can convert HTML to Excel
Hi All , Are you using report 6i and want to out put report in excel format? If you are , a free software which can convert HTML to Excel is available . The software is designed to print very large report , Now a wonderful function is added to softwa
-
im having a problem..i,e. i need to load an external swf which is in as3...and need it to be played in my as2 swf layout. with a time slider ,play, pause ,next, previous for that swf movie clip. pls give ur mail id i can sent my original files.......
-
QuickTime 10.1 Stops Working, Starts hogging memory before terminating!
Hi, I was using QuickTime 10.1, which came with my new iMac OS X 10.7.2, to export M4A out of M4V. After about ten exports, QT stops working and starts hogging gigabytes of RAM before terminating itself. Please advise. Thanks-
-
i just finished updating ipad to IOS6! my home button quit working a little while ago. now my ipad is just sitting on a screen saying IOS 6. what do i do to get to my home screen and open my ipad?
-
Many of my ratings disappeared after upgrade
I recently upgraded to the latest version of iTunes for Windows and many of my ratings disappeared. There is no detectable pattern to which ones are gone, but more than half of them are no longer there. I'm running version 5.0.1.4 Anyone have any exp