Please help on RandomAccessFile
Hi all,
I need help with RandomAccessFile. I have looked everywhere without success. Here is what I want to do: I create a file that I want to update through my program. The change must occur at a specific location. This is why I use RandomAccess.
Assume the file is like that
1.Task: one
2.Date:
3.Assigned to: Paul
4.Resolve:literal
5.Yat:never
Now if the user wants to reassign a task to "Robert" or maybe add another person to the task , line 3 of the same file must be updated. It should look like:
1.Task: one
2.Date:
3.Assigned to: Paul,Robert
4.Resolve:literal
5.Yat:never
I first read the file in. If I hit line 2, I record the file pointer and break out of the loop. then the I type the following code:
RandomAccessfile write = new RandomAccessFile(File toUpdate,"rw");
.......// I read in here up to line 2. Then I do...
String newLine = oldLine+","+newAssignedName;
byte [ ] infos = newLine.getBytes();
ecrire.seek(pointer);
ecrire.write(infos,0,infos.length-1); //I rewrite the entire line
ecrire.close();After I do this the file looks like this
1.Task: one
2.Date:
3.Assigned To: Paul,Robertsolve:literal
5.Yat:never
if I change the statement ecrire.write(infos,0,infos.length-5); or somewhere close to that, it does not print less and less of the Paul,Robert part and more of the next line.
It somehow, grabs the next line and overwrites it as well. I dont know where else to turn. I have gone over and over again on the API but the methods that would seem the most logic to use do not work.
Please help
Sorry its so long.
Thanks java.lang
Ok then the only option I have is to delete the file and create a new one with all the information that I'll probably need to save before hand. This is a big waste of time.
Mwell thanks, at least I wont waste my time looking anymore.
Thanks
Similar Messages
-
Please help...Its really urgent- Which class to use for this?
Can someone help me with this? I want to read characters from a file
Ultimately I want to load some information from a text file which has information like this:
0123456789
0
1
4
10
X0123456789
01202120212
11202120212
20212021202
I want to load the information from X onwards .. all the rows and columns in a 2D array..
I am not able to read the file at all ...
I tried RandomAccessFile, BufferedReader..... They had problems.....what class sould I use.. any if you can give hints how I can reach X and start reading to 2d array...... It will be really very very helpful........
Please help......Hi...
See this is the partial code
class LanguageRecognizer
String word;
String fileName;
BufferedReader reader;
char transitionTable[][];
char letters[];
char startState;
char endStates[];
int rows;
int columns;
public void getFileName(String fileName_)
/********** Create File Objects to read file ******************************/
try{
this.fileName = fileName_;
java.io.BufferedReader reader = new java.io.BufferedReader(new FileReader(fileName));
/***** Read File **************/
int i;
int X = 0;
/** as long as its not the EOF **/
while((i=reader.read()) != -1)
//Print all characters
System.out.println((char)i);
if (((char)i)=='X')
X = i;
System.out.println("X is at "+(char)i);
}//if
}//while
catch(Exception e)
e.printStackTrace();
/**Call Prompt user and ask user to enter a word****************************/
promptUser();
}//getFileName()When I say
The while loop prints this file containing:
0123456789
0
1
4
10
X0123456789
01202120212
11202120212
20212021202
But it prints it in this format :
0
1
2
3
4
5
6
7
8
9
//Want to take this in the letter[]
0 //want to take this as the startstate
1 // This is the end state which could be more than one so in endState[]
4 // This is the number of rows in the transition table
1 // This is columns
0
//This is the transition table that I want in a 2D array......
X // This is the X printed with the if() in the code
X
0
1
2
3
4
5
6
7
8
9
0
1
2
0
2
1
2
0
2
1
2
1
1
2
0
2
1
2
0
2
1
2
2
0
2
1
2
0
2
1
2
0
2
So I want to capture each letter typed in arrays.......But I am not able to seperate them and get them in my datatypes... atleast not using this class BufferedReader.... so can I use this class and get it or which class can I use?? -
Urgent, OutOfMemoryError, please help !!!
Guru,
I receive the following program from GNome, which scan and save multipage tiff image. But the program cannot scan more than 16 pages, it has 'java.lang.OutOfMemoryError'. Is there a way to solve this problem, please help as soon as possible.
Here is the code:
* $Id: Example9.java,v 1.8 2002/07/15 13:48:55 mmotovsk Exp $
* Copyright (c) 1999-2002 Gnome spol. s r.o. All Rights Reserved.
* This software is the confidential and proprietary information of
* Gnome spol. s r.o. You shall not disclose such Confidential
* Information and shall use it only in accordance with the terms
* of the license agreement you entered into with Gnome.
// JavaTwain package version 5.0
Example9 demonstrates scanning multiple images with
Automatic Document Feeder and saving them in multi-page tiff image .<BR>
import javax.media.jai.*;
import java.io.*;
import com.sun.media.jai.codec.*;
import java.awt.*;
import SK.gnome.twain.*;
import java.awt.image.*;
import java.util.Vector;
public class Example9 extends Component
{ static int pageNumber = 0;
static Vector bufferedImages = new Vector();
public void addToBufferedImages(Twain source)
{ Image image = Toolkit.getDefaultToolkit().createImage(source);
MediaTracker tracker = new MediaTracker(this);
tracker.addImage(image, 0);
try
{ tracker.waitForAll();
catch (InterruptedException e)
{ e.printStackTrace();
int width = image.getWidth(null);
int height = image.getHeight(null)+20;
BufferedImage bimg = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
bimg.createGraphics().drawImage(image, 0, 0, null);
bufferedImages.add(bimg);
public void saveAsMultipageTIFF(Vector images, String file) throws IOException
{ if (images.size() < 1)
return;
RenderedImage firstImage = (RenderedImage)images.get(0);
images.remove(0);
OutputStream out = new SeekableOutputStream(new RandomAccessFile(file,"rw"));
TIFFEncodeParam param = new TIFFEncodeParam();
ImageEncoder encoder = ImageCodec.createImageEncoder("TIFF", out, param);
System.err.println(1);
if (images.size() > 0)
{ param.setExtraImages(images.iterator());
System.err.println(2);
encoder.encode(firstImage);
System.err.println(3);
out.close();
public static void main(String[] args) throws Exception
{ Example9 ex = new Example9();
Twain twain = new Twain();
twain.setFeederEnabled(true);
twain.setAutoFeed(true);
do
{ ex.addToBufferedImages(twain);
while (twain.hasMoreImages());
ex.saveAsMultipageTIFF(bufferedImages, "multipage.tiff" );
}Many thanks in advance.* This software is the confidential and proprietary
information of
* Gnome spol. s r.o. You shall not disclose such
Confidential
* Information and shall use it only in accordance
with the terms
* of the license agreement you entered into with
Gnome.oo you bugger, your in trouble now. -
Client server code with errors could some one please help me!!!
I am using a random access file to design the two interfaces for my client and my server is this the right thing to do? Oh could some one give me some example code of client server interfaces.
I got an error in the code for the interfaces and I don't know what it is could some one please help me!!
Heres the error in the code: This is for RegisterCustomer
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
class RegisterCustomer extends JPanel implements ActionListener
// Button for registering a customer
private JButton jbtRegister;
// Customer information panel
private CustomerPanel customerPanel; (The error is on this line and it says Field type customer panel is missing)
// Random access file
private RandomAccessFile raf;
Second error: Its in the ViewCustomer:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
// View customer panel
class ViewCustomer extends JPanel implements ActionListener
// Buttons for viewing customer information
private JButton jbtFirst, jbtNext, jbtPrevious, jbtLast;
// Random access file
private RandomAccessFile raf = null;
// Current customer record
private Customer customer = new Customer();
// Create a customer panel
private CustomerPanel customerPanel = new customerPanel(); (its on this line and it says field type CustomerPanel is missing)
// File pointer in the random access file
private long lastPos;
private long currentPos;
Heres the code for the customerPanel:
// Customer Panel.java: Panel for displaying Customer information
import javax.swing.*;
import javax.swing.border.*;
import java.awt.*;
public class customerPanel extends JPanel
JTextField jtfRegistrationnumber = new JTextField(30);
JTextField jtfSeatingcapacity = new JTextField(20);
JTextField jtfStartdateofhire = new JTextField(20);
JTextField jtfDurationofhire = new JTextField(10);
JTextField jtfManufacture = new JTextField(20);
JTextField jtfModel = new JTextField(15);
JTextField jtfEnginesize = new JTextField(15);
JTextField jtfCharge = new JTextField(20);
JTextField jtfMileage = new JTextField(10);
// Constuct a customer panel
public customerPanel()
// Set the panel with line border
setBorder(new BevelBorder(BevelBorder.RAISED));
// Panel p1 for holding all the labels
JPanel p1 = new JPanel();
p1.setLayout(new GridLayout(3, 1));
p1.add(new JLabel("Registration number"));
p1.add(new JLabel("Seating capacity"));
p1.add(new JLabel("Start date of hire"));
p1.add(new JLabel("Duration of hire"));
p1.add(new JLabel("Manufacture"));
p1.add(new JLabel("Model"));
p1.add(new JLabel("Engine size"));
p1.add(new JLabel("Charge"));
p1.add(new JLabel("Mileage"));
// Panel jpRegistration number for registration number
JPanel jpRegistrationnumber = new JPanel();
jpRegistrationnumber.setLayout(new BorderLayout());
jpRegistrationnumber.add(new JLabel("Registration number"), BorderLayout.WEST);
jpRegistrationnumber.add(jtfRegistrationnumber, BorderLayout.CENTER);
// Panel jpSeating capacity for holding Seating capacity
JPanel jpSeatingcapacity = new JPanel();
jpSeatingcapacity.setLayout(new BorderLayout());
jpSeatingcapacity.add(new JLabel("Seating capacity"), BorderLayout.WEST);
jpSeatingcapacity.add(jtfSeatingcapacity, BorderLayout.CENTER);
// Panel jpStart date of hire for holding start date of hire
JPanel jpStartdateofhire = new JPanel();
jpStartdateofhire.setLayout(new BorderLayout());
jpStartdateofhire.add(new JLabel("Start date of hire"), BorderLayout.WEST);
jpStartdateofhire.add(jtfStartdateofhire, BorderLayout.CENTER);
// Panel jpDuration of hire for holding Duration of hire
JPanel jpDurationofhire = new JPanel();
jpDurationofhire.setLayout(new BorderLayout());
jpDurationofhire.add(new JLabel("Duration of hire"), BorderLayout.WEST);
jpDurationofhire.add(jtfDurationofhire, BorderLayout.CENTER);
// Panel p2 for holding jpRegistration number and jpSeating capacity and start date of hire and duration of hire
JPanel p2 = new JPanel();
p2.setLayout(new BorderLayout());
p2.add(jpRegistrationnumber, BorderLayout.WEST);
p2.add(jpSeatingcapacity, BorderLayout.CENTER);
p2.add(jpStartdateofhire, BorderLayout.CENTER);
p2.add(jpDurationofhire, BorderLayout.CENTER);
// Panel p3 for holding jtfManufacture and p2
JPanel p3 = new JPanel();
p3.setLayout(new BorderLayout());
p3.add(jtfManufacture, BorderLayout.CENTER);
p3.add(p2, BorderLayout.EAST);
// Panel p4 for holding jtfModel, jtfEngine size, charge and mileage and p3
JPanel p4 = new JPanel();
p4.setLayout(new GridLayout(3, 1));
p4.add(jtfModel);
p4.add(jtfEnginesize);
p4.add(jtfCharge);
p4.add(jtfMileage);
p4.add(p3);
// Place p1 and p4 into customerPanel
setLayout(new BorderLayout());
add(p1, BorderLayout.WEST);
add(p4, BorderLayout.CENTER);
// Get customer information from the text fields
public Customer getCustomer()
return new Customer(jtfRegistrationnumber.getText().trim(),
jtfSeatingcapacity.getText().trim(),
jtfStartdateofhire.getText().trim(),
jtfDurationofhire.getText().trim(),
jtfManufacture.getText().trim(),
jtfModel.getText().trim(),
jtfEnginesize.getText().trim(),
jtfCharge.getText().trim(),
jtfMileage.getText().trim());
// Set customer information on the text fields
public void setCustomer(Customer s)
jtfRegistrationnumber.setText(s.getRegistrationnumber());
jtfSeatingcapacity.setText(s.getSeatingcapacity());
jtfStartdateofhire.setText(s.getStartdateofhire());
jtfDurationofhire.setText(s.getDurationofhire());
jtfManufacture.setText(s.getManufacture());
jtfModel.setText(s.getModel());
jtfEnginesize.setText(s.getEnginesize());
jtfCharge.setText(s.getCharge());
jtfMileage.setText(s.getMileage());
Could someone please help me and tell me what these two errors mean and how I could get rid of themCan some one take a look at this code and tell me how to get all my jlabels to line up alone side their jtf.
Because it looks like this the picture in the attached file and this is the code for it:
public customerPanel()
// Set the panel with line border
setBorder(new BevelBorder(BevelBorder.RAISED));
// Panel p1 for holding labels Name, Street, and City
JPanel p1 = new JPanel();
p1.setLayout(new GridLayout(5, 1));
p1.add(new JLabel("Registration Number:"));
p1.add(new JLabel("Seating Capacity:"));
p1.add(new JLabel("Engine Size:"));
p1.add(new JLabel("Start date of hire"));
p1.add(new JLabel("Duration of hire"));
JPanel p2 = new JPanel();
p2.setLayout(new GridLayout(5, 1));
p2.add(jtfRegistrationnumber);
p2.add(jtfSeatingcapacity);
p2.add(jtfEnginesize);
p2.add(jtfStartdateofhire);
p2.add(jtfDurationofhire);
//JPanel p3 = new JPanel();
//p3.add(p1, BorderLayout.WEST);
//p3.add(p2, BorderLayout.NORTH);
JPanel p4 = new JPanel();
p4.setLayout(new GridLayout(4, 1));
p4.add(new JLabel("Manufacture:"));
p4.add(new JLabel("Model:"));
p4.add(new JLabel("Mileage:"));
p4.add(new JLabel("Charge:"));
JPanel p5 = new JPanel();
p5.setLayout(new GridLayout(4, 1));
p5.add(jtfManufacture);
p5.add(jtfModel);
p5.add(jtfMileage);
p5.add(jtfCharge);
// JPanel p6 = new JPanel();
// p6.setLayout(new BorderLayout());
// p6.add(p4, BorderLayout.SOUTH);
// p6.add(p5, BorderLayout.EAST);
// Place p1 and p4 into CustomerPanel
setLayout(new BorderLayout());
add(p1, BorderLayout.WEST);
add(p2, BorderLayout.NORTH);
add(p4, BorderLayout.SOUTH);
add(p5, BorderLayout.EAST);
So could someone please help me and correct my code so that each text lable is lined up next to its jtf java text field. -
Hello,
I need help on how to use RandomAccessFile to read a file.
what i am doing is, creating a file wid the help of RandomAccessFile class and the file is successfully created. But i am unable to read from the file. I am providing the complete code through which i had created a file. Please help me knowing how to read the data from this file.
Details of code is :- user will enter a name and age which will be written in a file.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
public class CheckRandomAccessFile extends JFrame
JLabel lname, lage;
JTextField tname, tage;
JButton bwrite;
RandomAccessFile random;
public CheckRandomAccessFile()
super("Checking Random Access File");
Container c=getContentPane();
c.setLayout(new GridLayout(3,2));
lname=new JLabel("Name");
lage=new JLabel("Age");
tname=new JTextField(15);
tage=new JTextField(5);
bwrite=new JButton("Write");
c.add(lname);
c.add(tname);
c.add(lage);
c.add(tage);
c.add(bwrite);
bwrite.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent evt)
writeData();
setSize(100,200);
show();
public void writeData()
try
random=new RandomAccessFile("Test.txt","rw");
random.seek(random.length());
String data=tname.getText()+" "+tage.getText();
random.writeBytes(data);
random.close();
catch(IOException e)
JOptionPane.showMessageDialog(this,"Error Writting To The File","IO Error",JOptionPane.ERROR_MESSAGE);
finally
tname.setText("");
tage.setText("");
public static void main(String args[])
CheckRandomAccessFile ran=new CheckRandomAccessFile();
ran.addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent evt)
System.exit(0);
} Plz post the code through which i can read from this file.
Thank Uhttp://java.sun.com/j2se/1.5.0/docs/api/java/io/RandomAccessFile.html#read(byte[])
-
Problem with threads and simulation: please help
please help me figure this out..
i have something like this:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class DrawShapes extends JApplet{
private JButton choices[];
private String names[]={"line", "square", "oval"};
private JPanel buttonPanel;
private DrawPanel drawingArea;
private int width=300, height=200;
public void init(){
drawingArea=new DrawPanel(width, height);
choices=new JButton[names.length];
buttonPanel=new JPanel();
buttonPanel.setLayout(new GridLayout(1, choices.length));
ButtonHandler handler=new ButtonHandler();
for(int i=0; i<choices.length; i++){
choices=new JButton(names[i]);
buttonPanel.add(choices[i]);
choices[i].addActionListener(handler);
Container c=getContentPane();
c.add(buttonPanel, BorderLayout.NORTH);
c.add(drawingArea, BorderLayout.CENTER);
}//end init
public void setWidth(int w){
width=(w>=0 ? w : 300);
public void setHeight(int h){
height=(h>=0 ? h : 200);
/*public static void main(String args[]){
int width, height;
if(args.length!=2){
height=200; width=300;
else{
width=Integer.parseInt(args[0]);
height=Integer.parseInt(args[1]);
JFrame appWindow=new JFrame("An applet running as an application");
appWindow.addWindowListener(
new WindowAdapter(){
public void windowClosing(WindowEvent e){
System.exit(0);
DrawShapes appObj=new DrawShapes();
appObj.setWidth(width);
appObj.setHeight(height);
appObj.init();
appObj.start();
appWindow.getContentPane().add(appObj);
appWindow.setSize(width, height);
appWindow.show();
}//end main*/
private class ButtonHandler implements ActionListener{
public void actionPerformed(ActionEvent e){
for(int i=0; i<choices.length; i++){
if(e.getSource()==choices[i]){
drawingArea.setCurrentChoice(i);
break;
}//end class DrawShapes
class DrawPanel extends JPanel{
private int currentChoice=-1;
private int width=100, height=100;
public DrawPanel(int w, int h){
width=(w>=0 ? w : 100);
height=(h>=0 ? h : 100);
public void paintComponent(Graphics g){
super.paintComponent(g);
switch(currentChoice){
case 0: g.drawLine(randomX(), randomY(), randomX(), randomY());
break;
case 1: g.drawRect(randomX(), randomY(), randomX(), randomY());
break;
case 2: g.drawOval(randomX(), randomY(), randomX(), randomY());
break;
public void setCurrentChoice(int c){
currentChoice=c;
repaint();
private int randomX(){
return (int) (Math.random()*width);
private int randomY(){
return (int) (Math.random()*height);
}//end class drawPanel
That one's from a book. I used that code to start with my applet. Mine calls different merthod from the switch cases. Say I have:
case 0: drawStart(g); break;
public void drawStart(Graphics g){
/* something here */
drawMain(g);
public void drawMain(graphics g){
g.drawString("test", x, y);
//here's where i'm trying to pause
//i've tried placing Thread.sleep between these lines
g.drawLine(x, y, a, b);
//Thread.sleep here
g.drawRect(x, y, 50, 70);
}I also need to put delays between method calls but I need to synchronize them. Am I doing it all wrong? The application pauses or sleeps but afterwards, it still drew everything all at once. Thanks a lot!It is. Sorry about that. Just answer any if you want to. I'd appreciate your help. Sorry again if it caused you anything or whatever. .n_n.
-
Apple Mini DVI to Video Adapter is not working. Please Help...
I bought an Apple Mini DVI to Video Adapter to connect my Macbook to a TV using normal video cable. When I connect the cable, my Laptop DIsplay gives a flickr once and then it shows nothing. I checked Display in the system preference where I don't get a secondary monitor option. My TV is panasonic and it's an old one. I work on Final Cut Pro and it's very very important to see my videos on a TV. What am I doing wrong with the connection? Anyone Please Please help...
Your probably not doing anything wrong. There are thousands of users with Similar issues and it seems to be with many different adapters.
We have Mini DP to VGA (3 different brands) and they all fail most of the time. This seems more prevalent with LCD Projectors. I've tested some (50+) with VGA Monitor (HP) and they all worked, LCD Projector (Epson, Hitachi, and Sanyo) and they all fail, DLP Projector (Sanyo) and one worked.
My Apple Mini DP to DVi works most of the time. My Mini DP to HDMI (Generic non Apple) works every time.
The general consensus is that Apple broke something in the OS around 10.6.4 or 10.6.5 and its not yet fixed. As we are a school we have logged a case with the EDU Support group so will see what happens.
Dicko -
Please help, this is driving me crazy. I have downloaded my free PSE #9, it came with my Leica Camera. I cannot view at a glance any of my photos. There is only an icon that reads, PSE. To view any of my photos, I must click select and then preview. This gets old, and I am doing 4 times the work. I am having to use the dates to guess where my photos might be. I hate this! My old Photo Shop #5 didn't do this. When you went to my pictures, you could see every photo.
I have tried the right click and open as any program. What ever program I choose, that is the icon that appears. No photo. Still no good.
Please help.
Thanking anyone in advance,
LeicaHi,
Are you using Windows Explorer to view the files?
If so, load Explorer, go to the Tools menu and select Folder Options.
Click on the View tab and make sure the first option (Always show icons, never thumbnails) is not checked.
Click on OK and see if that is any better.
Brian -
Error Log during logon of RAR 5.3 Portal - please help
Hi Experts,
We are unable to login into the CC portal [GRC RAR 5.3]. The login screen is appearing again and again without logging into the CC portal
Below is the log file which we are getting and we understand that the product is not responding properly to the application
Can somebody please help us in resolving this at the earliest
Thanks in Advance
Best Regagards,
Srihari.K
Date : 12/05/2008
Time : 2:38:16:008
Message : Exception of type com.sap.sql.log.OpenSQLException caught: Cannot assign NULL to host variable 1. setNull() can only be used in INSERT and UPDATE statements. The statement is "SELECT MIN("YEARMONTH") "YEARMONTH",MIN("VIOLTYPE") "VIOLTYPE",MIN("VSYSKEY") "VSYSKEY",MIN("ANLTYPE") "ANLTYPE",MIN("USERGROUP") "USERGROUP",SUM("TOTCOUNT") "TOTCOUNT",SUM("RISKLOW") "RISKLOW",SUM("RISKMED") "RISKMED",SUM("RISKHIGH") "RISKHIGH",SUM("RISKCRT") "RISKCRT",SUM("URNONE") "URNONE",SUM("URLOW") "URLOW",SUM("URMED") "URMED",SUM("URHIGH") "URHIGH",SUM("URCRT") "URCRT",SUM("URMIT") "URMIT",MAX("TOTCRTCD") "TOTCRTCD",SUM("CRTCD") "CRTCD",MAX("TOTCRROLE") "TOTCRROLE",SUM("CRROLE") "CRROLE",SUM("TOTUSER") "TOTUSER",MIN("RUNDATE") "RUNDATE" FROM "VIRSA_CC_MGMTTOT" WHERE "YEARMONTH" = ? AND "VIOLTYPE" = ? AND "VSYSKEY" LIKE ? AND "ANLTYPE" = ? AND "USERGROUP" LIKE ?"..
[EXCEPTION]
com.sap.sql.log.OpenSQLException: Cannot assign NULL to host variable 1. setNull() can only be used in INSERT and UPDATE statements. The statement is "SELECT MIN("YEARMONTH") "YEARMONTH",MIN("VIOLTYPE") "VIOLTYPE",MIN("VSYSKEY") "VSYSKEY",MIN("ANLTYPE") "ANLTYPE",MIN("USERGROUP") "USERGROUP",SUM("TOTCOUNT") "TOTCOUNT",SUM("RISKLOW") "RISKLOW",SUM("RISKMED") "RISKMED",SUM("RISKHIGH") "RISKHIGH",SUM("RISKCRT") "RISKCRT",SUM("URNONE") "URNONE",SUM("URLOW") "URLOW",SUM("URMED") "URMED",SUM("URHIGH") "URHIGH",SUM("URCRT") "URCRT",SUM("URMIT") "URMIT",MAX("TOTCRTCD") "TOTCRTCD",SUM("CRTCD") "CRTCD",MAX("TOTCRROLE") "TOTCRROLE",SUM("CRROLE") "CRROLE",SUM("TOTUSER") "TOTUSER",MIN("RUNDATE") "RUNDATE" FROM "VIRSA_CC_MGMTTOT" WHERE "YEARMONTH" = ? AND "VIOLTYPE" = ? AND "VSYSKEY" LIKE ? AND "ANLTYPE" = ? AND "USERGROUP" LIKE ?".
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
at com.sap.sql.jdbc.common.CommonPreparedStatement.setNull(CommonPreparedStatement.java:303)
at com.sap.sql.jdbc.common.CommonPreparedStatement.setString(CommonPreparedStatement.java:509)
at com.sap.sql.sqlj.runtime.profile.ref.RTStatementJDBCPrepared.setString(RTStatementJDBCPrepared.java:359)
at com.virsa.cc.xsys.mgmreport.dao.sqlj.MGMTotalDAO.getResult(MGMTotalDAO.sqlj:63)
at com.virsa.cc.ui.RARiskVGraph.refreshData(RARiskVGraph.java:476)
at com.virsa.cc.ui.RARiskVGraph.wdDoInit(RARiskVGraph.java:130)
at com.virsa.cc.ui.wdp.InternalRARiskVGraph.wdDoInit(InternalRARiskVGraph.java:191)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Severity : Error
Category : /System/Database/sql/jdbc/common
Location : com.sap.sql.jdbc.common.CommonPreparedStatement
Application : sap.com/tcwddispwda
Thread : SAPEngine_Application_Thread[impl:3]_32
Datasource : 1666450:/apps/usr/sap/HLG/JC00/j2ee/cluster/server0/log/defaultTrace.trc
Message ID : 0003BAF96A51006E0000001F0000265200045D4A46588084
Source Name : com.sap.sql.jdbc.common.CommonPreparedStatement
Argument Objs : com.sap.sql.log.OpenSQLException,Cannot assign NULL to host variable 1. setNull() can only be used in INSERT and UPDATE statements. The statement is "SELECT MIN("YEARMONTH") "YEARMONTH",MIN("VIOLTYPE") "VIOLTYPE",MIN("VSYSKEY") "VSYSKEY",MIN("ANLTYPE") "ANLTYPE",MIN("USERGROUP") "USERGROUP",SUM("TOTCOUNT") "TOTCOUNT",SUM("RISKLOW") "RISKLOW",SUM("RISKMED") "RISKMED",SUM("RISKHIGH") "RISKHIGH",SUM("RISKCRT") "RISKCRT",SUM("URNONE") "URNONE",SUM("URLOW") "URLOW",SUM("URMED") "URMED",SUM("URHIGH") "URHIGH",SUM("URCRT") "URCRT",SUM("URMIT") "URMIT",MAX("TOTCRTCD") "TOTCRTCD",SUM("CRTCD") "CRTCD",MAX("TOTCRROLE") "TOTCRROLE",SUM("CRROLE") "CRROLE",SUM("TOTUSER") "TOTUSER",MIN("RUNDATE") "RUNDATE" FROM "VIRSA_CC_MGMTTOT" WHERE "YEARMONTH" = ? AND "VIOLTYPE" = ? AND "VSYSKEY" LIKE ? AND "ANLTYPE" = ? AND "USERGROUP" LIKE ?".,com.sap.sql.log.OpenSQLException: Cannot assign NULL to host variable 1. setNull() can only be used in INSERT and UPDATE statements. The statement is "SELECT MIN("YEARMONTH") "YEARMONTH",MIN("VIOLTYPE") "VIOLTYPE",MIN("VSYSKEY") "VSYSKEY",MIN("ANLTYPE") "ANLTYPE",MIN("USERGROUP") "USERGROUP",SUM("TOTCOUNT") "TOTCOUNT",SUM("RISKLOW") "RISKLOW",SUM("RISKMED") "RISKMED",SUM("RISKHIGH") "RISKHIGH",SUM("RISKCRT") "RISKCRT",SUM("URNONE") "URNONE",SUM("URLOW") "URLOW",SUM("URMED") "URMED",SUM("URHIGH") "URHIGH",SUM("URCRT") "URCRT",SUM("URMIT") "URMIT",MAX("TOTCRTCD") "TOTCRTCD",SUM("CRTCD") "CRTCD",MAX("TOTCRROLE") "TOTCRROLE",SUM("CRROLE") "CRROLE",SUM("TOTUSER") "TOTUSER",MIN("RUNDATE") "RUNDATE" FROM "VIRSA_CC_MGMTTOT" WHERE "YEARMONTH" = ? AND "VIOLTYPE" = ? AND "VSYSKEY" LIKE ? AND "ANLTYPE" = ? AND "USERGROUP" LIKE ?".
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
at com.sap.sql.jdbc.common.CommonPreparedStatement.setNull(CommonPreparedStatement.java:303)
at com.sap.sql.jdbc.common.CommonPreparedStatement.setString(CommonPreparedStatement.java:509)
at com.sap.sql.sqlj.runtime.profile.ref.RTStatementJDBCPrepared.setString(RTStatementJDBCPrepared.java:359)
at com.virsa.cc.xsys.mgmreport.dao.sqlj.MGMTotalDAO.getResult(MGMTotalDAO.sqlj:63)
at com.virsa.cc.ui.RARiskVGraph.refreshData(RARiskVGraph.java:476)
at com.virsa.cc.ui.RARiskVGraph.wdDoInit(RARiskVGraph.java:130)
at com.virsa.cc.ui.wdp.InternalRARiskVGraph.wdDoInit(InternalRARiskVGraph.java:191)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Arguments : com.sap.sql.log.OpenSQLException,Cannot assign NULL to host variable 1. setNull() can only be used in INSERT and UPDATE statements. The statement is "SELECT MIN("YEARMONTH") "YEARMONTH",MIN("VIOLTYPE") "VIOLTYPE",MIN("VSYSKEY") "VSYSKEY",MIN("ANLTYPE") "ANLTYPE",MIN("USERGROUP") "USERGROUP",SUM("TOTCOUNT") "TOTCOUNT",SUM("RISKLOW") "RISKLOW",SUM("RISKMED") "RISKMED",SUM("RISKHIGH") "RISKHIGH",SUM("RISKCRT") "RISKCRT",SUM("URNONE") "URNONE",SUM("URLOW") "URLOW",SUM("URMED") "URMED",SUM("URHIGH") "URHIGH",SUM("URCRT") "URCRT",SUM("URMIT") "URMIT",MAX("TOTCRTCD") "TOTCRTCD",SUM("CRTCD") "CRTCD",MAX("TOTCRROLE") "TOTCRROLE",SUM("CRROLE") "CRROLE",SUM("TOTUSER") "TOTUSER",MIN("RUNDATE") "RUNDATE" FROM "VIRSA_CC_MGMTTOT" WHERE "YEARMONTH" = ? AND "VIOLTYPE" = ? AND "VSYSKEY" LIKE ? AND "ANLTYPE" = ? AND "USERGROUP" LIKE ?".,com.sap.sql.log.OpenSQLException: Cannot assign NULL to host variable 1. setNull() can only be used in INSERT and UPDATE statements. The statement is "SELECT MIN("YEARMONTH") "YEARMONTH",MIN("VIOLTYPE") "VIOLTYPE",MIN("VSYSKEY") "VSYSKEY",MIN("ANLTYPE") "ANLTYPE",MIN("USERGROUP") "USERGROUP",SUM("TOTCOUNT") "TOTCOUNT",SUM("RISKLOW") "RISKLOW",SUM("RISKMED") "RISKMED",SUM("RISKHIGH") "RISKHIGH",SUM("RISKCRT") "RISKCRT",SUM("URNONE") "URNONE",SUM("URLOW") "URLOW",SUM("URMED") "URMED",SUM("URHIGH") "URHIGH",SUM("URCRT") "URCRT",SUM("URMIT") "URMIT",MAX("TOTCRTCD") "TOTCRTCD",SUM("CRTCD") "CRTCD",MAX("TOTCRROLE") "TOTCRROLE",SUM("CRROLE") "CRROLE",SUM("TOTUSER") "TOTUSER",MIN("RUNDATE") "RUNDATE" FROM "VIRSA_CC_MGMTTOT" WHERE "YEARMONTH" = ? AND "VIOLTYPE" = ? AND "VSYSKEY" LIKE ? AND "ANLTYPE" = ? AND "USERGROUP" LIKE ?".
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
at com.sap.sql.jdbc.common.CommonPreparedStatement.setNull(CommonPreparedStatement.java:303)
at com.sap.sql.jdbc.common.CommonPreparedStatement.setString(CommonPreparedStatement.java:509)
at com.sap.sql.sqlj.runtime.profile.ref.RTStatementJDBCPrepared.setString(RTStatementJDBCPrepared.java:359)
at com.virsa.cc.xsys.mgmreport.dao.sqlj.MGMTotalDAO.getResult(MGMTotalDAO.sqlj:63)
at com.virsa.cc.ui.RARiskVGraph.refreshData(RARiskVGraph.java:476)
at com.virsa.cc.ui.RARiskVGraph.wdDoInit(RARiskVGraph.java:130)
at com.virsa.cc.ui.wdp.InternalRARiskVGraph.wdDoInit(InternalRARiskVGraph.java:191)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:754)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:289)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Dsr Component : n/a
Dsr Transaction : d2d9c100c2b811dd9eb60003baf96a51
Dsr User :
Indent : 0
Level : 0
Message Code : com.sap.sql_0019
Message Type : 1
Relatives : /System/Database/sql/jdbc/common
Resource Bundlename :
Session : 92
Source : com.sap.sql.jdbc.common.CommonPreparedStatement
ThreadObject : SAPEngine_Application_Thread[impl:3]_32
Transaction :
User : ac_adminHi,
The shear length of your post is frightening - this would keep many potential replies away !!
What i woudl recommend is --> Open an OSS messgae ! This would resolve your problem !!
Thanks -
Lock-Ups and Freezes PLEASE HELP
Hello everyone..
I come here to see if anyone can help me... Ive done it all and nothing is working.
I just recently started having problems with my computer, im not sure why this happend but ill try to explain everything as best as I can.
The problem started a few days ago while I was playing SWG's. I was playing and all of a sudden my machine froze, the screen locked-up and then after about 2 min the entire system restarted. I then logged back into my windows and after a while a system froze and restarted yet again. I though it was a SWGs issue but then the computer would freeze while browsing the net and doing other tasks.
I have formated my machine, re-installed my drivers, and re-installed the hardward. Nothing has worked.
My computer specs are
300watt PSU Enermax True Power
MSI K7n2 nforce2 8xagp mobo
athon 1700xp
512mb of Kingmax DDR 2700
SB audigy x-gamer sound card
MSI geforce4 ti 4200 8xAGP graphics card
Hope thats enough..
One last thing... When my computer restarts after the problem i get a message asking me to report the problem to microsoft... i located the error file and this is what was writen in it....
// Watchdog Event Log File
LogType: Watchdog
Created: 2003-07-19 01:30:24
TimeZone: 300 - Eastern Standard Time
WindowsVersion: XP
EventType: 0xEA - Thread Stuck in Device Driver
// The driver for the display device got stuck in an infinite loop. This
// usually indicates a problem with the device itself or with the device
// driver programming the hardware incorrectly. Please check with your
// display device vendor for any driver updates.
ShutdownCount: 5
Shutdown: 0
EventCount: 5
BreakCount: 5
BugcheckTriggered: 1
DebuggerNotPresent: 1
DriverName: nv4_disp
EventFlag: 1
DeviceClass: Display
DeviceDescription: MSI MS-StarForce GeForce4 Ti 4200 with 8X (NVIDIA GeForce4 Ti 4200 with AGP8X)
HardwareID: PCI\VEN_10DE&DEV_0281&SUBSYS_89431462&REV_A1
Manufacturer: NVIDIA
DriverFixedFileInfo: FEEF04BD 00010000 0006000D 000A0C1C 0006000D 000A0C1C 0000003F 00000008 00040004 00000003 00000004 00000000 00000000
DriverCompanyName: NVIDIA Corporation
DriverFileDescription: NVIDIA Compatible Windows 2000 Display driver, Version 31.00
DriverFileVersion: 6.13.10.3100
DriverInternalName: nv_disp.dll
DriverLegalCopyright: (c) NVIDIA Corporation. All rights reserved.
DriverOriginalFilename: nv_disp.dll
DriverProductName: NVIDIA Compatible Windows 2000 Display driver, Version 31.00
DriverProductVersion: 6.13.10.3100
Hope this helps, i dont understand what it means so maybe one of you might...
Please help me on this... Ive tried everything i can...
Thanks in advanceIf what you are saying, and I am reading correctly:
The machine and game was working just peachy and all of a sudden the problem manifested itself?
Did you do ANYTHING to change your system prior to this happening to possibly have an effect?
the fast that you said you have re-loaded the OS and removed and re-installed the hardware with the same result tells me that there may be some sort of hardware failure and this could get difficult to troubleshoot.
First things first, try a memory testing software like memtest86 to see if you get any errors.
http://www.memtest86.com/ -
my app store wont let me download apps, says there not available in the uk?? please help??
Try This...
Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
Reset ( No Data will be Lost )
Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
http://support.apple.com/kb/ht1430 -
My phone wont let me download anything even free stuff or update.it keep saying something wrong with my billing info so i fix it but still cant download.I signed out sign back in still nothing please help i'm getting angry
If it says your billing info is wrong that means that your credit card issuer is refusing to approve your account. You will have to solve the problem with your bank or credit card company.
-
I bought a iphone 3g from a friend and i dont know how to update ios 5 and 6 because i dont have the setting in my phone and it wont let me download any apps tell i have it updated. someone please help?
You don't the highest IOS for a 3G phone is 4.2.1 you can't get the lastest IOS.
-
ITunes wont open and status light flashs orange. PLEASE HELP!!
I turned on my computer and plugged it in after loging into Windows XP. iTunes wouldnt open and when I tryed to click it open it wouldnt work. I then safely took out my Shuffle and restarted my computer. Then repented the above process and no luck. Can someone please help me?
Try the new shuffle reset tool.
http://docs.info.apple.com/article.html?artnum=303979 -
i have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers
First we need to know which one of the 9 different models of MacBook you have. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info (and then System Report if you’re running 10.7 Lion). When System Profiler comes up check the Model Identifier and post it back here.
The Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody have a Mini DisplayPort. The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s have Mini-DVI ports. Each would take a different adapter to connect with the TV.
Maybe you are looking for
-
SRM MDM Catalog - Transfer Contracts from SRM - XI - MDM
Hi, We are implementing SRM MDM Catalog1.0 with SRM 5.0 & ECC 6.0. We have already configured XI content for MDM Catalog. We have also done the basic settings for transferring contracts from srm to XI (including Backend System & Check box in Contract
-
CC not showing the updating to Indesign 9.1
It has been impossible to update ID to 9.1. I reloaded many times CCloud app to see the upgrade but is not present. I installed again InCopy, just to see, and after this, it appeared in CC app the update. Now InCopy is updated to 9.1 (also Acrobat an
-
Does anyone know of an automator action I can use to combine multiple files into a single one?
-
Dynamic inmternal table content O/P in BGD ?
Dear All, I've content in my dynamic Internal Table. When I'm trying to print the values of that table on the List the output is not proper . The problem is not with the values but the alignment of each of the column. It's giving some absurd output a
-
How do you make icalendar send email notifications?
Since I "upgraded" my Mac OS I can't figure out how to get calendar to send email notifications. Is this feature gone, now?