Problem loading element from a xmlHttpRequest
I must be losing my mind... But this is what I am facing:
I have a site that's basically built around the xmlHttpRequest object.
Homepage --> xmlHttpRequest --> loads pageA.php into element of Homepage
Homepage loads pageA.php to populate a tag. Once pageA.php is loaded, a user can make another xmlHttpRequest call to load another page to populate another element within the "pageA.php" page.
pageA.php (now within homepage) --> xmlHttpRequest --> loads pageB.php into element of pageA.php
This is when sh*t hit the fan... Safari (as well as Shiira, which uses Safari's rendering engine as I understand it... but strangely, Camino takes it ok) complains with an error "TypeError - null value". Has anyone had this kind of problem happened to them before?
My initial guess is that when is loaded, Safari is actually blind to it. So when pageA.php makes the xmlHttpRequest call to the server to populate it, Safari thinks that never existed and complains that it's a null value...
Any help/suggestion/workaround or just a rebuttal theory (or to correct my baseless assumption) is welcome...
Old school PowerBook G4 800Mhz Mac OS X (10.4.7)
Old school PowerBook G4 800Mhz Mac OS X (10.4.7)
I was having a similar problem. Are you using innerHTML or appending a childNode? I was appending a childNode each time but trying to use the same ID without deleting the first one. Here is how I solved mine with some help from ##javascript on freenode.
var removeMe = document.getElementById('someID');
if(removeMe){ removeMe.parentNode.removeChild(removeMe); }
then proceed with your ajax routine.
Similar Messages
-
Problem loading data from the PSA to the InfoCube
Hello experts.
I'm having a problem loading data from the PSA to the InfoCube.
I'm using a DTP for this process but is happening the following error:
"Diagnosis
An error occurred while executing the transformation rule:
The exact error message is:
Overflow converting from''
The error was triggered at the point in the Following Program:
GP4KMDU7EAUOSBIZVE233WNLPIG 718
System Response
Processing the record date has Been terminated.
Procedure
The Following is additional information included in the higher-level
node of the monitor:
Transformation ID
Data record number of the source record
Number and the name of the rule Which produced the error
Procedure for System Administration
Have already created new DTP's deactivate and reactivate the InfoCube, the transformation, but solves nothing.
Does anyone have any idea what to do?
Thank you.HI,
Is it a flat file load or loading frm any data source?
try to execute the program GP4KMDU7EAUOSBIZVE233WNLPIG 718 in Se38 and check if its active and no syntax errors are there.
Check the mapping of the fileds in transformations weather
some data fileds are mapped to decimal or char 32 filed is mapped to Raw 16
or calweek, calmonth mapped to calday etc.
Check in St22 if there any short dumps ..
Regards
KP -
Problem – loading HTMLtext from a text file
Problem – loading HTMLtext from a text file
Hi, I have a dynamic text set up to render text as HTML and I
am loading the text into the text object by using the code below.
var loadText:LoadVars = new LoadVars();
loadText.load("Nyheter.txt");
loadText.onLoad = function(success){
if(success){
Nyheter_txt.htmlText = this.VariabelTekst;
The textfile looks like:
VariabelTekst=<p align
="Right">(13.11.2006)</p><p><b><font
size="12">This is the tittle</b></p><p>Here
comes the text</p>
It works almost fine but the first problem is that the
paragraph text in the textfile should be written in Norwegian. This
involves some Nordic characters. By default these characters are
just shown as small square in the text control when running the
flash file. If I try to enter these characters in the textbox
“Include these characters” within the dialog for
embedding, the text within the bold tag of the text file is not
shown when the text is rendered. It looks as if it effect the HTML
rendering of the text. The Nordic characters are still not showing
but instead the small square placeholders for the characters are
gone.
Am I doing it wrong, or is there a work around for solving
this problem?
Any ideas?
TIRislaaProblem – loading HTMLtext from a text file
Hi, I have a dynamic text set up to render text as HTML and I
am loading the text into the text object by using the code below.
var loadText:LoadVars = new LoadVars();
loadText.load("Nyheter.txt");
loadText.onLoad = function(success){
if(success){
Nyheter_txt.htmlText = this.VariabelTekst;
The textfile looks like:
VariabelTekst=<p align
="Right">(13.11.2006)</p><p><b><font
size="12">This is the tittle</b></p><p>Here
comes the text</p>
It works almost fine but the first problem is that the
paragraph text in the textfile should be written in Norwegian. This
involves some Nordic characters. By default these characters are
just shown as small square in the text control when running the
flash file. If I try to enter these characters in the textbox
“Include these characters” within the dialog for
embedding, the text within the bold tag of the text file is not
shown when the text is rendered. It looks as if it effect the HTML
rendering of the text. The Nordic characters are still not showing
but instead the small square placeholders for the characters are
gone.
Am I doing it wrong, or is there a work around for solving
this problem?
Any ideas?
TIRislaa -
Problem loading Applets from Jar files on 64 bit machine
I am developing an applet (extends Applet but uses swing components) using JDK 1.6 (Though these problems still happen in JDK 1.7) and I am unable to get the applet to load on a 64 bit machine in most cases. The web server(s) are running on localhost and I am connecting on the same machine using a local network ip address (such as 192.168.*.*)
Below are all of my test results. Can someone provide a suggestion for repairing this? The Windows Server machine is a clients computer I access to it via remote desktop but I can't do much with it though I do have administrator rights. The Windows 7 machine is my development platform so I have been able to do extensive testing on it.
This problem is presenting in the following environments when trying to load an applet from JAR files in a HTML document using the Applet or Object tag.
Windows Server 2008 (Intel Chipset)
Tested Browsers:
Internet Explorer 9 (32 bit) - Shows it is blocked by default then simply shows an x when loaded from a web page, same result when loading from local drive.
Windows 7 Home Premium (AMD Chipset)
Tested Browsers:
Firefox 6.0.1 (32 bit) - Java logo shows with spinner, after a few minutes there is finally an error that a class in the jar was not found
Internet Explorer 9 (32 bit) - Java logo shows with spinner, after a few minutes there is finally an error that a class in the jar was not found
Internet Explorer 9 (64 bit) - Java logo shows with spinner and most of the windows desktop manager freezes, keyboard is the only thing that responds so you can alt-tab to another app to regain control of the desktop.
Chrome (32 bit) - Java logo shows with spinner, after a few minutes there is finally an error that a class in the jar was not found
The only way I have been able to get a Java applet to run on a 64 bit machine are the following ways.
Firefox 9 nightly (64 bit) works perfectly! Go Firefox!
Internet Explorer 9 (32 bit) loading directly from drive (c:\...)
Chrome (32 bit) loading directly from drive (c:\...)
Firefox 6.0.1 (32 bit) loading directly from drive (c:\....)
Can someone please help! I've been fighting with this bug for over a week and I can't find anything that will solve it, I have noticed that in some cases if my jar has very little code in it than it will run on the server, but the minute I start adding things to it the jar won't load anymore.jschell wrote:
rritoch wrote:
I am developing an applet (extends Applet but uses swing components) using JDK 1.6 (Though these problems still happen in JDK 1.7) and I am unable to get the applet to load on a 64 bit machine in most cases.
To clarify...
1. You have tried it on 32 bit machine? Exactly which OS?I tested this on Windows Vista Business which is in 32 bit mode and the applets run without any problems
>
2. Your only 64 bit tests have involved 2008/Win7?
If so then I would suspect something with windows not java. Probably permissions.
The web server(s) are running on localhost and I am connecting on the same machine using a local network ip address (such as 192.168.*.*)
Yes, I haven't tried running the jars on other operating systems.
>
I don't understand that. If you are running on localhost then you should connect to localhost. If running on an IP then you should connect to that. Perhaps you meant that you have tested using both of those?I'm testing using the lan ip address but I'm connecting from the same machine. I've tried localhost and that didn't work so I tried lan ip since that will likely have a different java security context than localhost. At first I was blaming the IIS server but I downloaded the jar directly and using HTTP fox was able to verify that the jar is being sent with the correct mime-type and that the server can upload the jar file without a problem. This leaves me to believe the problem is with Java. -
Problem loading images from a return value of a function
hello, I write because I uin problem in loading images from a return value of a function.
I created a database with a field "image" of type string, where I put the physical address of the image. I have written like this: {__DIR__ }foto.jpg
Place the code, so you understand better
function imageViewImage(): javafx.scene.image.Image {
connetti();
lass.forName(driverName);
con = DriverManager.getConnection(url,user,"");
stmt = con.createStatement();
var richiesta:String = "SELECT image from viaggio WHERE id_viaggio=7";
rs1 = stmt.executeQuery(richiesta);
var result :String;
rs1.next();
risultato = rs1.getString("image");
JOptionPane.showMessageDialog(null, result);
var imagez = Image{
url:"{result}";
return imagez;
The image is in the source code package
First I connect to the database, run the query and I take the contents of the image.
Can anyone help me?
Is right to put in the database {__DIR__} foto.jpg or do I put only foto.jpg?Hello unkus_nob,
I would rather suggest you to save only filename of that image like "foto.jpg" in database. And just concat it with the String variable containing "{__DIR__}".
Actually the javafx compiler converts the {__DIR__} to the existing class directory path something like : "jar:file:/..../".
var currentDir ="{__DIR__}";
risultato = "{currentDir}{rs1.getString("immagine"})";
var image = Image{
url:risultato
return image;--NARAYAN G. -
Problems selecting elements from arrays
I'm having difficulty selecting indexed elements from a array of nodes. I have seen this issues discussed in a number of threads but none address the specific issue which I have encountered.
Previously in version 10.1.2 I constructed a XPath query and then used the BPEL getVariableData function to obtain the element I was after but this doesn't appear to be supported the same way in 10.1.3.1.
I'm using the following expression
bpws:getVariableData('VariableDBResult',bpws:getVariableData('xpath'))
and when I try to compile I get the following error
Error(243):
[Error ORABPEL-10085]: invalid argument
[Description]: in line 243 of "C:\....", the second argument "bpws:getVariableData("xpath")" for getVariableData is not a literal expression.
[Potential fix]: Please correct the second argument, you might need to escape using single quote or " to make it literal.
I used the same code in 10.1.2 and it compiled fine.
For reference the XPath is formed as follows
concat('/ns3:Result/ns3:t/ns3:c/ns3:e[',bpws:getVariableData('loop'),']')
But the error occurs at compile time not run time so I suspect the way the xpath is formed would not affect the compile
I'm suspecting the problem has something to do with the fact that I'm using the function without the optional "pat name" the variable "VariableDBResult" is defined by a schema not a WSDL message type. I have compiled the Array sample 112 which used a part name and it works but in my case without the part name it fails.
I attempted to cast the expression to a string and use a string variable, all to no avail.
Any help or suggestions will be greatly appreciated.
Regards
GraemeHas anybody got around this issue...I searched the forums but allI could get it unresolved threads pointing to this problem
getVariableData is not a literal expression
Re: getVariableData is not a literal expression
Literal function error
Literal function error
I want to mention that its a compile time issue and I am using Jdev 10.1.3.4 -
Problem loading image from jar file referenced by jar file
First, I searched this one and no, I didn't find an answer. Loading images from jar files has been pretty much done to death but my problem is different. Please read on.
I have my application, a straight up executable running from Eclipse. It uses a jar file, call it JarA. JarA launches a GUI that is located in another jar file. Call it JarB. To recap:
My application calls JarA -> JarA loads classes from JarB -> JarB looks for images to place in a GUI it wants to show on the screen
When JarB goes to load an image the following happens:
java.lang.NullPointerException
at sun.misc.URLClassPath$3.run(URLClassPath.java:316)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:313)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:290)
at sun.misc.URLClassPath.findResource(URLClassPath.java:141)
at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
at java.lang.ClassLoader.getResource(ClassLoader.java:977)
at org.cubrc.gmshell.gui.MainWin.preInit(MainWin.java:152)
at org.cubrc.gmshell.gui.MainWin.<init>(MainWin.java:135)
The code from JarB that loads the image looks like this:
URL[] oSearch = {Main.class.getResource("images/")};
URLClassLoader oLoader = new URLClassLoader(oSearch);
imgIcon = new ImageIcon(oLoader.getResource("icon.gif"));
imgMatchRunning = new ImageIcon(oLoader.getResource("gears.gif"));
imgMatchStill = new ImageIcon(oLoader.getResource("gears-still.gif"));
imgMagnify = new ImageIcon(oLoader.getResource("magnify.gif"));This looks right to me and JarB certainly has an images directory with those files. But I'm in hell right now because I don't know where to place the images to make this work or if you can even attempt to load images with a dependency chain like this.
Any help very appreciated!Have you tried to move your image-files out of the jar file and place them in the sam folder as the jar-file? I think that would help.
When you try to load the image-file you get the NullPointerException because the program tries to read a file it can't find. Remember that a jar file IS a file and not a directory.
If you want to read somthing inside the jar-file you need to encode it first.
Have you tried to read the jar-file with winRar. It makes it easy to add and remove files in your jar-file. -
Problem loading applet from tomcat
I am facing a problem loading the batik applet from tomcat. I have placed all the jar files of batik in ROOT directory in tomcat. Along with the folder containing the batik applet. Still i receive the following exception when trying to load the html page containing batik applet.
Applet tag in html page is:
<applet codebase = "." code="batik_applet.BatikApplet.class" name="myApplet" width="1600" height="1200" hspace="0" vspace="0" align="middle" archive="batik-swing.jar,batik-gvt.jar,batik-bridge.jar,xml-apis-ext.jar,batik-css.jar,batik-util.jar,batik-dom.jar,batik-svg-dom.jar,batik-anim.jar,batik-awt-util.jar,batik-codec.jar,batik-ext.jar,batik-extension.jar,batik-gui-util.jar,batik-parser.jar,batik-script.jar,batik-svggen.jar,batik-transcoder.jar,batik-xml.jar,js.jar,pdf-transcoder.jar,xalan-2.6.0.jar,xerces_2_5_0.jar,xml-apis.jar">
</applet>
I already have a folder named batik_applet containing BatikApplet.class in the ROOT directory.
========Exception===========
network: Connecting http://localhost:8080/servlet/batik_applet/BatikApplet.class with proxy=DIRECT
network: Connecting http://localhost:8080/servlet/batik_applet/BatikApplet.class with cookie "JSESSIONID=1A75299B77372108560B4DF8DC65A3A6"
network: Connecting http://localhost:8080/servlet/batik_applet/BatikApplet/class.class with proxy=DIRECT
network: Connecting http://localhost:8080/servlet/batik_applet/BatikApplet/class.class with cookie "JSESSIONID=1A75299B77372108560B4DF8DC65A3A6"
load: class batik_applet.BatikApplet.class not found.
java.lang.ClassNotFoundException: batik_applet.BatikApplet.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Exception: java.lang.ClassNotFoundException: batik_applet.BatikApplet.class
Any help would be appreciated.Assuming that your applet is not in a jar file (don't see a value for archive)
you have a file callsed ProcessStatus.class in a folder WEB-INF\classes relative to
the location of the jsp file.
So if the jsp file is in
myJSPFileFolder
the class should be in:
myJSPFileFolder\WEB-INF\classes
If you want to see when the jre is trying to load and where it it trying to load it from you
can inspect a full trace, to turn the full trace on (windows) you can start the java console, to be found here:
C:\Program Files\Java\j2re1.4...\bin\jpicpl32.exe
In the advanced tab you can fill in something for runtime parameters fill in this:
-Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|security|ext|liveconnect
if you cannot start the java console check here:
C:\Documents and Settings\userName\Application Data\Sun\Java\Deployment\deployment.properties
I think for linux this is somewhere in youruserdir/java (hidden directory)
add or change the following line:
javaplugin.jre.params=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
for 1.5:
deployment.javapi.jre.1.5.0.args=-Djavaplugin.trace\=true -Djavaplugin.trace.option\=basic|net|security|ext|liveconnect
The trace is here:
C:\Documents and Settings\your user\Application Data\Sun\Java\Deployment\log\plugin...log
I think for linux this is somewhere in youruserdir/java (hidden directory)
The trace should show something like :
Caused by: java.io.FileNotFoundException: http://server/location/filename.class (The system cannot find the path specified) -
Problem loading page from main server
I have an Ipod Touch that worked well for the first few weeks and I have used it in a variety of wifi situations. The problem I am having now is related to my email server (Orange: the France Telecom Internet server). I was having problems loading the main log-on page and turned off the Java Script, Plug-Ins, and Block-pop ups in the General settings to be able to get the main page. I can log in and Orange recognizes me as a client, but when I try to get my messages, I get a blank page and nothing more.
I seem to be able to surf the Orange site for any other information except direct access to my e-mails. Is this a Touch problem (possibility a setting?) or more an Orange problem?
Thanks for any help!Regardless of what problem it is, I decided get around it and to forward my messages from my main server to Yahoo and then have them download to the Ipod Touch through mail: it works!
-
Problems loading Elements 10 editor workspace on Windows 8
I recently reinstalled Elements 10 on my new Windows 8 laptop, but can't get the editor workspace to load. I get the message: unable to continue because of a hardware or system error. Sorry but this error is unrecoverable.
I contacted Adobe chat support, but they were unable to resolve the issue. Does anyone else have a solution?The laptop is a 64 bit. As far as I can tell the installation was complete - the icon appeared on the desktop and opens the welcome screen. The only option I have when I run setup.exe is to uninstall the program. I tried to install it on another laptop running Windows 7 to see if the problem might be with the laptop running Windows 8, but I came up with the same message: "unable to continue because of a hardware or system error. Sorry but this error is unrecoverable."
Re. your previous question about PhototshopElementsEditor.exe. Would it be possible to copy it from my PC to the laptop? -
Problem loading JPEGs from network drive?
Hi,
I'm having a rather frustrating problem with Bridge\Lightroom 2 which I think is due to ACR 4.5, and I'm hoping someone here may be able to offer some advice:
When opening (in bridge) or importing (in Lightroom) a network share containing JPEG images the majority of the previews\thumbnails are corrupted.
This screenshot illustrates the problem in bridge (http://www.amirkamal.com/acrbug.jpg). As you can see the thumbnails are corrupt as is the preview, however the magnifier tool on the preview window shows the /true/ image. The irfanview window, in the lower right corner, shows what the image should look like, demonstrating that the JPEG itself is not corrupt.
If I were to import this directory into Lightroom the same problem is present, although the form of the actual image corruption (or even the number of images corrupted) may be different. It also persists through to the develop module as well, making lightroom completely unusable.
If I disable the 'Prefer Adobe Camera Raw for JPEG and TIFF files' option in Bridge then previews are rendered correctly, which is what leads me to believe that ACR is the problem and not Bridge or Lightroom. This would be an acceptable work around for Bridge, but obviously isn't possible for Lightroom.
Also, if I copy the JPEGS locally and then import\view them the problem does not occur. The seems only to affect JPEGs: TIFF and Raw (Canon 350d .CR2) files do not show this problem.
It almost seems as if ACR is trying to process the JPEGs before they have been completely loaded, and thus ends up rendering garbage.
Has anyone else seen this problem before, or have any idea how to fix it?
My system specs are below incase they offer any clues,
thanks
ak
Local machine:
Adobe Bridge CS3 2.1.1.9
Adobe PhotoShop Camera Raw 4.5.0.175
Windows XP 32bit SP2
Intel Pentium 4 D @ 3.3GHz
2Gb RAM
nVidia 7950GT with latest (175.19) drivers
Images stored on:
Windows Server 2k3 R2
Intel Celeron D @ 3Ghz
1Gb RAM
RAID 5 Array
Connected over a 100mbps networkI have never worked on image files which are located remotely in a network ... but I noticed a higher probability of problems occurring when working with Bridge on external hard disk drives connected via USB 2.0. So I acquired the habit of copying the folder of images I plan to work on to an internal hard disk drive and do the work there. When I'm done then I'll copy the whole folder (or at least the modified files therein) back to where it came from.
-- Olaf -
Problem loading Flatfile from application server to DSO
Hello,
I've a little problem while loading a Flatfile (csv) from the application server to a DSO. The Flatfile has only one data record and a header.
But in the DSO are always two data records, the right one and one empty record.
If I use the same Data Source and the same DTP and switch it to upload from the workstation there is just one data record. (What would be right).
I'm using the upload without PSA in Full-Update-Mode.
I tried to create a new Data Source, but same effect.
Thanks in advance,
TG
System: SAP EHP 1 for SAP NetWeaver 7.0Not sure about it, and in absence of sufficient information I can only guess.
But somehow it looks like the well-known problem of files being changed in transfer between Unix (your application server I guess ) and Windows (your workstation I guess ).
Try to find out correct transfer method, asc or bin, or whatever you call it.
I hope this helps.
And in case my advice is nonsense: Don't blame me. -
Problem loading fonts from ID3 to ID CS5...
Hello,
My company just upgraded from In Design 3 to In Design CS5 and I have tried to load some fonts from the previous version. I keep getting blocked. I drag and drop the fonts and I get this error message:
ERROR MOVING FILE OR FOLDER
CANNOT MOVE (SPECIFIC TEXT) ACCESS IS DENIED.
MAKE SURE THE DISK IS NOT FULL OR WRITE-PROTECTED
AND THAT THE FILE IS NOT CURRENTLY IN USE.
My co-worker has done the same thing and has had no problem. I've sent in a help desk ticket, but that was a while ago so I thought I'd give you a try.
Thanks in advance
CS InDesign 5.5
Microsoft Windows XP
Professional x64 Edition
Version 2003
Service Pack 2
Intel(R) core(TM)2 Extreme
CPU Q6850 @ 3.00GHz
2.99 GHz. 8.00 GB of RAMThis is not an InDesign issue, it’s a system issue and you should take very serious note that XP64 is completely unsupported.
Bob -
PROBLEM LOADING DATA FROM A TEXT FILE.
Hi,
Im having a problem in loading my csv file to the database. Im using Oracle Database 10g for Linux. Im in p. 228 in the book. This is my csv file look.
db_name db_version host_id
db10 9.2.0.7 1
db11 10.2.0.1 1
db12 10.2.0.1 1
db13 9.2.0.7 1
db14 10.2.0.1 1
db15 9.2.0.7 1
I loaded this data to an existing table called DATABASES loaded from tab delimited. FILE CHARACTER SET is UNICODE UTF-8. Then I browsed the name of the csv file to be uploaded. It looked like this.
File Name F23757437/db2.csv Reupload File
Separator
Optionally Enclosed By
First row contains column names.
File Character Set
I CLICKED NEXT, THIS IS WHAT IT LOOKED LIKE.
Schema: HANDSONXE06
Table Name: DATABASES
Define Column Mapping
Column Names %
Format
Upload yes
Row 1 "db10" "9.2.0.7" 1
Row 2 "db11" "10.2.0.1" 1
Row 3 "db12" "10.2.0.1" 1
Row 4 "db13" "9.2.0.7" 1
Row 5 "db14" "10.2.0.1" 1
Row 6 "db15" "9.2.0.7" 1
I CLICKED LOAD AND THIS WAS THE RESULT.
* There are NOT NULL columns in HANDSONXE06.DATABASES. Select to upload the data without an error.
Schema
Down
Table Name
Down
File Details
Down
Column Mapping
Load Data
Schema: HANDSONXE06
Table Name: DATABASES
Define Column Mapping
Column Names COLUMN_NAMES
Format FORMAT
Upload UPLOAD
Row 1 "db10" "9.2.0.7" 1
Row 2 "db11" "10.2.0.1" 1
Row 3 "db12" "10.2.0.1" 1
Row 4 "db13" "9.2.0.7" 1
Row 5 "db14" "10.2.0.1" 1
Row 6 "db15" "9.2.0.7" 1
I WAS REALLY WONDERING WHAT WAS REALLY WRONG. AN ERROR MESSAGE SAID, THERE ARE NOT NULL COLUMNS IN THE HANDSONXE06.DATABASES. I DIDN'T KNOW HOW TO FIX IT. WHAT DO I NEED TO CHANGE TO LOAD THE DATA WITHOUT AN ERROR? IT REALLY CONFUSED ME A LOT AND HOW COME I HAVE AN ERROR? PLEASE HELP ME. I NEED AND ANSWER TO MY PROBLEM PLEASE. I CANNOT GO FORWARD BECAUSE OF THIS.
THANKS,
JOCELYNI'm not certain of the utility you are using to load the data, however, I completed the following test using SQL Loader to insert the data into my table. Your process should work similar if the trigger and sequence are created for the table you are loading.
SQL> create table load_tbl
2 (db_id number(3) not null,
3 db_name varchar2(100) not null,
4 db_version varchar2(25),
5 host_id number(3) not null)
6 /
Table created.
SQL> desc load_tbl
Name Null? Type
DB_ID NOT NULL NUMBER(3)
DB_NAME NOT NULL VARCHAR2(100)
DB_VERSION VARCHAR2(25)
HOST_ID NOT NULL NUMBER(3)
SQL> create sequence db_id_seq;
Sequence created.
SQL> create or replace trigger db_id_trig
2 before insert on load_tbl
3 for each row
4 when (new.db_id is null)
5 begin
6 select db_id_seq.nextval into :new.db_id from dual;
7 end;
8 /
Trigger created.
The contents of the data file, control file and log file are below for the load into load_tbl.
C:\>sqlldr userid=username/password@db control=db_id_load.ctl log=db_id_load.log
SQL*Loader: Release 9.2.0.6.0 - Production on Thu Jan 18 17:21:47 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Commit point reached - logical record count 6
C:\>
SQL> select * from load_tbl
2 /
DB_ID DB_NAME DB_VERSION HOST_ID
1 db10 9.2.0.7 1
2 db11 10.2.0.1 1
3 db12 10.2.0.1 1
4 db13 9.2.0.7 1
5 db14 10.2.0.1 1
6 db15 9.2.0.7 1
6 rows selected.
SQL>
Data File"db10" "9.2.0.7" 1
"db11" "10.2.0.1" 1
"db12" "10.2.0.1" 1
"db13" "9.2.0.7" 1
"db14" "10.2.0.1" 1
"db15" "9.2.0.7" 1
Control FileLOAD DATA
INFILE "C:\db_id_load.dat"
APPEND INTO TABLE load_tbl
FIELDS TERMINATED BY WHITESPACE OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(db_name CHAR,
db_version CHAR,
host_id "TO_NUMBER(:host_id,'99999999999')"
Log FileSQL*Loader: Release 9.2.0.6.0 - Production on Thu Jan 18 17:21:47 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Control File: db_id_load.ctl
Data File: C:\db_id_load.dat
Bad File: db_id_load.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table LOAD_TBL, loaded from every logical record.
Insert option in effect for this table: APPEND
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
DB_NAME FIRST * WHT O(") CHARACTER
DB_VERSION NEXT * WHT O(") CHARACTER
HOST_ID NEXT * WHT O(") CHARACTER
SQL string for column : "TO_NUMBER(:host_id,'99999999999')"
Table LOAD_TBL:
6 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 49536 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 6
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Thu Jan 18 17:21:47 2007
Run ended on Thu Jan 18 17:21:47 2007
Elapsed time was: 00:00:00.39
CPU time was: 00:00:00.13 -
Problems loading Elements 10 -
it had been working fine this morning,now it won't open.
Organiser seems to be working ok.It says that Runtime has tried to close the program in an unusual way. Windows looks for a solution, but then closes the program. It was the same whichever way I opened it.
This morning I can't open Organiser either. I had reset the setting to open Organiser rather than the welcome screen, as that was the only way I could get to Organiser otherwise. It takes forever to load, then I get this error message
[Window Title]
Elements 10 Organizer
[Main Instruction]
Elements 10 Organizer is not responding
[Content]
Windows is checking for a solution to the problem...
[Cancel]
and it closes down.
I hope the next response is a little swifter than the last. I am in the middle of an important project. I have an unusable project and it's impossible to contact someone.
Maybe you are looking for
-
BI_SDK_XMLA J2ee project - Can't get instance from Connection Factory
Hi: The code: initctx = new InitialContext(); connectionFactory=(IConnectionFactory) initctx.lookup("java:comp/env/" + "SDK_XMLA"); At debug time I watch: initctx.lookup("java:comp/env/" + "SDK_XMLA")"= XmlaConnectionFactory (id=333) m_connectionMana
-
Costing/accounting views necessary for subcontracting process?
We get materials from a customer for packaging. Over the whole process the customer is the owner of the material and we just charge the costs for packaging. We create a sales order which collects all the costs regarding this process. After creating t
-
Finder does not show new files with older creation dates
Short story: when I somehow create new files or folders with older dates, Finder does not show them. This happens e.g. when I unrar archives created some time ago: the files or folders coming out of the archive get their original date, which is earli
-
Nokia 202 default apps problems
My nokia 202 some application are deleted. Chat, social app is facebook this apps provided by nokia and not available anywhere and other are nokia browser and nokia store. I also update my software via nokia suite and nokia software updater but it no
-
Message; Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page. - try removing one or more tabs that you think may be causing the problem - startin an entirely new browsing session Neither wo