Runtime error...plz help me .ful amrks wud be given
Hi gurus..
m running a user defined transaction ZV48cji which includes all standard Programs..it gives short dump after running it..the description is as follows.
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
A PERFORM was used to call the routine "GENERIERUNG_PRUEFEN" of the program
"RV14ALLE".
The current call contains 4 actual parameter(s),
but the routine "GENERIERUNG_PRUEFEN" expects 5 parameters.
can anybody help me hw to resolve this as this is a standard program..any solution..
full marks wud be given for answers..
waiting for the reply
Regards
Sahil
hai..
please give d exceptions condition in d function module .. den u won't get d dump...
eg:
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = W_DOC_DATA
PUT_IN_OUTBOX = 'X'
SENDER_ADDRESS = LD_SENDER_ADDRESS
SENDER_ADDRESS_TYPE = LD_SENDER_ADDRESS_TYPE
COMMIT_WORK = 'X'
IMPORTING
SENT_TO_ALL = W_SENT_ALL
TABLES
PACKING_LIST = T_PACKING_LIST
CONTENTS_BIN = T_ATTACHMENT
CONTENTS_TXT = IT_MESSAGE
RECEIVERS = T_RECEIVERS
<b> EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.</b>
Similar Messages
-
Weather application Runtime error - plz help......
Hi All,
I am trying to create an Weather application presented in blog "Create a weather magnet using xml feed from weather.com" by Prakash singh.
It accpets XML feed (web service) from weather.com
Everything works fine, when I deploy it into Portal. It gives follow. error message :
Portal Runtime Error
An exception occurred while processing a request for :
iView : com.ust.weather.display
Component Name : com.ust.weather.display
xoap.weather.com.
Exception id: 03:52_03/03/07_0771_1198650
See the details for the exception ID in the log file
Also, I changed the partnet ID, license as query parameters and also added jars.
I donno where I went wrong....but still I unable to find out the problem.
I reuqest you...all gurus...help me.,...urgent.
Appreciate your time and valuable inputs.
Thanks in advance,
Ravi Kumar.Hi All,
I am trying to create an Weather application presented in blog "Create a weather magnet using xml feed from weather.com" by Prakash singh.
It accpets XML feed (web service) from weather.com
Everything works fine, when I deploy it into Portal. It gives follow. error message :
Portal Runtime Error
An exception occurred while processing a request for :
iView : com.ust.weather.display
Component Name : com.ust.weather.display
xoap.weather.com.
Exception id: 03:52_03/03/07_0771_1198650
See the details for the exception ID in the log file
Also, I changed the partnet ID, license as query parameters and also added jars.
I donno where I went wrong....but still I unable to find out the problem.
I reuqest you...all gurus...help me.,...urgent.
Appreciate your time and valuable inputs.
Thanks in advance,
Ravi Kumar. -
Payment error.plz help me
We are into problem while processing your request.
(PS1036ti)
Confim purhase error
Plz help me
#AmirWhen I want to use my credit card and set it in my Q5 this error comes,I do,kt know what should I do???
#Amir -
Adobe Acrobat 9.0 Pro crashes at start up: Runtime Error-please help
I have Adobe CS4 installed on my Windows 7 PC. In addition, I have Adobe Reader XI and InDesign 6 installed. If I remember correctly, after I installed Adobe Reader XI, I uninstalled the version of the Reader which came with CS4.
So here’s my problem: When I try to download a PDF that has been sent to me in an email or open one that already exists on my computer, this happens:
Runtime Error!
Program: C…
The application has requested the Runtime to terminate it in an unusual way.
When I click OK, I get this:
Adobe Acrobat 9.0 has stopped working.
If I try to Adobe Acrobat 9.0 Pro from my start menu, the same thing happens.
This makes no sense to me because
I don’t have the knowledge to figure this out. I have no idea what Runtime is.
Prior to a computer meltdown a couple of months ago and a complete reinstallation of everything, these very same programs all worked just fine.
I don’t understand why, when I try to open an emailed PDF, they don’t automatically open in Adobe Reader XI rather than Adobe Acrobat. Isn’t the general idea that people be able to open and view sent PDFs which they have been sent, which is what the Reader is for, and not usually edit them, which is what Adobe Acrobat is for?
If, instead of trying to open the emailed PDFs, I save them to my computer, I can launch Adobe Reader XI and open them from within that program without any problem. That’s OK if I just need to view the PDF, but I need to be able to edit PDFs too, so I must get Adobe Acrobat 9.0 to work.
Would reinstalling Adobe Acrobat 9.0 Pro help? Is there a way to reinstall that program only from the installation disks or would have to reinstall CS4 entirely?
I cannot open Adobe Acrobat 9.0 at all, so any solutions which must be done with the program open are not possible.
I would really appreciate some help.SOLVED!
Resetting Internet Explorer didn't work, Reinstalling Acrobat 9.0 Pro didn't work, but changing a registry key did.
Here's where I found the solution:
Microsoft Visual C++ Runtime Library error opening PDF files - Microsoft Community
Here is the relevant post, but before you try it, read my note below:
Hi,
This is known issue with Acrobat for several versions now, Adobe's current fix is just to update their software: http://kb2.adobe.com/cps/404/kb404597.html
The problem is with the application data being misdirected.
"The affected user has a redirected Application Data folder and as a result the network path containing the Application Data uses a UNC path that begins with \\. This UNC path causes Acrobat 9.0 or Adobe Reader 9.0 to incorrectly parse the Application Data path and give the error message."
A potential Solution would be to go into the registry. Left Click type "regedit" and right click and run the program with "run as administrator". Go to Hkey_Current_User\Software\Microsoft\Windows\Current Version\Explorer\User Shell Folders and make sure see where "AppData" is pointing. If it is pointing to "%UserProfile%/Application Data" change it to point to "%UserProfile%/AppData/Roaming".
BUT, be careful about one thing: This poster seems to have accidentally used forward slashes when he should have use back slashes. Look at the very last line of his post where he advises "If it is pointing to "%UserProfile%/Application Data" change it to point to "%UserProfile%/AppData/Roaming". You'll find, or at least I did, that this key has a back slash, not a forward slash, so changing what I found: "%UserProfile%\Application Data" to "%UserProfile%\AppData\Roaming" worked and now Acrobat 9.0 works fine. -
Runtime Error, please help!
Hi,
I have installed the cs3 master collection on a new system (quad 2,4 ghz, 4GB ram, quadro fx1300, WIN XP 64bit, cineform aspect hd 5).
I opened a big ppro project which has been created with cs2 (i deleted all preview and cache files before). I saved the project to a different name.
Project structure:
65 Scenes embedded in Sequences embedded in a master sequence (master lenght: 110 Minutes).
The big Problem is:
When i click anywhere into the master sequence timeline, a "premiere pro debug event" error appears:
"[..\..\Src\AudioRender\AudioRenderContextConstructor.cpp-110]"
Premiere dissapears after i click "continue".
When i turn off the mastersequence audiotracks, this error does not show up.
And everything works fine when i go into an embedded sequence.
ALSO:
When i want to render some area in the timeline, Premiere wants to render the audio first. It hangs up at about 50 percent (always at the same point, but it is not possible to locate it) with the error message:
"Microsoft Visual C++ Runtime Library
Runtime Error!
Premiere Path..
This application has requested the runtime to terminate..."
Premiere dissaper after i click "ok"..
I tried:
To get this bugfix from Micrsoft, which should help with runtime errors, but they dont respond.
To install the Visual C++ runtime environment again.
To deactivate all unnecessary startup programs
To run ppro in compatibility mode
To change sound settings in and out of ppro
The event viewer description for this error:
"...faulting module msvcr80.dll..."
Please help me, if there is a solution..
DavidConsidering ppro´s memory managing problems with big projects i dont want to revert to 32bit.
I installed ppro cs2 and it works fine. And the memory problems i had with 32bit (even with 3gb switch on) are gone.
I dont have time to test now if the problem with cs3 was only caused by the imported cs2 project. I will post it next days. -
Runtime error - R6034 (Help unable to open Itunes)
Hi All,
After upgrade of Itunes I get the following error when trying to open Itunes
Runtime error
R6034
An application has made an attempt to load the c runtime incorrectly
Any ideas on what to do?
Best regards,
MetteHi MettefromDXB,
Welcome to the Support Communities!
The article below may be able to help you with this.
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
Some Windows customers may experience installation issues while trying to install or open iTunes 11.1.4.
Symptoms may include:
"The program can't start because MSVCR80.dll is missing from your computer"
"iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows Error 126)”
"Runtime Error: R6034 - An application has made an attempt to load the C runtime library incorrectly"
"Entry point not found: videoTracks@QTMovie@@QBE?AV?$Vector@V?$RefPtr@VQTTrack@@@***@@$0A@VCrashOnOverf low@@***@@XZ could not be located in the dynamic link library C:\Program Files(x86)\Common Files\Apple\Apple Application Support\WebKit.dll”
Resolution
Follow these steps to resolve the issue:
Check for .dll files
Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
Reboot your computer.
Note: Depending on your operating system, you may only have one of the listed paths.
Uninstall and reinstall iTunes
Uninstall iTunes and all of its related components.
Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
Re-download and reinstall iTunes 11.1.4.
I hope this information helps ....
Have a great day!
- Judy -
I try to search in itunes store and keep getting a runtime error R6025 - help!
I keep trying to search for music in the itunes store and I get runtime error R6025 then itunes shuts down. Help!
Link for the previous fix:
http://support.apple.com/kb/HT2292
Just an update that I did get the error once after the fix but now seems to have gone away completely. All I did after the error recurred was to add a new desktop shortcut and run as administrator. I then deleted the shortcut and went back to my usual quick access icon in the taskbar.
Hope this helps. -
After running the upgrade to the latest ITunes I cannot run Itunes. I get a Error 7 Windows error 1114, and a R6034 C runtime error.
It was working before.
Help!Hi sking10313,
Thanks for using Apple Support Communities. This article has steps you can take for the error you're seeing:
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
Cheers,
- Ari -
I keep getting this error plz help
Every time that i download the new iphone version 3.1 it gets towards the end and then i get an error. "could not finish transferring to iphone. Network connection failed". I dont know why it keeps giving me this problem when i have internet and i can connect to the itunes store perfectly and also download applications. Can somebody plz help me its driving me nuts. thanks for your time.
*i have itunes 9(the new one) and my firewall is offbump. plz hlep
-
Reports Paramters Error, Plz Help me!
Have anybody tried a reports in Web with parameters containing the ' '(space), '&'(and),'?' and other URL special character?
When I passed a paramter with these character from my form, the reports server returned a REP-56033 error, and said that it cannot get job with ID -2.
My reports are rdf/rep files.
My system is 9ias R2. My reports service's version is 9.0.2.0.1
Please help me. This question is urgent.When I use showjobs, I cannot get this job. But if I delete the special char, I can get the job and say it has error.
I guess the report doesn't run with the special char!!!!
I can run other report which without the special char parameter.
For example
add_parameter(pl_id,Text_Parameter,'where deptno=59 and staffno=34');
If my parameter list contain this value, the report cannot run!!!
If I change to
add_parameter(pl_id,Text_Parameter,'wheredeptno=59andstaffno=34');
The report can run, but return error.
Plz help me!! -
Adding "window to a container:illegal argument exception".error plz help
Thanks to Mr.Andrew and sun for developing the following code for a
mediaplayer which is implemented in jmf.This is working in core java. But
when i have converted it to Applet it compiles but an error adding "window
to a container:illegal argument exception".code is given below plz point
me where is the error;
import javax.media.*;
import java.text.DecimalFormat;
import java.awt.*;
import java.awt.FileDialog;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import java.io.*;
import java.net.*;
import java.util.*;
class nwa extends WindowAdapter{
frameclass frame;
public nwa(frameclass frame){
this.frame=frame;
public void windowClosing (WindowEvent e)
//User selected close from System menu.
//Call dispose to invoke windowClosed.
frame.dispose ();
public void windowClosed (WindowEvent e)
//if (player != null)
//player.close ();
System.exit (0);
class frameclass extends JFrame
frameclass(){
nwa n=new nwa(this);
this.addWindowListener(n);
public class PlayerApplet extends JApplet
implements
ActionListener,ControllerListener,ItemListener, KeyListener
frameclass frame=new frameclass();
Player player;
Component vc, cc;
JProgressBar volumeBar;
JButton fastRewind;
JButton fastForward;
JButton play;
int sizeIncrease = 2;
boolean invokedStop = false;
/** Big */
int progressFontSize=30;
boolean first = true, loop = false;
String currentDirectory;
public void init(){
JMenu m = new JMenu ("File");
JMenuItem mi = new JMenuItem ("Open...");
mi.addActionListener (this);
m.add (mi);
m.addSeparator ();
JCheckBoxMenuItem cbmi = new JCheckBoxMenuItem ("Loop", false);
cbmi.addItemListener (this);
m.add (cbmi);
m.addSeparator ();
mi = new JMenuItem ("Exit");
mi.addActionListener (this);
m.add (mi);
JMenuBar mb = new JMenuBar ();
mb.add (m);
frame.setJMenuBar (mb);
setSize (200, 200);
final JPanel p = new JPanel(new GridLayout(1,0,5,5));
p.setBorder(new EmptyBorder(3,5,5,5) );
fastRewind = new JButton("<html><body><font size=+"+
sizeIncrease+ "><<");
fastRewind.setToolTipText("Fast Rewind");
fastRewind.addActionListener( new ActionListener(){
public void actionPerformed(ActionEvent ae) {
if (player!=null) {
invokedStop = false;
skipBack();
} else {
JOptionPane.showMessageDialog(play,
new JLabel("Open a sound file
first!"));
fastRewind.addKeyListener(this);
p.add(fastRewind);
JButton stop = new JButton("<html><body><font size=+"+
sizeIncrease+ ">■");
stop.setToolTipText("Stop");
stop.addActionListener( new ActionListener(){
public void actionPerformed(ActionEvent ae) {
invokedStop = true;
//player.stop();
sp();
stop.addKeyListener(this);
p.add(stop);
play = new JButton("<html><body><font size=+"+
sizeIncrease+ ">>");
play.setToolTipText("Play");
play.addActionListener( new ActionListener(){
public void actionPerformed(ActionEvent ae) {
if (player!=null) {
invokedStop = false;
player.setRate(1);
st();
} else {
JOptionPane.showMessageDialog(play,
new JLabel("Open a sound file
first!"));
play.addKeyListener(this);
p.add(play);
fastForward = new JButton("<html><body><font size=+"+
sizeIncrease+ ">>>");
fastForward.setToolTipText("Fast Forward");
fastForward.addActionListener( new ActionListener(){
public void actionPerformed(ActionEvent ae) {
if (player!=null) {
invokedStop = false;
skipForward();
} else {
JOptionPane.showMessageDialog(play,
new JLabel("Open a sound file
first!"));
fastForward.addKeyListener(this);
p.add(fastForward);
p.addKeyListener(this);
frame.add(p,BorderLayout.CENTER);
add(frame);
// pack ();
setVisible (true);
public void start(){
st();
public void stop(){
sp();
public void destroy(){
player.stop();
player.deallocate();
public void actionPerformed (ActionEvent e)
if (e.getActionCommand().equals("Exit"))
// Call dispose to invoke windowClosed.
frame.dispose ();
return;
FileDialog fd = new FileDialog (frame, "Open File",
FileDialog.LOAD);
fd.setDirectory (currentDirectory);
fd.show ();
// If user cancelled, exit.
if (fd.getFile() == null)
return;
currentDirectory = fd.getDirectory ();
if (player != null)
player.close ();
try
player = Manager.createPlayer (new MediaLocator
("file:" +
fd.getDirectory() +
fd.getFile()));
catch (java.io.IOException e2)
System.out.println (e2);
return;
catch (NoPlayerException e2)
System.out.println ("Could not find a player.");
return;
if (player == null)
System.out.println ("Trouble creating a player.");
return;
first = false;
frame.setTitle (fd.getFile ().toString());
player.addControllerListener (this);
player.prefetch ();
public void controllerUpdate (ControllerEvent e)
if (e instanceof ControllerClosedEvent)
if (vc != null)
remove (vc);
vc = null;
if (cc != null)
remove (cc);
cc = null;
return;
if (e instanceof EndOfMediaEvent)
if (loop)
player.setMediaTime (new Time (0));
player.start ();
return;
if (e instanceof PrefetchCompleteEvent)
player.start ();
return;
if (e instanceof RealizeCompleteEvent)
vc = player.getVisualComponent ();
if (vc != null)
add (vc);
cc = player.getControlPanelComponent ();
if (cc != null){
this.add (cc, BorderLayout.SOUTH);
this.show();
public void keyReleased(KeyEvent ke) {
int keycode = ke.getKeyCode();
if (keycode==KeyEvent.VK_LEFT) {
skipBack();
} else if (keycode==KeyEvent.VK_RIGHT) {
skipForward();
public void keyTyped(KeyEvent ke) {
int keycode = ke.getKeyCode();
if (keycode==KeyEvent.VK_LEFT) {
skipBack();
} else if (keycode==KeyEvent.VK_RIGHT) {
skipForward();
public void keyPressed(KeyEvent ke) {
int keycode = ke.getKeyCode();
if (keycode==KeyEvent.VK_LEFT) {
skipBack();
} else if (keycode==KeyEvent.VK_RIGHT) {
skipForward();
}else if (keycode==KeyEvent.VK_UP) {
st();
}else if (keycode==KeyEvent.VK_DOWN) {
sp();
public void skipForward() {
double secs=5;
double playersecs = player.getMediaTime().getSeconds();
Time settime = new javax.media.Time(playersecs + secs);
player.setMediaTime(settime);
public void skipBack() {
double secs1=5;
double playersecs1 = player.getMediaTime().getSeconds();
Time settime1 = new javax.media.Time(playersecs1 - secs1);
player.setMediaTime(settime1);
public void st() {
player.start();
public void sp() {
player.stop();
public void itemStateChanged (ItemEvent e)
loop = !loop;
When i comment add(frame) this error goes but i got a null poiter
exception
Plz help
manuHi Andrew,
Thanks for ur reply.Sorrry that my code not included in the code block.
My problem have been solved partly.Now playerapplet is working properly.It can play files from local machine(through open menuitem from file menu) as well as local network (through url menuitem from file menu).
There is no requirement to play file from internet at present.
I have given arrow keys to forward/backward/open/close.
I have now completed my first part of project.Now i have to start the second part ie Controlling arrow keys using a joystick like instrument.The instrument and driver will be provided by my co. and the user is using only this device.Plz help me how to do that.
The code is given below
import javax.media.*;
import java.text.DecimalFormat;
import java.awt.*;
import java.awt.FileDialog;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import java.io.*;
import java.net.*;
import java.util.*;
<APPLET CODE=PlayerApplet.class
WIDTH=320 HEIGHT=300>
</APPLET>
class nwa extends WindowAdapter
frameclass frame;
Player player;
public nwa(frameclass frame,Player player)
this.player=player;
this.frame=frame;
public void windowClosing (WindowEvent e)
//User selected close from System menu.
//Call dispose to invoke windowClosed.
frame.dispose ();
public void windowClosed (WindowEvent e)
if (player != null)
player.stop();
player.close ();
player.deallocate();
System.exit (0);
class frameclass extends JFrame
Player player;
frameclass(Player player)
nwa n=new nwa(this,player);
this.addWindowListener(n);
public class PlayerApplet extends JApplet
implements ActionListener,ControllerListener,ItemListener, KeyListener
Player player=null;
frameclass frame=new frameclass(player);
Component vc, cc;
Container f;
JProgressBar volumeBar;
JButton fastRewind;
JButton fastForward;
JButton play;
int sizeIncrease = 2;
boolean invokedStop = false;
/** Big */
int progressFontSize=30;
boolean first = true, loop = false;
String currentDirectory;
public void init()
f=frame.getContentPane();
JMenu m = new JMenu ("File");
JMenuItem mi = new JMenuItem ("Open...");
mi.addActionListener (this);
m.add (mi);
m.addSeparator ();
mi = new JMenuItem ("URL");
mi.addActionListener (this);
m.add (mi);
m.addSeparator ();
JCheckBoxMenuItem cbmi = new JCheckBoxMenuItem ("Loop", false);
cbmi.addItemListener (this);
m.add (cbmi);
m.addSeparator ();
mi = new JMenuItem ("Exit");
mi.addActionListener (this);
m.add (mi);
JMenuBar mb = new JMenuBar ();
mb.add (m);
frame.setJMenuBar (mb);
setSize (500, 500);
JPanel p = new JPanel(new GridLayout(1,0,5,5));
p.setBorder(new EmptyBorder(3,5,5,5) );
fastRewind = new JButton("<html><body><font size=+"+ sizeIncrease+ "><<");
fastRewind.setToolTipText("Fast Rewind");
fastRewind.addActionListener( new ActionListener(){
public void actionPerformed(ActionEvent ae) {
if (player!=null) {
invokedStop = false;
skipBack();
} else {
JOptionPane.showMessageDialog(play,
new JLabel("Open a sound file first!"));
fastRewind.addKeyListener(this);
p.add(fastRewind);
JButton stop = new JButton("<html><body><font size=+"+ sizeIncrease+ ">■");
stop.setToolTipText("Stop");
stop.addActionListener( new ActionListener(){
public void actionPerformed(ActionEvent ae) {
invokedStop = true;
sp();
stop.addKeyListener(this);
p.add(stop);
play = new JButton("<html><body><font size=+"+ sizeIncrease+ ">>");
play.setToolTipText("Play");
play.addActionListener( new ActionListener()
public void actionPerformed(ActionEvent ae) {
if (player!=null) {
invokedStop = false;
player.setRate(1);
st();
} else {
JOptionPane.showMessageDialog(play,
new JLabel("Open a sound file first!"));
play.addKeyListener(this);
p.add(play);
fastForward = new JButton("<html><body><font size=+"+ sizeIncrease+ ">>>");
fastForward.setToolTipText("Fast Forward");
fastForward.addActionListener( new ActionListener(){
public void actionPerformed(ActionEvent ae) {
if (player!=null) {
invokedStop = false;
skipForward();
} else {
JOptionPane.showMessageDialog(play,
new JLabel("Open a sound file first!"));
fastForward.addKeyListener(this);
p.add(fastForward);
frame.getContentPane().add(p,BorderLayout.CENTER);
frame.setVisible (true);
frame.pack();
frame.setResizable(false);
public void stop(){
sp();
public void destroy(){
player.stop();
player.deallocate();
public void actionPerformed (ActionEvent e)
if (e.getActionCommand().equals("Exit"))
// Call dispose to invoke windowClosed.
player.stop();
player.close();
player.deallocate();
frame.dispose ();
return;
if (e.getActionCommand().equals("Open..."))
FileDialog fd = new FileDialog (frame, "Open File",
FileDialog.LOAD);
fd.setDirectory (currentDirectory);
fd.show ();
// If user cancelled, exit.
if (fd.getFile() == null)
return;
currentDirectory = fd.getDirectory ();
if (player != null){
player.close ();
player.deallocate();
try
player = Manager.createPlayer (new MediaLocator
("file:" +
fd.getDirectory() +
fd.getFile()));
catch (java.io.IOException e2)
System.out.println ("file not found :"+e2);
return;
catch (NoPlayerException e2)
System.out.println ("Could not find a player.");
return;
if (player == null)
System.out.println ("Trouble creating a player.");
return;
first = false;
frame.setTitle (fd.getFile ().toString());
player.addControllerListener (this);
player.prefetch ();
return;
if (e.getActionCommand().equals("URL"))
FileDialog fd = new FileDialog (frame, "Open File",
FileDialog.LOAD);
fd.setDirectory (currentDirectory);
fd.show ();
// If user cancelled, exit.
if (fd.getFile() == null)
return;
currentDirectory = fd.getDirectory ();
if (player != null){
player.close ();
player.deallocate();
try
URL url = new URL ("file://"+fd.getDirectory()+fd.getFile());
MediaLocator mediaLocator = new MediaLocator (url);
player = Manager.createPlayer (mediaLocator);
catch (java.io.IOException e2)
System.out.println ("file not found :"+e2);
return;
catch (NoPlayerException e2)
System.out.println ("Could not find a player.");
return;
if (player == null)
System.out.println ("Trouble creating a player.");
return;
first = false;
frame.setTitle (fd.getFile ().toString());
player.addControllerListener (this);
player.prefetch ();
return;
public void controllerUpdate (ControllerEvent e)
if (e instanceof ControllerClosedEvent)
if (vc != null)
frame.getContentPane().remove (vc);
vc = null;
if (cc != null)
frame.getContentPane().remove (cc);
cc = null;
return;
if (e instanceof EndOfMediaEvent)
if (loop)
player.setMediaTime (new Time (0));
player.start ();
return;
if (e instanceof PrefetchCompleteEvent)
player.start();
return;
if (e instanceof RealizeCompleteEvent)
if (vc != null)
remove (vc);
vc = null;
if (cc != null)
remove (cc);
cc = null;
vc = player.getVisualComponent ();
if (vc != null)
frame.getContentPane().add(vc,BorderLayout.NORTH);
cc = player.getControlPanelComponent ();
if (cc != null){
frame.getContentPane().add (cc, BorderLayout.SOUTH);
frame.setVisible(true);
frame.pack();
public void keyReleased(KeyEvent ke) {
int keycode = ke.getKeyCode();
if (keycode==KeyEvent.VK_LEFT) {
skipBack();
} else if (keycode==KeyEvent.VK_RIGHT) {
skipForward();
public void keyTyped(KeyEvent ke) {
int keycode = ke.getKeyCode();
if (keycode==KeyEvent.VK_LEFT) {
skipBack();
} else if (keycode==KeyEvent.VK_RIGHT) {
skipForward();
public void keyPressed(KeyEvent ke) {
int keycode = ke.getKeyCode();
if (keycode==KeyEvent.VK_LEFT) {
skipBack();
} else if (keycode==KeyEvent.VK_RIGHT) {
skipForward();
}else if (keycode==KeyEvent.VK_UP) {
st();
}else if (keycode==KeyEvent.VK_DOWN) {
sp();
public void skipForward() {
Time settime;
double secs=5;
double playersecs = player.getMediaTime().getSeconds();
double duration = player.getDuration().getSeconds();
if((playersecs+secs) < duration){
settime = new javax.media.Time(playersecs + secs);
player.setMediaTime(settime);
}else {
player.setMediaTime(new Time(duration));
public void skipBack() {
double secs1=5;
double secs2=0;
double playersecs1 = player.getMediaTime().getSeconds();
Time settime1;
if((playersecs1 - secs1) > secs2){
settime1 = new javax.media.Time(playersecs1 - secs1);
player.setMediaTime(settime1);
}else {
player.setMediaTime(new Time(0));
public void st() {
player.start();
public void sp() {
player.stop();
public void itemStateChanged (ItemEvent e)
loop = !loop;
With Thanks
manuEdited by: mm_mm on Nov 27, 2007 11:09 PM -
Encore CS5 Runtime Error & crashes - HELP!
Hi everyone
I have installed Encore CS5 with Premiere Pro CS5 and used it to successfully burn a DVD. Today however, when I complete the New Project tab with the name & location/project settings and click OK, there is a pause of about 3 seconds and then a pop up box:
Runtime Error! Program: C:\...
This application has requested the Runtime to terminate it in am unusual way.
Please contact the application's support team for more information.
I have looked through the forums etc and the only possible solution was to turn off DLA, but i cannot see how to do this in Windows 7.
If anyone can help I would be most greatful, I don't see why I was able to burn a DVD without this problem last time.
Thanks!I know this is an old thread, but I've been getting this recently and managed to find a solution.
Just for future reference this what I did, though not sure exactly which fixed it!..
I uninstalled Encore CS5
I also uninstalled some software related to the LG Bluray writer I had installed:
Cyberlink Power2Go
Cyberlink PowerStarter
Cyberlink LabelPrint
Cyberlink PowerProducer.
2 other programs I uninstalled: (less likely to cause a problem, but I was not using them)
Google Earth
ArcScan stitch-delux
Reboot
Use CCleaner to clean registry.
Disconnect internet
Disable Mcafee virus scan
Reinstall Encore CS5... then it all seemed to work ok, could create new projects etc.
My PC is running Windows 7 32bit. The LG writer is a BH10LS30 -
Noob question, how to avoid this runtime error,please help..
Im new to java. Im using a JOptionPane in getting the user an input/a number, which is in String,. and to use it, im converting it by Integer.parseInt. When I run it everything seems ok, but whenever i inputted other data types other than integer(e.g char), i get a runtime error message "exception in main thread java.lang.NumberFormatException blah blah.....,. Is theres a way or a method or something that i can filter the users input when they type a character or when they inputted nothing that will not resulted to a runtime error, instead, an error message box will said that it is an invalid input. thanks in advance
Ah, well, after an evening of rest and reflection, I have to conclude that we are all partially correct. I never meant to imply that NumberFormatException should not be caught. I have had to repair too many classes in which just-in-case or programming-by-exception was a rule, rather than a valuable technique for handling exceptional or error situations.
As far as this example, I was not attempting to write a parser, or even start one. We are talking about a very simple situation ... determine if a String represents an integer. My example was overly simple, too. As pointed out, too simple. *\d+* would have eliminated empty strings, and with a few relatively minor changes, could handle all legal integers easily, including '-' and ',' characters, while excluding floating point and other invalid inputs. I did mention that regexes were an advanced technique. A Scanner could be used to test for the existence of an integer in a string. None of these rise to the level of parsing, IMO, but, as I have frequently said in these fora, the arguments of the mages are infinite. Of course, that implies that I consider myself a mage, which is not actually the truth.
In any case, as pointed out, this is an example where catching a runtime exception is probably a good idea, as long as we don't give the OP the idea that this is the only technique, or that code can be written to ignore the causes of exceptional situations, because we can always handle them in the catch block. I have seen way too much of this to be comfortable with even the suggestion of this.
I come here to learn. Sometimes, I learn interesting, complex things. Sometimes, I learn interesting, simple things.
Sincerely, thanks for helping me to learn.
? {? -
Ora - 00600 error plz help urgent
hello all sir plz. help would should i do.
by mistake i made changes in spfile file.... after that i got this error
any solution ?
plz. help sir
SQL> create pfile from spfile;
create pfile from spfile
ERROR at line 1:
ORA-00600: internal error code, arguments: [733], [538970164], [pga heap], [],
help sir
waiting for replyfirst of all
thanx for my reply
sir i have bkp through rman but when i am connect to rman it give me error
2. i have no pfile<sid>.ora file
3. i try to start my database through pfile text file i got error..
plz. reply sir what should i do.....
how can i connect rman....
C:\>set oracle_sid=db01
C:\>rman target sys/oracle@db01
Recovery Manager: Release 10.1.0.2.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
C:\>
again thanx.
i have full database bkp through rman. -
Runtime Error need Help urgently!!
Hi,
I've just started to learn core java.I downlaoded the software from this site,and wrote a simple program to print "Hello".the program got compiled without any error.Now when i'm trying to run the program it's giving an error as
"Exception in thread "main" java.lang.UnsupportedClassVersionError:***<Unsupported major.minor Version 49.0>
Can u guys plz help me solve the problemCan u guys plz help meSorry, you'll have to get your own dictionary, or use the spelling checker of your word processor, if it can cope with the overload.
db
Maybe you are looking for
-
Script works Great, Pro-Tips appreciated.
This script is used to make a few changes that SOME of our die suppliers require. It works great. If you have a little time to look it over and give me some advice on best practices, consiseness etc. it would be greatly appreciated. Note: The files t
-
Not able to scale more than 1500 users when using apache (OHS),why ?
Hi, When scale more than 1500 users, my applications response time degrades.If i use IIS as my webserver I am able to scale more than 3000 users, is there any bottleneck in the oracle apache (OHS) ? OHS Config Timeout = 300 KeepAlive = ON MaxKeepAliv
-
GFX Card) Intel(r) 82815 Graphics Controller
when i play counter strike or other games my fps drops i have tryed every thing even down to reformating i think i got a onboard gfx card but when i look in bios i theres no option to disable it (GFX Card) Intel(r) 82815 Graphics Controller.
-
Can someone explain me the error "The method xyz is ambiguous for the type"
I get this compiler-error "The method compareTo(java.lang.Object) is ambiguous for the type MyClass" everytime when I want to access the method "compareTo(Object)", which is overwritten in MyClass and in the superclass of MyClass. What does it mean?
-
Forgive my poor english. I have importet my clip to the Event library, but i have not check the mark for "Copy files to Final Cut Event folder" under "Organizing", so i have only a link to the clips on my HD. After doing a lot of work with my project