Using DateAdd and Null pointer error
I use the following code below:< cfoutput query = 'getpeople' >
< cfset time2 = TimeFormat (getpeople.lunch_out_time, "HH: mm") >
<!-< cfset time3 = DateAdd ("h", 0, 2) - > >
< cfset years4 = DateAdd ("n", 10, time2) >
I have commented on adding 0 hours and trying to add 10 minutes of time2 a variable defined by getting a value from a database but when I try this I get a
The system has attempted to use an undefined value, which usually indicates an error programming, either in your code or system code.
NULL pointers are another name for undefined values.
Please help, thanks!
Not that the problem was that I had someone in the dateabase without listed time so that was the issue. Took care of it and it works fine now :-) Thanks for the thought.
Tags: ColdFusion
Similar Questions
-
BCC 10.2 - Flex Message null pointer error
BCC 10.2 - Flex Message null pointer error
Hi all,
I want to ask about a behavior that I have on small jets BCC when I try to save after you change an asset, but it seems that the application saves the changes.
I'd appreciate if anyone has any suggestions on this subject
The error is the following:
Caused by: atg.flex.service.RemoteOperationException: CONTAINER:atg.remote.assetmanager.workbench.service.WorkbenchException; SOURCE:java.lang.NullPointerException at atg.remote.assetmanager.workbench.service.WorkbenchService.refresh(WorkbenchService.java:583) at sun.reflect.GeneratedMethodAccessor3594.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421) ... 102 more Caused by: CONTAINER:atg.remote.assetmanager.workbench.service.WorkbenchException; SOURCE:java.lang.NullPointerException at atg.remote.assetmanager.workbench.service.WorkbenchService.filterAssets(WorkbenchService.java:1089) at atg.remote.assetmanager.workbench.service.WorkbenchService.refresh(WorkbenchService.java:565) ... 106 more Caused by: java.lang.NullPointerException at atg.remote.assetmanager.workbench.service.WorkbenchService.isAutoAddAsset(WorkbenchService.java:1113) at atg.remote.assetmanager.workbench.service.WorkbenchService.filterAssets(WorkbenchService.java:1074) ... 107 more 2014-12-29 15:28:51,232 INFO [STDOUT][SessionId=] [Flex Messaging] 12/29/2014 15:28:51.232 [ERROR] [Message.General] Exception when invoking service 'remoting-service': flex.messaging.MessageException: flex.messaging.MessageException: atg.flex.service.RemoteOperationException : CONTAINER:atg.remote.assetmanager.workbench.service.WorkbenchException; SOURCE:java.lang.NullPointerException incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage) operation = refresh clientId = 1C6F8201-C12F-67BE-89C5-9F53A50B0D85 destination = /atg/remote/assetmanager/workbench/service/WorkbenchService messageId = 68D7104A-0487-6486-BA17-97BCA7998B4B timestamp = 1419884931228 timeToLive = 0 body = null hdr(DSId) = 1C6F6CE9-5D19-D58E-99F2-4BF9B1455038 hdr(DSEndpoint) = atg-amf Exception: flex.messaging.MessageException: flex.messaging.MessageException: atg.flex.service.RemoteOperationException : CONTAINER:atg.remote.assetmanager.workbench.service.WorkbenchException; SOURCE:java.lang.NullPointerException at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:225) at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503) at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884) at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121) at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158) at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44) at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67) at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146) at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278) at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at atg.service.configuration.ResponseWrappingConfiguration.invokeFilterChainWithPossibleWrapping(ResponseWrappingConfiguration.java:458) at atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:174) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:320) at com.exito.cache.ExitoPageCachePipelineServlet.service(ExitoPageCachePipelineServlet.java:157) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.http.CookieBufferServlet.service(CookieBufferServlet.java:119) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.userprofiling.ExpiredPasswordServlet.service(ExpiredPasswordServlet.java:383) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:696) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.epub.servlet.LocaleServlet.service(LocaleServlet.java:84) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.epub.servlet.ProjectServlet.service(ProjectServlet.java:109) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.epub.servlet.PublishingSecurityServlet.service(PublishingSecurityServlet.java:80) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:150) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:213) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:696) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2452) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:191) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:418) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:161) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:534) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:245) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at com.exito.servlet.pipeline.ExitoProfileServlet.service(ExitoProfileServlet.java:147) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:461) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.pipeline.CachePreventionServlet.service(CachePreventionServlet.java:141) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:298) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:392) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:113) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:234) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:196) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:367) at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157) at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1252) at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:930) at com.exito.cache.ExitoCachingHeadPipelineServlet.service(ExitoCachingHeadPipelineServlet.java:74) at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272) at atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:348) at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:206) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilte 2014-12-29 15:28:51,232 INFO [STDOUT][SessionId=] r(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74) at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451) at java.lang.Thread.run(Thread.java:662)
Hello
When you create an asset, merchandising attempts to resolve one of the keys to the collection of autoAddAssetTypes of the/atg/remote/assetmanager/workbench/service/WorkbenchService to a kernel component that represents the real deposit for the specific asset. The name of active repository to repository real mapping is defined in the /atg/dynamo/service/AssetResolver / component.
When the mapping defined in the collection /atg/remote/assetmanager/workbench/service/WorkbenchService.autoAddAssetTypes key does not match a Name of active Source defined in the dynamo/atg / / / AssetResolver/service component, a null value is returned in place of the repository, real which causes the NullPointerException.
Please find the reference document for more information below and understand the best, hope that helps you.
NullPointerException in atg.remote.assetmanager.workbench.service.WorkbenchService when creating any ProductCatalog object (Doc ID 1578914.1)
Please select a correct answer if this answer solves your problem.
Thank you & best regards
Suman Vernoux
-
Cf11 Planner get NULL pointer error in CF administrator.
Cf11 Planner get NULL pointer error in CF administrator.
This problem appeared in my environment of production immediately after a restart of services Cold Fusion to recover a JVM OutOfMemoryError. We have identified what caused the error memory allows and have implemented changes to the code to avoid this problem in the future but now the Scheduler is not accessible through CF Admin. I think a file got corrupted in the Planner for the OutOfMemory event. I have redundant application servers so I just moved all my scheduled tasks to another server until I can sort this out. Otherwise, the server works fine. I did an archive settings server to return a month or two ago, I wonder if I import this archive through packaging and deployment if he could fix the corrupted file. I also read a few post on the replacement of the \cfusioninstance\lib\neo-cron.xml to solve the problem. I wonder if anyone else has experienced something like this?
Yes, it will work. You must restart the Application of CF Service after replacing the file.
Kind regards
Anit Kumar
-
NULL Pointer error...?
Hi all
OAMessageLovInputBean mlip = (OAMessageLovInputBean) webBean.findChildRecursive ('Package'); pkg = mlip.getValue (pageContext) m:System.NET.SocketAddress.ToString (); in the code above if the lov item has value it is capture the value and works great
When the question of love has no value it must capture the value null, but it gives error of null pointer.
Kindly help is urgent.
Thank you and best regards,
Sangu
Hello
Change the code as follows.
String pkg = null; OAMessageLovInputBean mlip = (OAMessageLovInputBean)webBean.findChildRecursive("Package"); if(mlip.getValue(pageContext)!=null) { pkg=mlip.getValue(pageContext).toString() }
It start error because you are trying to cast null String value if mlip.getValue is null.
I hope this helps.
BR, 906099
-
Hello
I'm trying to generate a report using a template. In my model, I use cross references to refer to a bookmark. For example, in the first page, I created a bookmark for my name, and in the header, I've created a reference refer to my name. The problem is when I start my VI the bookmark update perfectly but the reference to refer to the bookmark cannot refresh with the same value and generates an error: ' error! Reference source not found. "
Can someone help me please!NKI
Unfortunately, since this is a mistake in the word, there is no we can do about it. But you found a great workaround solution - good troubleshooting.
-
How can I use Nav and duly points together?
Hi team,
I want to use the functionality of these two points of NAv and landmarks at the same time! I'm cooking these points using first pro and I can't have 2 different points (nav and cue) at the same place. What about Actionscript cue points, what can they be used?
Hich tips, I want to have a seek for this nav point and then do something when you reach the next point (which is also a point of nav)
Is it just a matter of getting a framework of nav and cue point 1 apart?
See you soon
void
You can use cuepoints (timed) to call an actionscript function when they occur. You can use (named) cuepoints for navigation within your video.
-
One-way replication using queries and mapping DML - error
Environment: Unique Windows physical system and Oracle 11 g R2 DB of EA. Two schemas with the structure of the different tables. This is a home office staff.
The order of the day: runs DML replication of 2 tables to another single table with use of query and chips
Disclaimer: I have read the guide e17791.pdf Admin and checked the forum before asking this question here.
My excerpt:
Replicat:EXTRACT srcextm USERID gguser, PASSWORD gguser --DDL TRANLOGOPTIONS EXCLUDEUSER gguser RMTHOST localhost, MGRPORT 7809 RMTTRAIL G:\app\gg32\dirdat\mt TABLE source.*, SQLEXEC (ID query2col, QUERY "select a.sno as sno, a.name as name, b.phone as phone from source.test a, source.contact_no b where a.sno=1 and a.sno=b.sno"), TOKENS (TK_SNO = @GETVAL(query2col.sno), TK_NAME = @GETVAL(query2col.name), TK_PHONE = @GETVAL(query2col.phone));
Replicat report:REPLICAT srcrepm SOURCEDEFS G:\app\gg32\dirsql\sourcedefs.sql --DDLERROR DEFAULT IGNORE USERID gguser, PASSWORD gguser MAP source.*, TARGET target.directory, colmap(USEDEFAULTS, SNO= @Token("TK_SNO"), NAME= @Token("TK_NAME"), PHONE= @Token("TK_PHONE"));
Note: I left out the statistics.*********************************************************************** Oracle GoldenGate Delivery for Oracle Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230 Windows (optimized), Oracle 11g on Apr 23 2012 06:24:05 Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved. Starting at 2012-10-15 10:00:34 *********************************************************************** Operating System Version: Microsoft Windows 7 , on x64 Version 6.1 (Build 7600: ) Process id: 8932 Description: *********************************************************************** ** Running with the following parameters ** *********************************************************************** 2012-10-15 10:00:34 INFO OGG-03035 Operating system character set identified as windows-1252. Locale: en_US, LC_ALL:. REPLICAT srcrepm SOURCEDEFS G:\app\gg32\dirsql\sourcedefs.sql --DDLERROR DEFAULT IGNORE USERID gguser, PASSWORD ****** MAP source.*, TARGET target.directory, colmap(USEDEFAULTS, SNO= @Token("TK_SNO"), NAME= @Token("TK_NAME"), PHONE= @Token("TK_PHONE")); 2012-10-15 10:00:34 INFO OGG-01815 Virtual Memory Facilities for: COM anon alloc: MapViewOfFile anon free: UnmapViewOfFile file alloc: MapViewOfFile file free: UnmapViewOfFile target directories: G:\app\gg32\dirtmp. CACHEMGR virtual memory values (may have been adjusted) CACHESIZE: 512M CACHEPAGEOUTSIZE (normal): 4M PROCESS VM AVAIL FROM OS (min): 1G CACHESIZEMAX (strict force to disk): 881M Database Version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production PL/SQL Release 11.2.0.1.0 - Production CORE 11.2.0.1.0 Production TNS for 32-bit Windows: Version 11.2.0.1.0 - Production NLSRTL Version 11.2.0.1.0 - Production Database Language and Character Set: NLS_LANG = ".WE8MSWIN1252" NLS_LANGUAGE = "AMERICAN" NLS_TERRITORY = "AMERICA" NLS_CHARACTERSET = "WE8MSWIN1252" *********************************************************************** ** Run Time Messages ** *********************************************************************** Opened trail file G:\app\gg32\dirdat\mt000000 at 2012-10-15 10:00:34 Wildcard MAP resolved (entry source.*): MAP "SOURCE"."TEST", TARGET target.directory, colmap(USEDEFAULTS, SNO= @Token("TK_SNO"), NAME= @Token("TK_NAME"), PHONE= @Token("TK_PHONE")); Using the following default columns with matching names: SNO=SNO, NAME=NAME Using the following key columns for target table TARGET.DIRECTORY: SNO. 2012-10-15 10:00:34 WARNING OGG-01004 Aborted grouped transaction on 'TARGET.DIRECTORY', Database error 1403 (OCI Error ORA-01403: no data found, SQL <UPDATE "TARGET"."DIRECTORY" SET "NAME" = :a1,"PHONE" = :a2 WHERE "SNO" = :b0>). 2012-10-15 10:00:34 WARNING OGG-01003 Repositioning to rba 984 in seqno 0. 2012-10-15 10:00:34 WARNING OGG-01154 SQL error 1403 mapping SOURCE.TEST to TARGET.DIRECTORY OCI Error ORA-01403: no data found, *SQL <UPDATE "TARGET"."DIRECTORY" SET "NAME" = :a1,"PHONE" = :a2 WHERE "SNO" = :b0>*. 2012-10-15 10:00:34 WARNING OGG-01003 Repositioning to rba 984 in seqno 0. Source Context : SourceModule : [er.errors] SourceID : [er/errors.cpp] SourceFunction : [take_rep_err_action] SourceLine : [623] 2012-10-15 10:00:34 ERROR *OGG-01296 Error mapping from SOURCE.TEST to TARGET.DIRECTORY.* *********************************************************************** * ** Run Time Statistics ** * *********************************************************************** Last record for the last committed transaction is the following: ___________________________________________________________________ Trail name : G:\app\gg32\dirdat\mt000000 Hdr-Ind : E (x45) Partition : . (x04) UndoFlag : . (x00) BeforeAfter: A (x41) RecLength : 77 (x004d) IO Time : 2012-10-15 09:23:18.000000 IOType : 15 (x0f) OrigNode : 255 (xff) TransInd : . (x03) FormatType : R (x52) SyskeyLen : 0 (x00) Incomplete : . (x00) AuditRBA : 7 AuditPos : 31137808 Continued : N (x00) RecCount : 1 (x01) 2012-10-15 09:23:18.000000 FieldComp Len 77 RBA 984 Name: SOURCE.TEST ___________________________________________________________________ Reading G:\app\gg32\dirdat\mt000000, current RBA 984, 0 records Report at 2012-10-15 10:00:34 (activity since 2012-10-15 10:00:34) From Table SOURCE.TEST to TARGET.DIRECTORY: # inserts: 0 # updates: 0 # deletes: 0 # discards: 1 Last log location read: FILE: G:\app\gg32\dirdat\mt000000 SEQNO: 0 RBA: 984 TIMESTAMP: 2012-10-15 09:23:18.000000 EOF: NO READERR: 0 2012-10-15 10:00:34 ERROR OGG-01668 PROCESS ABENDING.
DB data table:select * from source.test;
SNO NAME UPDATED EMAIL ---------------------- --------------- ------------------------- ------------------------------ 3 Dickens 15-OCT-12 12.20.50.614000000 AM NA 1 Madhu 14-OCT-12 10.52.05.213000000 PM NA 2 Tom 14-OCT-12 10.52.05.213000000 PM NA 3 rows selected
Select * from source.contact_no;
SNO PHONE ---------------------- ---------- 1 9888888885 2 9888888886 2 rows selected
Select * from target.directory;
At startup, the evening only replicate with the error above.SNO NAME PHONE ---------------------- --------------- ---------- 0 rows selected
My question is:
Why is an update performed at Target.Directory table with the WHERE clause used in the SELECT query to my SNIPPET, which in turn, was intended for the SOURCE. TEST and SOURCE. CONTACT tables?
Published by: MadhuGopanna on October 14, 2012 23:25: fixed select query. Same recurring error."to replicate (exlisitly give source.test as a source)-
Question: If I mention only source.test as a source, would have extracted ignore changes made to source.contact_no?Stating that -
MAP source.*, TARGET target.directory
sandbox say GG to you that you have what it takes to replicate all tables in the source schema in target.directory. -So, it's nonsense.
"to extract (add section TABLEEXCLUDE to exclude the replication source.contact_no) -"
Question: I want to reproduce the combination of test and contact_no of source data in the target.directory table. In this regard the TABLEEXCLUDE of source.contact_no will provide the desired result?TABLEEXCLUDE clause do not exclude the possibility of using the table in queries in SQLEXEC or anywhere else. He just exclude the table replication if you use wildcard characters.
For example -.TABLE user.*; TABLE user.TEST;
each user of schema table would be replicated except user. TEST.
I think it is the right way to say what you want-
EXTRACT ext1 --connection to database-- USERID ogg, PASSWORD xxxx --hostname and port for trail-- --rmthost db-dev-2, mgrport 7809 --path and name for trail-- --rmttrail /u01/app/oracle/product/11.1.1.12ogg/dirdat/lt EXTTRAIL /u01/app/oracle/product/11.1.1.12ogg/dirdat/ss SEQUENCE test.* --DDL support DDL INCLUDE MAPPED OBJNAME test.* --DML TABLE source.TEST, SQLEXEC (ID query2col, QUERY "select b.phone as phone from source.test a, source.contact_no b where a.sno=:sno_params and a.sno=b.sno", PARAMS (sno_params = SNO)) TOKENS (TK_PHONE = @GETVAL(query2col.phone)); TABLEEXCLUDE source.CONTACT_NO;
--Replicat group -- REPLICAT REP2 --source and target definitions --ASSUMETARGETDEFS SOURCEDEFS /u01/app/oracle/product/11.1.1.1.2ogg411g/dirdef/sourcedef --target database login -- USERID ogg, PASSWORD xxxx --file for dicarded transaction -- DISCARDFILE /u01/app/oracle/product/11.1.1.1.2ogg411g/discard/rep1_discard.txt, APPEND, MEGABYTES 10 --ddl support DDL --Specify table mapping --- MAP source.TEST, TARGET target.DIRECTORY, COLMAP (USEDEFAULTS, PHONE = @TOKEN ("TK_PHONE")); DDLERROR 24344 DISCARD;
Just tested - works fine.
Published by: Artem Khisamiev on 15.10.2012 08:00
Published by: Artem Khisamiev on 18.10.2012 05:58
-
in vo.getCurrentRow method null pointer error
Hello
Get poeinter null error in the vo.getCurrentRow method
in updatePPR
KrishnaHello
Copy the code like this
OAViewObject vo = (OAViewObject)findViewObject("EmployeePVO1"); OARow row = (OARow)vo.first(); OAViewObject empVO = (OAViewObject)findViewObject("EmployeeFullVO1"); empVO.reset(); //Reset it first empVO.next(); //Go to next OARow empRow = (OARow)empVO.getCurrentRow(); //Pick Current Row String position = (String)empRow.getAttribute("PositionCode");
I hope that helps!
Thank you
AJ -
OES ID profile error: Null pointer Exception
I have a new installation of IOM and OES 11 GR 2 on the same weblogic Domain.
I can see the IOM default administrator roles in the OES console but when I try to create a new profile of IDS to pull in the roles of LDAP I get a null pointer error. The connection to the server OID is successful, but by clicking on the button create gives the question.
Also, I discovered this null pointer exception is thrown to the right when I click on create to create the profile of the IDS and so perhaps that's why the operation is a failure.
All entries on the question would be very appreciated.
Kind regardsIt is not possible. You can assign administrative roles to users only.
Research Organization > Admin roles > assign > user search > select user > Add.
-
I use a common phrase and get an error. Why?
Hey!
I hope someone can help a little or a lot!
I'm not in expressions at all and that would explain why I don't see the "misstake (?)' myself here, but maybe do you.
I copy a code of expression of several tutorials and get an error. When I change a little function I want mainly works. But I still can´t use all the trick because I get a 2nd problem (which may be due to the 1st?).
- OK, so here's the tutorial , I've looked at, for example:
e.d.Films tutorial: rigging leaves characters - lesson 01 - YouTube
- This is the code from the tutorial that does not work with me. ('kopf' is the name of my object null layer)
n = thizsComp.Layer ("head") nullpos = n.toComp (n. anchorPoint¬); fromComp (nullpos);
- It is a small different code form a similar tutorial:
L = thisComp.layer("kopf"); value + L.toComp (L.AnchorPoint);
Insteadt I use another expression that is made by after effects automatically when I do the following: pressing alt and click on the clock, pulling the thing in a spiral on the position of the null object. If I pull the spiral to the null object all I get another error too.
- my code that seems to work so far:
thisComp.layer("kopf").transform.position
So I don't understand why everyone has these = n and l = things all over the place to start. after effects seems to have a problem with it or writes it different it self...? I don't know. it confused me.
- It's the mistake (in German):
After effects warnung: expression wurde augrund eines fehlers deaktiviert.
Fehler line 1 in attribute "position" von ebony 10 (´kopfhals´) in ´kopfhalsnase´ komposition. works:;
the 2nd problem that I get in what follows is:
After I've languished the subject, null objects created and connected to the pins I connect the nullobjects with eachother via spirals. It kind of works but all the points of the subject gets now completely distorted and jumping randmomly somewhere...
That happen to one of the tutorials... why, how?
hope you understand me, know exactly what to do and tell me... I could get the screenshots in case I was very incomprehensible...
Thank you
It depends on what type of layer that you use. This might work (just copy and paste in it to ensure that you get any typos here):
n = thisComp.Layer ("head");
nullpos = n.toComp (n.AnchorPoint);
fromComp (nullpos);
If this does not work, try this way:
n = thisComp.Layer ("head");
n.toComp (n.anchorPoint);
If that doesn't work, post a few screen shots.
Dan
-
NULL pointer exception when you use the tag ahref
Hello
I am writing a file html for the file adapter. Inside the transformation, if I understand ahref* tag, I still get null pointer exception and a 0 KB file is written.
However, if I remove the < a href > tag from the code, the html file is generated correctly. But I need to use ahref* tag. Pls help me solve this.
The details of the error are:
< bindingFault xmlns = "http://schemas.oracle.com/bpel/extension" > < a name = "summary" part > < summary > file:/opt/aia/product/10.1.3.4/OracleAS_MW/bpel/domains/release2/tmp/.bpel_OA_OUT_BPEL_MiddlewareEmailProv_1.0_734ff6b91af23ed1de9191df79ca28b6.tmp/in_Confirmation_FileWrite.wsdl [Write_ptt::Write (ORDER)] - SISM JCA Execute of 'Write' failure due to operation: null; nested exception is:
java.lang.NullPointerException < / summary >
< / part > < part name = "detail" > < java.lang.NullPointerException detail > < / details >
< / piece > < / bindingFault >
Published by: user11119367 on February 9, 2010 21:23Hello
The custom XSD file is not necessary.
Looks like it's a bug in file 10.1.3.4/10.1.3.5 adapters - it works very well in 11g.Whenever there is "a href" tag in the xml support to write to the file, the file adapter tries to get the content of the url real in 'a href' and written to the output file. When I try with any url (say http://www.google.com), the content of google.com is written in the file. If this URL is not accessible (for example http://foo.bar), then you get the null pointer exception. In your case, I think the URL that you are using the payload, is not accessible from your box of soa, or is not a valid URL.
As a work around 10.1.3.4, I was able to create the XHTML file as follows:
1 change the link partner of file adapter to use opaque scheme.
2. in an assign operation, affect the load XHTML to a string variable using ora:getContentAsString ().
3. Add a java embedding base64 encode the string as follows and assign to the entrance of the file adapter invoke:
(HTMLString is the string from step 1 variable, InvokeWriteHTML_InputVariable is the input variable to the call on the file adapter operation)4. call the file adapter using the input variable in which is written the value encoded in base64.
you could use the workaround above or rethink your design (if you want to create the XHTML file using bpel only or other means).
Hope this helps,
Kind regards
Yohanna.
http://www.prshanmu.com/articles/ -
Hi, I just bought a used 2012 Pro 13 "Macbook. It came with iMovie installed. However, I would like to get the update to iMovie. He said: I can't update iMovie because a different Apple ID was used to download iMovie and I get errors. How can I update iMovie?
Error message #1: these applications cannot be accepted by your Apple ID. These applications have already been assigned to another Apple ID, and they will be available in this list of purchases Apple ID. If you don't have access to this Apple ID and would like to receive future updates, you will need to purchase applications.
Error message #2: update are not available with this Apple ID. This update is not available for this Apple ID either because it was bought by another user or the item has been refunded or cancelled.
Error message #3: we could not complete your request. There was an error in the App Store. Please try again later. (null)
Unfortunately, free updates are available to the original purchaser of the computer. The iMovie is locked to his Apple ID, so unless you have to grab his ID, you can buy iMovie.
-
Solutions error checking the disk and Restore Point, pointing to the other.
Yesterday, my wife picked up the package of virus Security Suite from somewhere and remove, I picked up an error when the disk check runs at startup. Check disk claims it is an error, check the drive and suggests restore since my last restore point. But when I do this, restore the system claims I have a disk error and I need to run the disk check. Which brings me right to the beginning of this problem.
I'm running 32-bit Windows 7 Home Premium, and have enabled the Windows updates. I use AVG and Malware Bytes to protect my system.
Thank you!
Bill Haworth
You can run check disk from safe mode? This is a level of command prompt:CHKDSK x: /F /RWhere x: is the drive that you control."bill_haworth" wrote in message news: 9c836e2b-b164-44a7-b516-5d5302cca9bf...> Yesterday, my wife picked up the package of Security Suite virus from> somewhere and back, I picked up an error when running the disk check to> start. Check the disk says there is an error, check the drive and> suggests restore since my last restore point. But when I do>, System Restore claims I have a disk error and I need to run> Check the disc. Which brings me right to the beginning of this problem.>> I am running 32-bit Windows 7 Home Premium, and made Windows updates> on. I use AVG and Malware Bytes to protect my system.>>>> Thank you!>> Bill Haworth> -
ObjectChoiceField throw a Null pointer Exception error
Could someone help me please. I have an ObjectChoiceField object that throws a null pointer exception and I know there was another post but I don't yet understand why. This is how I create the object and fill it with four points. Thank you!
lv_loc1 = "Arlington Heights";
lv_loc2 = "Waterloo."
lv_loc3 = 'Fort Madison';
lv_loc4 = "Colorado Springs";
String [] lv_locs = {'Loc1-' + lv_loc1, 'Loc2-' lv_loc2, 'Loc3-' + lv_loc3, '-Loc4' + lv_loc4};
int lv_start_psn = 0;
ObjectChoiceField lv_locChoice = new ObjectChoiceField ("", lv_locs, lv_start_psn, LabelField.FIELD_HCENTER)
{
public void layout (int width, int height)
{
Super.Layout (lv_btn_width, lv_btn_height);
setExtent (lv_btn_width, lv_btn_height);
}
};Here's how I'm trying to get the selected item
lv_str = (String) lv_locChoice.getChoice (lv_locChoice.getSelectedIndex ());
I know that it should be a simple way to do it, here is what I finally realized. It returns the index value to the lv_choice_sel variable, which is a variable so now I can use it throughout the app.
--------------------------
String [] lv_locs = {lv_loc0, lv_loc1, lv_loc2, lv_loc3, lv_loc4, lv_loc5};
int lv_start_psn = 0;
lv_locChoice = new ObjectChoiceField ("", lv_locs, lv_start_psn)
ObjectChoiceField.FIELD_HCENTER | ObjectChoiceField.USE_ALL_WIDTH)
{
protected void fieldChangeNotify (int context)
{
lv_choice_sel = Integer.toString (getSelectedIndex ());
If (lv_choice_sel is nothing)
{lv_choice_sel = '0' ;}
}
}; -
Exprt to EPub and receive the Null object Error Message
I tried to use the application InDesign CS4 export to the digital edition. Unfortunately, the Null object error shortly after his execution. No idea why this is happening. There are very little information associated with InDesign and an error of this type. This should be easy. I don't know if it's a problem of plugin or something else. Help!
Thank you. I downloaded the CC version to see what the changes to the form. I like the fact that there is now only one choice in the menu of
and then provide a variety of file formats in the menu dropdown. I tried the ePub and while it worked, I was disappointed by the formatting which is a complaint common shadowing by many users. A PDF file is identical to the document being created, the EPub is different. I'm going back to look at the formatting of the "objects" to see why there is so much difference to the final product. It would be great if you could get a preview screen to see what (if any) changes should be made to make your spreads identical to the finished product.
Also, thank you for your suggestion of Lynda.com. It is a very useful online resource.
Maybe you are looking for
-
report of... kernel panic please help! (That occur every day)
My laptop started to reboot almost every day for a few weeks. I don't know if it's an upgrade or a hardware problem. Here's the report I get when it restarts: Any ideas from this what is the cause of the problem and suggestions on how I can fix with
-
I used the same setup file, but on 1 pc, the "Open new tab" button is available in the menu 'Customize toolbar' and can be dragged and drop on the navigation bar. On the other pc, the "Open new tab" button/icon is not yet available for drag / drop. I
-
How can I block certain websites?
How to block a personalized list of websites?
-
How to scan to PDF of my PSC 1215 using windows 7?
Al-in-one-HP PSC 1215 just installed on the new laptip running Windows 7 Former HP Director disappeared and the built-in Windows software will only scan a document in JPG, PNG, BMP formats and a sheet at a time. How to scan in PDF format as before, a
-
HP envy 15 t-q400: permanently disable touchpad
Hi everyone, does anyone know how to permanently disable a synaptics touchpad? I went to the touchpad settings and clicked on disable touchpad so that disable touchpad when a usb mouse is connected. My problem is that when I reboot, the pad touchpad