Exception catching in event processing thread
Hello!
How to catch exceptions occurring in event processing thread during repaints, mouse & keyboard event processing etc.? All uncatched exceptions displayed in screen but I need to write them in logfile.
Anton
Yes - push your own event processor on to the AWT event queue. See my replies at
http://forum.java.sun.com/thread.jsp?forum=57&thread=484167
and
http://forum.java.sun.com/thread.jsp?forum=57&thread=163020
Although for two completely different purposes, this technique will also allow you to put your own try/catch around super.dispatchEvent()
Hope that helps
Tom
Similar Messages
-
I'm trying to write a simple program that performs a generic sync and I keep getting the following error.
The backend method I'm trying to call requires no parameters and returns and outbound container with a few DESCRIPTION registers.
Exception while sync event processing: null (java.lang.RuntimeException)
The code that fires up the sync is:
ClassLoader cl = getClass().getClassLoader();
OpportunitySourceDAL ip = new OpportunitySourceDAL(); InboundProcessorRegistry.getInstance().register(ip);
OutboundContainerFactory outfactory = OutboundContainerFactory.getInstance();
outfactory = OutboundContainerFactory.getInstance();
OutboundContainer out = outfactory.createOutboundContainer(VisibilityType.SEPARATED, "ZLISTA_SOURCES_ALIAS" , OutboundContainer.TYPE_REQUEST);
out.close();
SyncManager.getInstance().synchronizeWithBackend(VisibilityType.SEPARATED);
And the class OpportunitySourceDAL has a process method like this
public void process(InboundContainer inbound) {
try {
OpportunitySource op = OpportunitySource.getInstance();
InboundContainerElement[] sources= inbound.getElementsWithFieldName("DESCRIPTION");
for (int i = 0; i < sources.length; i++)
op.add( sources.getFieldValue() );
} catch (Exception e) {
I've already created the wrapper for the backend function using ME_WIZARD and checked that it works with ABAP debugger.
The backend function is in the same machine as was so I don't have to map an RFC destination.
Am I missing some steps?
Thanks in advance.Hi ,
Please check the following
1. The MI forms the outbound container and when you fire event synchronizeWithBackend these containers are serialized and sent to middleware and then to backend.
Please check that OutboundContainer out is not null.
2. Also see whether ht emapping b/w the backend table and the frontend tabkle is correct.
3. In case you are not able to crack error. attach the complete trace file.
regards
anubhav -
Applet UpCall from JS Event - Which Thread? Options
Hi,
With many direct references to the second lovely colour diagram on this
page: -
http://java.sun.com/javase/6/docs/technotes/guides/jweb/applet/applet...
I completely understand the hour-glass pause on the single-JS-thread
preservation architecture when the red arrow for the additional
"applet-spawned" thread tries to call down when the applet worker thread is
already calling down. Very clever; love it! Well done all involved.
What I'd like to know : -
1) When the additional applet-spawned thread calls down into Javascript and
that JS calls setTimeout(myFunc,1000) and myFunc eventually [up]Calls back
into the Applet, which thread will host the call to the applet method?
Default-Worker or Applet-Spawned? Is the tenuous link/association to a
round(ish)-trip preserved?
2) What happens when a single JAVA thread is the target of affection from
multiple Javascript UpCalls? (The scenario being a) an event upCalls to JAVA
b) The Applet takes some time before returning c) The single Javascript
thread is now free to accept further events or down-calls d) a subsequent
event has triggered another UpCall request e) but the thread is
busy/occupied with the first)
I am desperately trying to pin down architected behaviour here that is the
reciprocal of the down-call throttling. Please help if you can.
Cheers Richard MaherHi Baftos,
Thanks for your reply and help. Yes, anecdotally, UpCalls back to the Applet are handled by the thread that called down to Javascript. (As advertised and documented in the Round-Trip scenario). And the good news is that events that call back into the Applet (regardless of provenance) are handled by the appropriate "Applet N LiveConnect Worker Thread". So if you want to callback to the Applet Worker Thread then just setTimeout(yourFunc,0) rather than just yourFunc().
This is expected/wished-for behavior and it would be nice to see it documented somewhere? (The event-processing-thread" bit)
Now, if someone can answer part 2 of my question then that would be magnificent!
"> 1 Javascript UpCall" and "only one target Thread"
Cheers Richard Maher -
Exception during event processing
I have an application which has an "exception catcher" at the bottom that performs some "exit work" that I need done when the program terminates abnormally.
In certain places of the program, I automatically have the program quit and exit by dividing by zero to trigger an exception. Up until today, this technique has worked nicely.
Today, however, I tried to do it in the middle of an AWT Event (a menu selection from a frame), in the following method:
public void actionPerformed(ActionEvent event)
Instead of the exception being handled by my routine, the program instead hangs without getting to the "catch" command that I usually use and instead generates the following sequence of error messages:
Exception occurred during event dispatching:
java.lang.ArithmeticException: / by zero
at WTPFrame.actionPerformed(wtp.java:5335)
at java.awt.AWTEventMulticaster.actionPerformed(Unknown Source)
at java.awt.MenuItem.processActionEvent(Unknown Source)
at java.awt.MenuItem.processEvent(Unknown Source)
at java.awt.MenuComponent.dispatchEventImpl(Unknown Source)
at java.awt.MenuComponent.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Is there any thing I can do to allow this exception to pass through to my handler so that the program doesn't hang?
Thanks,
BruceWhen I was describing the business of subclassing an exception, this was independent of your hanging problem.
The hanging thing is a consequence of the way that threading is done in a GUI application.
Your app (by the sound of it) has two threads of execution running. The "main" thread is listening to the socket and running the game. The "EventDispatcher" thread is listening to the mouse and keyboard and redrawing the GUI.
When a GUI event handler is called, this call is done by the event dispatcher thread. If you throw an exception from the handler, the loop in the event dispatcher thread just prints the stack trace and goes on listening for more mouse and keyboard events.
To get the threads to communicate, you need for one thread to set a flag that the other thread can read. To interrupt the socket read, you need to call interrupt on the main thread from the gui thread. Lastly, to get the app to exit you must call System.exit().
class Foo {
volatile boolean weHaveToExit = false;
Thread mainThread;
// this method is called when the user clicks the exit button
void exitMenuHandler() {
weHaveToExit = true;
mainThread.interrupt();
public static void main(String[] av) {
mainThread = Thread.currentThread();
// create the menu
// attach the event handler to it
while(!weHaveToExit) {
// process a game move
System.exit(0); -
Exception Description: Unable to process XML tag [driver-class] with value
Hi
I'm newbie with TopLink. I try to write a litle application with TopLink:
- First, I create a session.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<toplink-sessions version="11g Technology Preview 3 (11.1.1.0.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<session xsi:type="database-session">
<name>dbsession</name>
<event-listener-classes/>
<logging xsi:type="toplink-log"/>
<primary-project xsi:type="xml">META-INF/tlMap.xml</primary-project>
<login xsi:type="database-login">
<platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
<user-name>dev</user-name>
<password>F6A3DA7BA187330D4E11A713C42FF833</password>
<sequencing>
<default-sequence xsi:type="table-sequence">
<name>Default</name>
</default-sequence>
</sequencing>
<driver-class>oracle.jdbc.OracleDriver</driver-class>
<connection-url>jdbc:oracle:thin:@//10.10.10.31:1521/devdb1</connection-url>
<bind-all-parameters>false</bind-all-parameters>
<struct-converters/>
</login>
</session>
</toplink-sessions>
- Second, I create a Java Application ( Application1.java):
package project2;
import java.sql.ResultSet;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Vector;
import oracle.toplink.queryframework.DataModifyQuery;
import oracle.toplink.queryframework.SQLCall;
import oracle.toplink.queryframework.StoredProcedureCall;
import oracle.toplink.sessions.DatabaseSession;
import oracle.toplink.sessions.Session;
import oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader;
import oracle.toplink.tools.sessionmanagement.SessionManager;
import oracle.toplink.util.SessionFactory;
public class Application1 {
public Application1() {
public static void main(String[] args) {
// new Application1();
String statement = "SELECT motdepasse,login FROM bou_courtier";
SessionManager sessionmanager = SessionManager.getManager();
System.out.println("test");
// SessionFactory sessionfactory = new SessionFactory("META-INF/sessions.xml","dbsession");
DatabaseSession session = (DatabaseSession)sessionmanager.getSession(new XMLSessionConfigLoader(),"dbsession",Thread.currentThread().getContextClassLoader());
// Session session = sessionfactory.acquireSession();
System.out.println("test");
SQLCall sqlcall = new SQLCall(statement);
session.executeNonSelectingCall(sqlcall);
ResultSet rs = sqlcall.getResult();
try {
while(rs.next()){
String strPass = rs.getString(1);
String strLogin = rs.getString(2);
System.out.println("Password :"+strPass+"---"+"Login :"+strLogin);
} catch (SQLException e) {
// TODO
- Third, I build and run Application1.java in Jdevelopper 11g preview 3. Sadly, the result is a error:
Exception in thread "main" Local Exception Stack:
Exception [TOPLINK-9003] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.SessionLoaderException
Exception Description: Unable to process XML tag [driver-class] with value [oracle.jdbc.OracleDriver].
Internal Exception: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at oracle.toplink.exceptions.SessionLoaderException.failedToLoadTag(SessionLoaderException.java:83)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildDatabaseLoginConfig(TopLinkSessionsFactory.java:408)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildLogin(TopLinkSessionsFactory.java:336)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildDatabaseSessionConfig(TopLinkSessionsFactory.java:182)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildSession(TopLinkSessionsFactory.java:168)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildTopLinkSessions(TopLinkSessionsFactory.java:117)
at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:239)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:448)
at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:311)
at project2.Application1.main(Application1.java:33)
Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildDatabaseLoginConfig(TopLinkSessionsFactory.java:405)
... 8 more
Process exited with exit code 1.
Can you help me to debug this error. Many thanks
user615555The internal error: "java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver"
is stating it can't find your driver jar file on the classpath. You'll need to check that you've included your Database driver in the list of libraries on your classpath.
Best Regards,
Chris -
Event Dispatch Thread Hangs, what is wrong?
The Event Dispatch Thread Hangs when showing a modal dialog while running a
SwingWorker Thread.
I have included my code at the bottom of the page. There are three classes. I have posted a bug report to red hat. But I want to make sure my code is correct.
My test case just puts the SwingWorker to sleep
but the problem occurs if I do something real, like connect to a database, etc.
Also I have tried little different variations of the logic calling
setVisible(true)/(false) in different places and the same problem occurs.
It seems to work with Sun JDK, note I am using IcedTea with Fedora Core 8.
Version-Release number of selected component (if applicable):
[szakrews@tuxtel ~]$ java -version
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea Client VM (build 1.7.0-b21, mixed mode)How reproducible:
Every couple times.
javac TestClass2
java TestClass2eventually it will hang. If it doesn't try again.
You don't have to wait for the program to finish either.
The program runs the Dialog 10 times but it never works or fails in the middle, it will either work or fail from the first dialog displayed.
I have included a thread dump. That is about the most informative information I can get. Neither tracing nor writing a custom ThreadQueue or Drawing Manager to trace events produces any helpful information.
Actual results:
The JProccessBar won't move, and the SwingWorker finishes but the done() method is never run. The PROGRAM is not hung however because if I close the dialog then it will continue.
Expected results:
The JProccessBar should always move and the SwingWorker should always run the done() method.
Additional info:
java thread dump after freeze, taken with kill -s SIGQUIT <pid>
2008-06-25 12:25:50
Full thread dump IcedTea Client VM (1.7.0-b21 mixed mode):
"DestroyJavaVM" prio=10 tid=0x938afc00 nid=0x1419 waiting on condition
[0x00000000..0x0018a074]
java.lang.Thread.State: RUNNABLE
"AWT-EventQueue-0" prio=10 tid=0x938ae400 nid=0x1429 in Object.wait()
[0x07f96000..0x07f96f04]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x96748f80> (a java.awt.EventQueue)
at java.lang.Object.wait(Object.java:503)
at java.awt.EventQueue.getNextEvent(EventQueue.java:485)
- locked <0x96748f80> (a java.awt.EventQueue)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:248)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:195)
at java.awt.Dialog$1.run(Dialog.java:1073)
at java.awt.Dialog$3.run(Dialog.java:1127)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1125)
at java.awt.Component.show(Component.java:1456)
at java.awt.Component.setVisible(Component.java:1408)
at java.awt.Window.setVisible(Window.java:871)
at java.awt.Dialog.setVisible(Dialog.java:1012)
at net.xtel.production.WaitDialog.showWaitDialog(WaitDialog.java:72)
at net.xtel.production.WaitDialog.showWaitDialog(WaitDialog.java:102)
at TestClass2.showWait(TestClass2.java:79)
at TestClass2.createAndShowGUI(TestClass2.java:126)
at TestClass2.access$0(TestClass2.java:114)
at TestClass2$3.run(TestClass2.java:138)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:227)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:603)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:276)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:186)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:139)
"AWT-Shutdown" prio=10 tid=0x938ad000 nid=0x1428 in Object.wait()
[0x03ea7000..0x03ea7f84]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x96749268> (a java.lang.Object)
at java.lang.Object.wait(Object.java:503)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:281)
- locked <0x96749268> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:675)
"AWT-XAWT" daemon prio=10 tid=0x938a8400 nid=0x1423 runnable
[0x02ccc000..0x02ccd104]
java.lang.Thread.State: RUNNABLE
at sun.awt.X11.XToolkit.waitForEvents(Native Method)
at sun.awt.X11.XToolkit.run(XToolkit.java:550)
at sun.awt.X11.XToolkit.run(XToolkit.java:525)
at java.lang.Thread.run(Thread.java:675)
"Java2D Disposer" daemon prio=10 tid=0x93854000 nid=0x1421 in Object.wait()
[0x07aea000..0x07aead84]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x966e7010> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
- locked <0x966e7010> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:150)
at sun.java2d.Disposer.run(Disposer.java:143)
at java.lang.Thread.run(Thread.java:675)
"Low Memory Detector" daemon prio=10 tid=0x93c15000 nid=0x141f runnable
[0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE
"CompilerThread0" daemon prio=10 tid=0x93c13400 nid=0x141e waiting on condition
[0x00000000..0x03a8a954]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x93c11c00 nid=0x141d waiting on
condition [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=10 tid=0x095e7000 nid=0x141c in Object.wait()
[0x005d2000..0x005d3004]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x966e71d8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
- locked <0x966e71d8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:150)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)
"Reference Handler" daemon prio=10 tid=0x095e2400 nid=0x141b in Object.wait()
[0x00581000..0x00582084]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x966e7260> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:134)
- locked <0x966e7260> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=10 tid=0x095dec00 nid=0x141a runnable
"VM Periodic Task Thread" prio=10 tid=0x93c17400 nid=0x1420 waiting on condition
JNI global references: 836
Heap
def new generation total 960K, used 152K [0x93f40000, 0x94040000, 0x966a0000)
eden space 896K, 9% used [0x93f40000, 0x93f56148, 0x94020000)
from space 64K, 100% used [0x94020000, 0x94030000, 0x94030000)
to space 64K, 0% used [0x94030000, 0x94030000, 0x94040000)
tenured generation total 4096K, used 1088K [0x966a0000, 0x96aa0000, 0xb3f40000)
the space 4096K, 26% used [0x966a0000, 0x967b01b0, 0x967b0200, 0x96aa0000)
compacting perm gen total 12288K, used 9169K [0xb3f40000, 0xb4b40000, 0xb7f40000)
the space 12288K, 74% used [0xb3f40000, 0xb4834740, 0xb4834800, 0xb4b40000)
No shared spaces configured.CLASS1:
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.sql.SQLException;
import java.util.concurrent.ExecutionException;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.RepaintManager;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
public class TestClass2 extends JFrame implements ActionListener {
/** Action Command for <code>searchbtn</code> */
public static final String SEARCH_BTN_ACTION = "search_btn_action";
* Constructor.
public TestClass2() {
setSize(650, 350);
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
setLocation(screenSize.width / 2 - getSize().width / 2,
screenSize.height / 2 - getSize().height / 2);
setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent e) {
exit();
JPanel panel = new JPanel();
add(panel);
setVisible(true);
@Override
public void actionPerformed(ActionEvent e) {
if (e.getActionCommand().equals(SEARCH_BTN_ACTION)) {
JOptionPane.showMessageDialog(this, "Button Pressed");
public void showWait() {
try {
WaitDialog.showWaitDialog(this, "Testing...", new SwingWorkerInterface(){
@Override
public Object workToDo() throws Throwable {
Thread.currentThread().sleep(3000);
return null;
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ExecutionException e) {
// TODO Auto-generated catch block
e.printStackTrace();
* Exits the program.
public void exit(){
System.exit(0);
* Create the GUI and show it. For thread safety, this method should be
* invoked from the event-dispatching thread.
* @throws UnsupportedLookAndFeelException
* @throws IllegalAccessException
* @throws InstantiationException
* @throws ClassNotFoundException
* @throws NullInstanceVariableException
* @throws SQLException
private static void createAndShowGUI() {
// set look and feel
try{
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
// Create instance of the ProductCatalog
TestClass2 root = new TestClass2();
for(int i = 0; i < 10; i++){
root.showWait();
}catch(Exception e){
e.printStackTrace();
* @param args
* this program does not use arguments
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
}CLASS 2:
import java.awt.Component;
import java.awt.Frame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.concurrent.ExecutionException;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JProgressBar;
import javax.swing.SwingWorker;
public class WaitDialog extends JDialog {
private boolean disposed = false;
private boolean displayed = false;
private WorkerThread worker = null;
WaitDialog(Frame parent, String text, SwingWorkerInterface in){
super(parent, true);
worker = new WorkerThread(in);
setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
addWindowListener(new WindowAdapter() {
@Override
public void windowOpened(WindowEvent e) {
worker.execute();
@Override
public void windowClosing(WindowEvent e) {
disposeWaitDialog();
this.setResizable(false);
JLabel message = new JLabel();
message.setText(text);
JProgressBar pb = new JProgressBar();
pb.setIndeterminate(true);
// set size and location
setSize(200, 100);
setLocationRelativeTo(parent);
JPanel panel = new JPanel();
panel.add(message);
panel.add(pb);
add(panel);
public void showWaitDialog(){
if(displayed == true){
return;
if(disposed == true){
disposed = false;
return;
disposed = false;
displayed = true;
setVisible(true);
public void disposeWaitDialog(){
if(disposed == true){
return;
if(displayed == true){
displayed = false;
setVisible(false);
return;
disposed = true;
displayed = false;
public static Object showWaitDialog(Component parent, String text, SwingWorkerInterface in) throws InterruptedException, ExecutionException {
WaitDialog waitDialog = null;
if (parent == null) {
waitDialog = new WaitDialog(JOptionPane.getRootFrame(), text, in);
} else {
waitDialog = new WaitDialog(JOptionPane.getFrameForComponent(parent), text, in);
while(!waitDialog.worker.isDone()){
System.out.println("about to show");
waitDialog.showWaitDialog();
System.out.println("done showing");
waitDialog.dispose();
return waitDialog.worker.get();
class WorkerThread extends SwingWorker<Throwable, Void> {
private SwingWorkerInterface in = null;
WorkerThread(SwingWorkerInterface in){
this.in = in;
public Throwable doInBackground(){
try {
System.out.println("about to do work");
in.workToDo();
System.out.println("done work no exception");
} catch (Throwable e) {
System.out.println("done work with exception");
return e;
return null;
public void done(){
System.out.println("about to dispose");
disposeWaitDialog();
System.out.println("disposed");
}CLASS 3:
public interface SwingWorkerInterface {
public Object workToDo() throws Throwable;
}There's nothing directly wrong with it, but it will
prevent other threads acquiring the class lock - but
that may be what you want.True. Although the typical case for code that looks like this would be to use wait--usually the various threads in question require the same lock, so you have to use wait in order for the waiting thread to give it up and allow the other thread to do its work. Hard to say for sure though what he's doing.
Also, if loading is all that the other thread does, and you're waiting for that thread to die, use join. But then, if that's the case, and you're only waiting for a single other thread, then you might as well just put it all in one thread, as already indicated. -
"Exception occurred during event dispatching". Help me, Please!
Hi, All:
when I runing my program, often catch below exception, I couldn't found where I'm wrong, and Why?
Could you please, give the below exception and
my code a quick search, and tell me how I to do it, and Why?
sincerely
yoursUrey
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:987)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:917)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:858)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:39)
at javax.swing.JComponent.paintComponent(JComponent.java:395)
at javax.swing.JComponent.paint(JComponent.java:687)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JViewport.paint(JViewport.java:668)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3878)
at javax.swing.JComponent._paintImmediately(JComponent.java:3821)
at javax.swing.JComponent.paintImmediately(JComponent.java:3672)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:124)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:987)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:917)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:858)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:39)
at javax.swing.JComponent.paintComponent(JComponent.java:395)
at javax.swing.JComponent.paint(JComponent.java:687)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JViewport.paint(JViewport.java:668)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3878)
at javax.swing.JComponent._paintImmediately(JComponent.java:3821)
at javax.swing.JComponent.paintImmediately(JComponent.java:3672)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:124)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
* the code of sort part *
class TableMouseAdapter extends MouseAdapter{
public void mouseClicked(MouseEvent env){
Cursor headerCursor = tableHeader.getCursor();
String cursorName = headerCursor.getName();
Debug.println("Cursor Name : "+cursorName);
TableColumnModel colModel = treeTable.getColumnModel();
selectedColumnIndex = colModel.getColumnIndexAtX(env.getX());
boolean isLeftMouse = SwingUtilities.isLeftMouseButton(env);
if(isLeftMouse){
if(cursorName.equalsIgnoreCase("Default Cursor")){
if(env.getClickCount() == 2){
// Sort the project of that column.
model.sort(selectedColumnIndex);
}else if(cursorName.equalsIgnoreCase("East Resize Cursor")){
if(env.getClickCount() == 2){
Debug.println("XLocation : "+env.getX());
selectedColumnIndex = colModel.getColumnIndexAtX(env.getX()-10);
Debug.println("Column index : "+selectedColumnIndex);
if(selectedColumnIndex>0){
// resize the width of this column.
Vector columnValues = getColumnValues(selectedColumnIndex);
int maxColumnWidth = getMaxColumnWidth(columnValues, selectedColumnIndex);
resetColumnWidth(colModel, selectedColumnIndex, maxColumnWidth);
//>> ******** the sort of the model in TableMouseAdapter
public void sort(int columnIndex){
this.sortColumnIndex = columnIndex;
(new Thread(new ProjectSort(root))).start();
//<< ******** the sort of the model in TableMouseAdapter
//>>********** the sort thread run method ********************************
public void run(){
// Get the sorter from the stack, if the stack size is 0
// then create a new sorter for the tree-table.
MergeSort sorter = getSizeSorter();
if( sorter == null )
return ;
// Set is Ascending sort or not ,
if(oldSortColumn == sortColumnIndex){
if(isSortAscending){
isSortAscending = false;
}else isSortAscending = true;
}else {isSortAscending = false;}
// if sort the tree table could not disply its originality node.
// it would be disply its sort node
isNeedOriginalityNode = false;
sortNode(sorter, node);
// when sort is over, then push the sort to the stack,
// for to used at next time.
recycleSorter(sorter);
oldSortColumn = sortColumnIndex;
// After the sort, you need to update the UI, and send the update
// event to the EventCenter.
treeTableView.getTreeTable().updateUI();
EventCenter.broadcast(treeTableView.getTreeTable(), EventCenter.UPDATE, treeTableView.updateHashData());
//<<********** the sort thread run method ********************************
//>>********** the updateUI of the treeTableView.getTreeTable() *************
public void updateUI() {
TreePath selecedPath= null;
if(tree!=null){
selecedPath = tree.getSelectionPath();
try{
if(tree != null) {
tree.updateUI();
super.updateUI();
// Use the tree's default foreground and background colors in the
// table.
LookAndFeel.installColorsAndFont(this, "Tree.background",
"Tree.foreground", "Tree.font");
if(tree != null && selecedPath!=null) {
//Set the seleted path after updateUI.
tree.setSelectionPath(selecedPath);
}catch(Exception exp){ exp.printStackTrace(); };
//<<********** the updateUI of the treeTableView.getTreeTable() *************Dear, turingcomplete :
Thanks for your help, I was changed the thread in my code, my problem was moved.
thank you again
sincerely
yours Urey -
How to catch window event on jApplet
Could you please let me know, How to catch �activate window� event on Japplet page. I am using the following class.
public class CtApplet
extends JApplet
implements Runnable, ErrorHandlerI could implement the same on Jframe by using the following Api�s. I assume they don�t exist on Japplet.
this.addWindowListener (��.);
class ��
extends java.awt.event.WindowAdapter
public void windowActivated (WindowEvent e)
��..
}Edited by: samtek on Oct 30, 2007 7:59 PM
I extened my japplet class from WindowListener, and added function, windowActivated(), But not able to catch the event.Hi,
I would try AWTEventListener; it should work with a JFrame.
Now I probably could have done this better but I made 2 classes for this.
HyperFrame to run the applet as an Application and have the Frame handle
the AWT events, and AWTEventManager to process the Events when running as an Applet. In the future I will probably merge into 1 AWTEventManager.
https://hyperview.dev.java.net/source/browse/hyperview/www/HyperView299/AWTEventManager.java?rev=1.3&view=markup
https://hyperview.dev.java.net/source/browse/hyperview/www/HyperView299/HyperFrame.java?rev=1.11&view=markup
Anyway, omit the View/List specific code and look at the setup; it should work for you. BTW Not ATM multi instance friendly but on my todo list several hundred down.
You will need to tweak the Thread control as well; probably AWTEventManager is the class to study as it really shows all you need to implement an AWTEventListener
Good Luck!
(T) -
CODE TRICK: event dispatch thread and tables
This is a handy little trick for all you MVC users out there...
I was working on a table class and I had this little issue that came up about not calling the AbstractTableModel's update (fireXxx()) methods from outside the event dispatch thread.
As I'm one to create my own table models anyway, to match my data source, I found this little trick, with a little help from java.awt.EventQueue, works nicely to let the method be called from any place without having to worry about what thread it's in. Seems to work well...
* Overridden to make safe when calling from the event dispatch thread
* or another thread.
* @see javax.swing.table.AbstractTableModel#fireTableRowsUpdated(int, int)
public void fireTableRowsUpdated(final int firstRow, final int lastRow)
if(EventQueue.isDispatchThread())
super.fireTableRowsUpdated(firstRow, lastRow);
else
try
// could use invokeLater, depending on your needs
SwingUtilities.invokeAndWait(new Runnable() {
public void run()
MyTableModel.super.fireTableRowsUpdated(firstRow, lastRow);
catch (Exception e)
e.printStackTrace();
}http://java.sun.com/products/jfc/tsc/articles/timer/index.html
-
Hello
When I am opening itunes (11.4) I have this message:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 iTunes main Dispatch queue: com.apple.main-thread
When I am opening it with an other account on the same computer it is OK.
I tried to delete all the files in my library --> NOK
Using disk utility I repaired the disk permission (permission de disque in french) --> NOK
Please help.step 2
Process:
iTunes [336]
Path:
/Applications/iTunes.app/Contents/MacOS/iTunes
Identifier:
com.apple.iTunes
Version:
11.4 (11.4)
Build Info:
iTunes-1140011004000018~1
Code Type:
X86 (Native)
Parent Process: launchd [214]
Date/Time:
2014-09-14 09:34:09.900 +0200
OS Version:
Mac OS X 10.6.8 (10K549)
Report Version: 6
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 iTunes main Dispatch queue: com.apple.main-thread
Application Specific Information:
abort() called
Thread 0 Crashed: iTunes main Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib
0x9273bc5a __kill + 10
1 libSystem.B.dylib
0x9273bc4c kill$UNIX2003 + 32
2 libSystem.B.dylib
0x927ce5a5 raise + 26
3 libSystem.B.dylib
0x927e46e4 abort + 93
4 libSystem.B.dylib
0x926e1575 free + 129
5 ...ple.CoreServices.CarbonCore 0x93e6c01d DisposePtr + 37
6 com.apple.DesktopVideoOut
0x178eb6cb DVOClose + 161
7 ...ple.CoreServices.CarbonCore 0x93eb6dcc CallComponentFunctionCommonWithStorage(char**, ComponentParameters*, long (*)(), unsigned long) + 54
8 com.apple.DesktopVideoOut
0x178eb2e4 DVOComponentDispatch + 98
9 ...ple.CoreServices.CarbonCore 0x93eaf51f CallComponentDispatch + 29
10 ...ple.CoreServices.CarbonCore 0x93eaf8a8 CallComponentClose + 43
11 ...ple.CoreServices.CarbonCore 0x93eaf7d1 CloseComponentInternal(ComponentInstanceRecord*) + 101
12 ...ple.CoreServices.CarbonCore 0x93eaf752 CloseComponent + 46
13 ...ple.CoreServices.CarbonCore 0x93ead814 OpenAComponent + 493
14 ...ple.CoreServices.CarbonCore 0x93eb3149 OpenComponent + 24
15 ...ple.CoreServices.CarbonCore 0x93eaf5cc CallComponent + 171
16 ...ple.CoreServices.CarbonCore 0x93eaf51f CallComponentDispatch + 29
17 ...ple.CoreServices.CarbonCore 0x93f3de15 CallComponentVersion + 37
18 ...ple.CoreServices.CarbonCore 0x93ede440 getComponentVersion(RegisteredComponent*) + 213
19 ...ple.CoreServices.CarbonCore 0x93ea7ede DestroyOlder(RegisteredComponent*, long) + 126
20 ...ple.CoreServices.CarbonCore 0x93ea79bc RegisterComponentResourcePtr + 709
21 ...ple.CoreServices.CarbonCore 0x93ea6fa1 registerSystemComponents + 244
22 ...ple.CoreServices.CarbonCore 0x93ea6dd1 FindNextComponentInternal(ComponentRecord*, ComponentDescription*, unsigned long) + 86
23 ...ple.CoreServices.CarbonCore 0x93ea6d64 FindNextComponent + 61
24 com.apple.QuickTime
0x95e7defd EnterMovies_priv + 411
25 com.apple.QuickTime
0x95e7da3a EnterMovies + 16
26 com.apple.iTunes
0x00c304c3 0x1000 + 12776643
27 com.apple.iTunes
0x007472f6 0x1000 + 7627510
28 com.apple.iTunes
0x00743f9f 0x1000 + 7614367
29 com.apple.iTunes
0x007463ab 0x1000 + 7623595
30 com.apple.iTunes
0x0074634c 0x1000 + 7623500
31 com.apple.Foundation
0x90c9ddb3 _nsnote_callback + 176
32 com.apple.CoreFoundation
0x9a916763 __CFXNotificationPost + 947
33 com.apple.CoreFoundation
0x9a91616a _CFXNotificationPostNotification + 186
34 com.apple.Foundation
0x90c92c50 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
35 com.apple.Foundation
0x90ca005d -[NSNotificationCenter postNotificationName:object:] + 56
36 com.apple.AppKit
0x99f66511 -[NSApplication finishLaunching] + 493
37 com.apple.AppKit
0x99f65f0d -[NSApplication run] + 79
38 com.apple.iTunes
0x00934834 0x1000 + 9648180
39 com.apple.iTunes
0x002eee29 0x1000 + 3071529
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib
0x92701382 kevent + 10
1 libSystem.B.dylib
0x92701a9c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib
0x92700f59 _dispatch_queue_invoke + 163
3 libSystem.B.dylib
0x92700cfe _dispatch_worker_thread2 + 240
4 libSystem.B.dylib
0x92700781 _pthread_wqthread + 390
5 libSystem.B.dylib
0x927005c6 start_wqthread + 30
Thread 2:
0 libSystem.B.dylib
0x92700412 __workq_kernreturn + 10
1 libSystem.B.dylib
0x927009a8 _pthread_wqthread + 941
2 libSystem.B.dylib
0x927005c6 start_wqthread + 30
Thread 3:
0 com.apple.CoreFP
0x15858fc0 X46O5IeS + 6500448
1 com.apple.CoreFP
0x15ae4fe6 fdjkDSAFjklaf2s + 1258054
2 com.apple.CoreFP
0x15255560 X46O5IeS + 194048
3 com.apple.CoreFP
0x159b33f7 fdjkDSAFjklaf2s + 5719
4 com.apple.CoreFP
0x15cd599a WIn9UJ86JKdV4dM + 106
5 com.apple.iTunes
0x00f27d04 0x1000 + 15887620
6 com.apple.iTunes
0x00f1a718 0x1000 + 15832856
7 com.apple.iTunes
0x00f20970 0x1000 + 15858032
8 com.apple.iTunes
0x00f0a379 0x1000 + 15766393
9 com.apple.iTunes
0x00f52b5c 0x1000 + 16063324
10 com.apple.iTunes
0x00400298 0x1000 + 4190872
11 com.apple.iTunes
0x000058ad 0x1000 + 18605
12 libSystem.B.dylib
0x92708259 _pthread_start + 345
13 libSystem.B.dylib
0x927080de thread_start + 34
Thread 4: CFRunLoopThread
0 libSystem.B.dylib
0x926daafa mach_msg_trap + 10
1 libSystem.B.dylib
0x926db267 mach_msg + 68
2 com.apple.CoreFoundation
0x9a8f82df __CFRunLoopRun + 2079
3 com.apple.CoreFoundation
0x9a8f73c4 CFRunLoopRunSpecific + 452
4 com.apple.CoreFoundation
0x9a8fd304 CFRunLoopRun + 84
5 com.apple.iTunes
0x000121e2 0x1000 + 70114
6 com.apple.iTunes
0x000058ad 0x1000 + 18605
7 libSystem.B.dylib
0x92708259 _pthread_start + 345
8 libSystem.B.dylib
0x927080de thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x927e4693 ecx: 0xbfffef0c edx: 0x9273bc5a
edi: 0x02b3d000 esi: 0x00000002 ebp: 0xbfffef28 esp: 0xbfffef0c
ss: 0x0000001f efl: 0x00000282 eip: 0x9273bc5a cs: 0x00000007
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x927ce58b
Binary Images:
0x1000 - 0x1708ffb com.apple.iTunes 11.4 (11.4) <3024174F-E7F0-3657-BCCF-9EBEB3BBF7B5> /Applications/iTunes.app/Contents/MacOS/iTunes
0x19f3000 - 0x1a73ff3 com.apple.iTunes.iPodUpdater 10.7 (10.7) <1D752EE8-1B5B-3CED-B4C7-9DB030D93139> /Applications/iTunes.app/Contents/Frameworks/iPodUpdater.framework/Versions/A/i PodUpdater
0x1ade000 - 0x1b03ff7 com.apple.avfoundationcf 2.0 (60.1) <2D4DFC71-1195-4549-658B-7295F37AAEC3> /System/Library/PrivateFrameworks/AVFoundationCF.framework/Versions/A/AVFoundat ionCF
0x1b2b000 - 0x1e2cfe3 com.apple.iad.iAdCore 1.0 (1) <5421CDD6-B523-3650-A779-7E8F9A458091> /Applications/iTunes.app/Contents/Frameworks/iAdCore.framework/Versions/A/iAdCo re
0x1ef0000 - 0x1ef5ff7 com.apple.iPod 1.6 (17) <4CCD2720-D270-C0D2-1E14-1374779C2401> /System/Library/PrivateFrameworks/iPod.framework/Versions/A/iPod
0x1efb000 - 0x21d7fe7 +libgnsdk_dsp.1.9.5.dylib 1.9.5 (compatibility 1.9.5) <E468D2B0-295A-D520-C02A-5383413B5DDE> /Applications/iTunes.app/Contents/MacOS/libgnsdk_dsp.1.9.5.dylib
0x21ff000 - 0x2232fe7 +libgnsdk_musicid.1.9.5.dylib 1.9.5 (compatibility 1.9.5) <F6487E48-3B93-7C89-7734-85600749661D> /Applications/iTunes.app/Contents/MacOS/libgnsdk_musicid.1.9.5.dylib
0x2241000 - 0x230bfe7 +libgnsdk_sdkmanager.1.9.5.dylib 1.9.5 (compatibility 1.9.5) <70001144-C144-B6D7-3CA9-836ACD97CE9F> /Applications/iTunes.app/Contents/MacOS/libgnsdk_sdkmanager.1.9.5.dylib
0x2325000 - 0x2367fe7 +libgnsdk_submit.1.9.5.dylib 1.9.5 (compatibility 1.9.5) <AB1597CE-FBAC-6C05-330E-879EDD036C94> /Applications/iTunes.app/Contents/MacOS/libgnsdk_submit.1.9.5.dylib
0x236e000 - 0x23b3ff7 com.apple.CoreMedia.AVCFSupport 1.0 (705.24.4) <FAEC8CE1-BF17-B566-38E3-98E97C2403CE> /System/Library/PrivateFrameworks/AVFoundationCF.framework/Support/CoreMedia.fr amework/Versions/A/CoreMedia
0x23d2000 - 0x273dff3 com.apple.MediaToolbox.AVCFSupport 1.0 (705.24.4) <B801EFCB-07D9-2A94-9E7A-530AD7E892AA> /System/Library/PrivateFrameworks/AVFoundationCF.framework/Support/MediaToolbox .framework/Versions/A/MediaToolbox
0x27a2000 - 0x2ae2feb com.apple.VideoToolbox.AVCFSupport 1.0 (705.24.4) <A4DBF709-3753-2F20-B20D-1D5DB80F3997> /System/Library/PrivateFrameworks/AVFoundationCF.framework/Support/VideoToolbox .framework/Versions/A/VideoToolbox
0x2b5c000 - 0x2b68ff7 +com.rogueamoeba.audio_hijack_server.hermes 2.2.5 (2.2.5) <CD6C7A74-BA03-F3A7-0D1E-460E6A043024> /usr/local/hermes/modules/Instant Hijack Server.hermesmodule/Contents/MacOS/Instant Hijack Server
0x1519e000 - 0x15e3cfe0 com.apple.CoreFP 2.6.16 (2.6.16) <B8744DFB-F0AE-3DD9-8546-D28B49D38B4B> /System/Library/PrivateFrameworks/CoreFP.framework/CoreFP
0x178ea000 - 0x179a7fe2 com.apple.DesktopVideoOut 1.2.7 (1.2.7) <54E0C747-1169-FB4A-2CB4-9EA9BD5398F8> /Users/loic/Library/QuickTime/DesktopVideoOut.component/Contents/MacOS/DesktopV ideoOut
0x8fe00000 - 0x8fe4162b dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld
0x90003000 - 0x90085ffb SecurityFoundation ??? (???) <3670AE8B-06DA-C447-EB14-79423DB9C474> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x90086000 - 0x900dcff7 com.apple.MeshKitRuntime 1.1 (49.2) <F1EAE9EC-2DA3-BAFD-0A8C-6A3FFC96D728> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/Frameworks/MeshK itRuntime.framework/Versions/A/MeshKitRuntime
0x900dd000 - 0x901bdfe7 com.apple.vImage 4.1 (4.1) <D029C515-08E1-93A6-3705-DD062A3A672C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x901be000 - 0x901e5ff7 com.apple.quartzfilters 1.6.0 (1.6.0) <879A3B93-87A6-88FE-305D-DF1EAED04756> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
0x901e6000 - 0x9020aff7 libJPEG.dylib ??? (???) <50E17B4D-63D6-24D3-702F-6A6E912A55EA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x9020b000 - 0x902d6fef com.apple.CoreServices.OSServices 359.2 (359.2) <7C16D9C8-6F41-5754-17F7-2659D9DD9579> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x902d7000 - 0x90311ff7 libcups.2.dylib 2.8.0 (compatibility 2.0.0) <A6C207E3-7B42-926D-9C93-BE3F50B92496> /usr/lib/libcups.2.dylib
0x90312000 - 0x9036fff7 com.apple.framework.IOKit 2.0 (???) <3DABAB9C-4949-F441-B077-0498F8E47A35> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90370000 - 0x9038efe7 libPng.dylib ??? (???) <6C0B95D7-9634-E044-0B79-F1DD56961C33> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x9038f000 - 0x903dfff7 com.apple.framework.familycontrols 2.0.2 (2020) <C96C8A99-A40C-8B9C-1FBA-A0F46AC92F17> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
0x903ec000 - 0x903edff7 com.apple.audio.units.AudioUnit 1.6.7 (1.6.7) <93EC71F1-4D4E-F456-8EFE-32E7EFD7A064> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9040d000 - 0x9046efe7 com.apple.CoreText 151.13 (???) <23F359DA-D845-5C50-4DF3-19E858CF2B2C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x9046f000 - 0x9056ffe7 libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <BE7FCD73-03B5-25A4-FCA4-D4980F1488D6> /usr/lib/libxml2.2.dylib
0x90570000 - 0x9058fff7 com.apple.CoreVideo 1.6.2 (45.6) <EB53CAA4-5EE2-C356-A954-5775F7DDD493> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x906c8000 - 0x90781fe7 libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <52438E77-55D1-C231-1936-76F1369518E4> /usr/lib/libsqlite3.dylib
0x90784000 - 0x90788ff7 libGFXShared.dylib ??? (???) <09540618-2ED1-72C4-61CB-938B35927568> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x90789000 - 0x90a36fff com.apple.JavaScriptCore 6534.59 (6534.59.11) <7F623AA5-A11B-4C26-D2FD-EB5B9DE73F85> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x90aee000 - 0x90afcfe7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <3CE8AA79-F077-F1B0-A039-9103A4A02E92> /usr/lib/libz.1.dylib
0x90afd000 - 0x90b3aff7 com.apple.CoreMedia 0.484.60 (484.60) <8FAB137D-682C-6DEC-5A15-F0029A5B226F> /System/Library/PrivateFrameworks/CoreMedia.framework/Versions/A/CoreMedia
0x90b3b000 - 0x90b53ff7 com.apple.CFOpenDirectory 10.6 (10.6) <F9AFC571-3539-6B46-ABF9-46DA2B608819> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x90b54000 - 0x90bf1fe3 com.apple.LaunchServices 362.3 (362.3) <15B47388-16C8-97DA-EEBB-1709E136169E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x90c61000 - 0x90c87ffb com.apple.DictionaryServices 1.1.2 (1.1.2) <43E1D565-6E01-3681-F2E5-72AE4C3A097A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x90c88000 - 0x90ef9fef com.apple.Foundation 6.6.8 (751.63) <69B3441C-B196-F2AD-07F8-D8DD24E4CD8C> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90efb000 - 0x90f23ff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <E761F29A-328B-29D9-3DF0-023F2C21E500> /usr/lib/libxslt.1.dylib
0x90f2f000 - 0x90f36ff3 com.apple.print.framework.Print 6.1 (237.1) <F5AAE53D-5530-9004-A9E3-2C1690C5328E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x90f37000 - 0x90f68ff7 libGLImage.dylib ??? (???) <D18E2E76-DBF4-6930-039A-F66CA0D120B3> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x90f69000 - 0x90f8afe7 com.apple.opencl 12.3.6 (12.3.6) <B4104B80-1CB3-191C-AFD3-697843C6BCFF> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x90f90000 - 0x90f96fff com.apple.CommonPanels 1.2.4 (91) <2438AF5D-067B-B9FD-1248-2C9987F360BA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x90f97000 - 0x90fdaff7 libGLU.dylib ??? (???) <6CC3CE6A-7024-C685-EADA-7F9DC27128E2> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x90ff5000 - 0x9111efe7 com.apple.WebKit 6534.59 (6534.59.10) <73348DE8-9C7D-3BD9-8E9D-86E5BE67B1D1> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x9111f000 - 0x9124cffb com.apple.MediaToolbox 0.484.60 (484.60) <A7FE2739-64A7-40EB-A6E7-69FBCE3C87D4> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbo x
0x9124d000 - 0x91291ff3 com.apple.coreui 2 (114) <29F8F1A4-1C96-6A0F-4CC2-9B85CF83209F> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x91292000 - 0x912e2fe7 libTIFF.dylib ??? (???) <AB182CEC-188A-F2BC-21E1-0059FD3B2598> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91461000 - 0x91475fe7 libbsm.0.dylib ??? (???) <14CB053A-7C47-96DA-E415-0906BA1B78C9> /usr/lib/libbsm.0.dylib
0x91548000 - 0x91551ff7 com.apple.corelocation 12.3 (12.3) <11640844-4B96-4B4D-0419-B7845C4A40FF> /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation
0x91552000 - 0x91558fe7 com.apple.CommerceCore 1.0 (9.1) <521D067B-3BDA-D04E-E1FA-CFA526C87EB5> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/C ommerceCore.framework/Versions/A/CommerceCore
0x91567000 - 0x915abfe7 com.apple.Metadata 10.6.3 (507.15) <74F05E64-2A68-BA10-CCD4-128D164E5A0F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x915f8000 - 0x915f9ff7 com.apple.MonitorPanelFramework 1.3.0 (1.3.0) <0EC4EEFF-477E-908E-6F21-ED2C973846A4> /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPane l
0x915fa000 - 0x916b6fff com.apple.ColorSync 4.6.8 (4.6.8) <920DD017-8B41-7334-E554-A85DB99EBD5A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x916f9000 - 0x916fcff7 libCoreVMClient.dylib ??? (???) <37F56237-4ABA-E5B5-968D-70FFE357E8E0> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x91724000 - 0x91b59ff7 libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <5E2D2283-57DE-9A49-1DB0-CD027FEFA6C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x91c04000 - 0x91c0bff7 com.apple.aps.framework 1.2 (1.2) <16A7DB74-F951-D8DB-35D0-5E5673529AB0> /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePu shService
0x91c0c000 - 0x91c21fff com.apple.ImageCapture 6.1 (6.1) <B909459A-EAC9-A7C8-F2A9-CD757CDB59E8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x91c22000 - 0x92038ff7 libBLAS.dylib 219.0.0 (compatibility 1.0.0) <C4FB303A-DB4D-F9E8-181C-129585E59603> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x92039000 - 0x92039ff7 com.apple.vecLib 3.6 (vecLib 3.6) <7362077A-890F-3AEF-A8AB-22247B10E106> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x9204d000 - 0x9205bff7 com.apple.opengl 1.6.14 (1.6.14) <82622F67-E032-0BF6-A78D-50B346E8D0FD> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x9205c000 - 0x92136fff com.apple.DesktopServices 1.5.11 (1.5.11) <800F2040-9211-81A7-B438-7712BF51DEE3> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x92137000 - 0x9227afef com.apple.QTKit 7.7 (1800) <9DD27495-3020-0928-B3F2-D418C336E163> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
0x926da000 - 0x92881ff7 libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib
0x92882000 - 0x928bfff7 com.apple.SystemConfiguration 1.10.8 (1.10.2) <50E4D49B-4F61-446F-1C21-1B2BA814713D> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x928f9000 - 0x9290dffb com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <57DD5458-4F24-DA7D-0927-C3321A65D743> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x92919000 - 0x92c3dfef com.apple.HIToolbox 1.6.5 (???) <21164164-41CE-61DE-C567-32E89755CB34> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x92c3e000 - 0x92c81ff7 com.apple.NavigationServices 3.5.4 (182) <753B8906-06C0-3AE0-3D6A-8FF5AC18ED12> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x92fb5000 - 0x93320ff7 com.apple.QuartzCore 1.6.3 (227.37) <E323A5CC-499E-CA9E-9BC3-537231449CAA> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x93328000 - 0x9332cff7 libGIF.dylib ??? (???) <2251F789-B187-0837-6E38-A0E5C7C4FA3C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x93369000 - 0x933a7ff7 com.apple.QuickLookFramework 2.3 (327.7) <6387A103-C7EF-D56B-10EF-5ED5FC7F33A5> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
0x933a8000 - 0x93454fe7 com.apple.CFNetwork 454.12.4 (454.12.4) <DEDCD006-389F-967F-3405-EDF541F406D7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x93496000 - 0x934a0ffb com.apple.speech.recognition.framework 3.11.1 (3.11.1) <EC0E69C8-A121-70E8-43CF-E6FC4C7779EC> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x934a1000 - 0x93539fe7 edu.mit.Kerberos 6.5.11 (6.5.11) <F36DB665-A88B-7F5B-6244-6A2E7FFFF668> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x93546000 - 0x93550fe7 com.apple.audio.SoundManager 3.9.3 (3.9.3) <5F494955-7290-2D91-DA94-44B590191771> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x9358d000 - 0x935c2fe7 com.apple.framework.Apple80211 6.2.5 (625.6) <9F56E0EC-EB90-52F6-0ECF-C2E5DE85652E> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x93703000 - 0x93703ff7 com.apple.ApplicationServices 38 (38) <8012B504-3D83-BFBB-DA65-065E061CFE03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x93704000 - 0x93710ff7 libkxld.dylib ??? (???) <9A441C48-2D18-E716-5F38-CBEAE6A0BB3E> /usr/lib/system/libkxld.dylib
0x93711000 - 0x9384efe7 com.apple.audio.toolbox.AudioToolbox 1.6.7 (1.6.7) <423BDE4D-5082-B6CA-BB2C-E22A037235A4> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x938fb000 - 0x93942ffb com.apple.CoreMediaIOServices 140.0 (1496) <DA152F1C-8EF4-4F5E-6D60-82B1DC72EF47> /System/Library/PrivateFrameworks/CoreMediaIOServices.framework/Versions/A/Core MediaIOServices
0x93943000 - 0x93985ff7 libvDSP.dylib 268.0.1 (compatibility 1.0.0) <3F0ED200-741B-4E27-B89F-634B131F5E9E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x93ada000 - 0x93ae5ff7 libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <287DECA3-7821-32B6-724D-AE03A9A350F9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x93ae6000 - 0x93b8effb com.apple.QD 3.36 (???) <FA2785A4-BB69-DCB4-3BA3-7C89A82CAB41> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x93c84000 - 0x93e47feb com.apple.ImageIO.framework 3.0.6 (3.0.6) <AE641FAD-DF38-AE31-B45B-85AEE7AF3A45> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x93e48000 - 0x94168ff3 com.apple.CoreServices.CarbonCore 861.39 (861.39) <5C59805C-AF39-9010-B8B5-D673C9C38538> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x941b2000 - 0x941b3ff7 com.apple.TrustEvaluationAgent 1.1 (1) <FEB55E8C-38A4-CFE9-A737-945F39761B4C> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x9495f000 - 0x9499bfe7 libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <CEE95B62-8F1C-2013-6ED3-42EB8A1018DF> /usr/lib/libssl.0.9.8.dylib
0x9499c000 - 0x949a0ff7 IOSurface ??? (???) <D849E1A5-6B0C-2A05-2765-850EC39BA2FF> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x949a1000 - 0x94a10ff7 libvMisc.dylib 268.0.1 (compatibility 1.0.0) <2FC2178F-FEF9-6E3F-3289-A6307B1A154C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x94a1f000 - 0x94a21ff7 com.apple.securityhi 4.0 (36638) <38D36D4D-C798-6ACE-5FA8-5C001993AD6B> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x94a22000 - 0x94a44fef com.apple.DirectoryService.Framework 3.6 (621.16) <5566E769-6459-78A7-DD2C-1D3068BD3932> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x94a45000 - 0x94a4dff7 com.apple.DisplayServicesFW 2.3.3 (289) <828084B0-9197-14DD-F66A-D634250A212E> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
0x94a79000 - 0x94a89ff7 libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <C8744EA3-0AB7-CD03-E639-C4F2B910BE5D> /usr/lib/libsasl2.2.dylib
0x94a8a000 - 0x94b67fe3 com.apple.DiscRecording 5.0.9 (5090.4.2) <92C85A16-5C80-9F35-13BE-2B312956AA9A> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
0x94b68000 - 0x94b88fe7 libresolv.9.dylib 41.1.0 (compatibility 1.0.0) <8C2B5FA8-2469-21C7-D297-F95A0FFE5F19> /usr/lib/libresolv.9.dylib
0x94bc3000 - 0x94bc3ff7 liblangid.dylib ??? (???) <B99607FC-5646-32C8-2C16-AFB5EA9097C2> /usr/lib/liblangid.dylib
0x94bd8000 - 0x95253ff7 com.apple.CoreAUC 6.11.03 (6.11.03) <42B31B0F-18F9-29D2-A67C-7B81A47F6D67> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x95254000 - 0x952aefe7 com.apple.CorePDF 1.4 (1.4) <78A1DDE1-1609-223C-A532-D282DC5E0CD0> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
0x952c8000 - 0x95380feb libFontParser.dylib ??? (???) <D2D0C922-5ED1-3AE9-6F99-707C74DF3E62> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x95381000 - 0x9539dfe3 com.apple.openscripting 1.3.1 (???) <DA16DE48-59F4-C94B-EBE3-7FAF772211A2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x9539e000 - 0x95430fe7 com.apple.print.framework.PrintCore 6.3 (312.7) <7410D1B2-655D-68DA-D4B9-2C65747B6817> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x95453000 - 0x954a6ff7 com.apple.HIServices 1.8.3 (???) <1D3C4587-6318-C339-BD0F-1988F246BE2E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x954a7000 - 0x954b4ff7 com.apple.NetFS 3.2.2 (3.2.2) <DDC9C397-C35F-8D7A-BB24-3D1B42FA5FAB> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x954b5000 - 0x95697fff com.apple.imageKit 2.0.3 (1.0) <6E557757-26F7-7941-8AE7-046EC1871F50> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
0x95698000 - 0x9569dff7 com.apple.OpenDirectory 10.6 (10.6) <C1B46982-7D3B-3CC4-3BC2-3E4B595F0231> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x9569e000 - 0x95820fe7 libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <60FF302E-5FAE-749B-BC70-0496DC2FBF2D> /usr/lib/libicucore.A.dylib
0x95984000 - 0x95ab2fe7 com.apple.CoreData 102.1 (251) <E6A457F0-A0A3-32CD-6C69-6286E7C0F063> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x95ab3000 - 0x95ab6ffb com.apple.help 1.3.2 (41.1) <8AC20B01-4A3B-94BA-D8AF-E39034B97D8C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x95ab7000 - 0x95b1bffb com.apple.htmlrendering 72 (1.1.4) <4D451A35-FAB6-1288-71F6-F24A4B6E2371> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x95b95000 - 0x95b98fe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
0x95b99000 - 0x95dffff7 com.apple.security 6.1.2 (55002) <E88E133F-5FB3-446F-B753-2B8AD577B46A> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x95e00000 - 0x95e7bfff com.apple.AppleVAFramework 4.10.27 (4.10.27) <BFD2D1CA-535C-F16F-0EB5-04905ABD65CF> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
0x95e7c000 - 0x96176fef com.apple.QuickTime 7.6.6 (1800) <D3538A45-5F4B-262A-06AB-64C1EBAC4A33> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x96177000 - 0x96279fef com.apple.MeshKitIO 1.1 (49.2) <34322CDD-E67E-318A-F03A-A3DD05201046> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/Frameworks/MeshK itIO.framework/Versions/A/MeshKitIO
0x9627a000 - 0x962aaff7 com.apple.MeshKit 1.1 (49.2) <ECFBD794-5D36-4405-6184-5568BFF29BF3> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/MeshKit
0x97274000 - 0x972baff7 libauto.dylib ??? (???) <29422A70-87CF-10E2-CE59-FEE1234CFAAE> /usr/lib/libauto.dylib
0x972bb000 - 0x98033fe7 com.apple.WebCore 6534.59 (6534.59.6) <5C71C61C-0657-1B0E-397F-4D0A81872C93> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x98034000 - 0x9825fff3 com.apple.QuartzComposer 4.2 ({156.30}) <2C88F8C3-7181-6B1D-B278-E0EE3F33A2AF> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
0x98260000 - 0x9871bff7 com.apple.VideoToolbox 0.484.60 (484.60) <B53299EC-E30F-EC04-779D-29B7113CC14A> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbo x
0x98765000 - 0x98776ff7 com.apple.LangAnalysis 1.6.6 (1.6.6) <97511CC7-FE23-5AC3-2EE2-B5479FAEB316> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x98777000 - 0x98789ff7 com.apple.MultitouchSupport.framework 207.11 (207.11) <6FF4F2D6-B8CD-AE13-56CB-17437EE5B741> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
0x987b6000 - 0x9880efe7 com.apple.datadetectorscore 2.0 (80.7) <ADDE04FB-90A7-2132-75AF-C6B19DD0D97E> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x9880f000 - 0x98879fe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x98890000 - 0x98890ff7 com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <1DEC639C-173D-F808-DE0D-4070CC6F5BC7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x98891000 - 0x98993fe7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <EB34F049-D9E1-BF19-CF03-B26A0352D40C> /usr/lib/libcrypto.0.9.8.dylib
0x98994000 - 0x98aa0fe7 libGLProgrammability.dylib ??? (???) <6167CEB0-D8D6-C4D9-DD74-49755ADB540F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x98aa1000 - 0x98b1aff7 com.apple.PDFKit 2.5.5 (2.5.5) <85AA9E1C-D946-863A-823E-32F2AAF314CB> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
0x98b1b000 - 0x9930a557 com.apple.CoreGraphics 1.545.0 (???) <1D9DC7A5-228B-42CB-7018-66F42C3A9BB3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x9930b000 - 0x99350ff7 com.apple.ImageCaptureCore 1.1 (1.1) <F54F284F-0B81-0AFA-CE47-FF797A6E05B0> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
0x997a1000 - 0x997a1ff7 com.apple.Accelerate 1.6 (Accelerate 1.6) <BC501C9F-7C20-961A-B135-0A457667D03C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x99803000 - 0x99836ff7 com.apple.AE 496.5 (496.5) <BF9673D5-2419-7120-26A3-83D264C75222> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x99837000 - 0x99837ff7 com.apple.quartzframework 1.5 (1.5) <4EE8095D-5E47-1EB6-3A8A-6ECE3BEC8647> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
0x9993f000 - 0x9993fff7 com.apple.Cocoa 6.6 (???) <EA27B428-5904-B00B-397A-185588698BCC> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x99984000 - 0x99a32ff3 com.apple.ink.framework 1.3.3 (107) <57B54F6F-CE35-D546-C7EC-DBC5FDC79938> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x99c0d000 - 0x99ca8fe7 com.apple.ApplicationServices.ATS 275.19 (???) <2E83B3E9-AF39-36FC-5D05-CC1E952098AB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x99ca9000 - 0x99cb4ff7 libGL.dylib ??? (???) <3E34468F-E9A7-8EFB-FF66-5204BD5B4E21> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x99cb5000 - 0x99d35feb com.apple.SearchKit 1.3.0 (1.3.0) <9E18AEA5-F4B4-8BE5-EEA9-818FC4F46FD9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x99d36000 - 0x99d3dff7 com.apple.agl 3.0.12 (AGL-3.0.12) <6877F0D8-0DCF-CB98-5304-913667FF50FA> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x99dae000 - 0x99db7ff7 com.apple.DiskArbitration 2.3 (2.3) <E9C40767-DA6A-6CCB-8B00-2D5706753000> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x99e09000 - 0x99e77ff7 com.apple.QuickLookUIFramework 2.3 (327.7) <7F89C0A1-310F-ACF1-AA6E-4ADFA4DC98DC> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/QuickLookUI
0x99e78000 - 0x99e78ff7 com.apple.CoreServices 44 (44) <51CFA89A-33DB-90ED-26A8-67D461718A4A> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x99f1d000 - 0x99f1dff7 com.apple.Carbon 150 (152) <9252D5F2-462D-2C15-80F3-109644D6F704> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x99f1e000 - 0x99f20ff7 libRadiance.dylib ??? (???) <090420B3-CB65-9F7B-5349-D42F2F9693B6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x99f21000 - 0x99f31ff7 com.apple.DSObjCWrappers.Framework 10.6 (134) <81A0B409-3906-A98F-CA9B-A49E75007495> /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x99f5c000 - 0x9a83fff7 com.apple.AppKit 6.6.8 (1038.36) <A353465E-CFC9-CB75-949D-786F6F7732F6> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x9a840000 - 0x9a8bafff com.apple.audio.CoreAudio 3.2.6 (3.2.6) <156A532C-0B60-55B0-EE27-D02B82AA6217> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9a8bb000 - 0x9aa36fe7 com.apple.CoreFoundation 6.6.6 (550.44) <F88C95CD-1264-782D-A1F5-204739847E93> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9aad8000 - 0x9ab85fe7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <9F8413A6-736D-37D9-8EB3-7986D4699957> /usr/lib/libobjc.A.dylib
0x9ab9f000 - 0x9abecfeb com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <136BFA48-D456-B677-3B5D-40A6946C3A09> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <2DCD13E3-1BD1-6F25-119A-3863A3848B90> /usr/lib/libSystem.B.dylib -
How to get details about Exception catched in Exception branch of the Block
Hello Experts,
Is it possible to get details about Exception catched in Exception branch of the Block in Integration Process (BPM)?
In the Exception branch System Error is catched, but from time to time different type of System Errors are happening during sync call to WebService - Connection Timeout, Connection Refused, UnknownHost, etc.
So the task is somehow to map the type of System Error to the response. I was trying to create a mapping using as source the message which is coming from the Adapter after the sync call, but the mapping is failing with "No Source Payload" error.
Maybe the description is somewhere in Header or Dynamic configuration?
Or it is possible to access it somehow with JAVA-maping?
Thanks for your help!Hey,
the message from the exception can be utilized by using alerts(in order to mail,sms r fax). but otherwise its not possible using mappings or container.
check this link for alert configuration.
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step -
Information Regarding :Exception occurred during event dispatching
Hi,
I frequently get this exception when I click a button in a dialog and it opens up another frame of window. The exception trace includes java internal classes and my program classes line numbers. I have searched the net but could not get any concrete answer.
Is this problem in java packages or should we take care of something in our code to avoid such exceptions.
Below is the exception trace..........................
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1141)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4795)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4748)
at javax.swing.JComponent._paintImmediately(JComponent.java:4692)
at javax.swing.JComponent.paintImmediately(JComponent.java:4495)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:409)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1192)
at java.awt.Component.setVisible(Component.java:1147)
at com.mycomp.example.DialogView.showWindow(DialogView.java:91)
at com.mycomp.example.showWindow(StatusController.java:83)
at com.mycomp.example.handleOk(ExampleController.java:842)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5159)
at java.awt.Component.processEvent(Component.java:4956)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3674)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
Thanks in advance.Hi All,
Thanks for the replies and information posted by you.
Below is some code snippet: ( complete code posting is difficult) ;-)
Dialog1 is open, clicking on button say start it hides the current Dialog1 and opens the status dialog for Dialog1.
Also, we are making the current Thread to sleep to avoid flickering.
dialog1.hideWindow(); // Hide current window...
Thread.currentThread().sleep(5); // sleep to avoid flickering..
statusDialog.showWindow(); // to display status window..
I will check and try to do modifications as per your suggestions.
Thanks. -
JFileChooser : Exception occurred during event dispatching
Hi,
I'm having problems with sorting in 'Details' view of JFileChooser. I'm getting the following NullPointerException when I try to sort by clicking on the header of the JTable which I get in 'Details' view of a JFileChooser.
Exception occurred during event dispatching:
java.lang.NullPointerException
at java.awt.EventQueue.isDispatchThread(Unknown Source)
at javax.swing.SwingUtilities.isEventDispatchThread(Unknown Source)
at javax.swing.JComponent.revalidate(Unknown Source)
at javax.swing.JTable.resizeAndRepaint(Unknown Source)
at javax.swing.JTable.sortedTableChanged(Unknown Source)
at javax.swing.JTable.sorterChanged(Unknown Source)
at javax.swing.RowSorter.fireRowSorterChanged(Unknown Source)
at javax.swing.RowSorter.fireRowSorterChanged(Unknown Source)
at javax.swing.DefaultRowSorter.sort(Unknown Source)
at sun.swing.FilePane$DetailsTableRowSorter.access$1301(Unknown Source)
at sun.swing.FilePane$DetailsTableRowSorter$1.call(Unknown Source)
at sun.swing.FilePane$DetailsTableRowSorter$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Any operation performed in the JFileChooser after this exception will generate the same exception & no action is performed. I'm using Java 1.6.0_24. Strangely, this is happening only in client-server mode. Staand-alone is working fine.
Please provide some urgent inputs to this problem
Thanks
DilipThanks 4 d reply mKorbel, I'm not creating a TableModel. I'm just creating a JFileChooser as shown below.
JFileChooser fileChooser = new JFileChooser(location);
fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
fileChooser.setMultiSelectionEnabled(false);
fileChooser.setDialogTitle("Choose File");
if (fileChooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION)
Now, the scenario is to bringup the FileChooser, go to Details view, apply sort on any column. This action creates the mentioned NullPointerException. -
JTabbedPane: Exception occurred during event dispatching:
Hi,
I have a JTabbedPane where the tabs can be added dynamically by the method:
private void addNewTab(JTable aTable) throws java.lang.NullPointerException
final JTable t = aTable;
Thread addTab = new Thread()
public void run()
JScrollPane scroller = new JScrollPane();
JTable table;
if (t==null)
table = new JTable(columns, 0);
else
table = t;
table.setColumnsEditable(colEditable);
cachedTables.addElement(table);
scroller.getViewport().setView(table);
jtp.insertTab("Tab " + cachedTables.size(), null, scroller, "Tab", cachedTables.size()-1);
jtp.updateUI();
SwingUtilities.invokeLater(new Runnable()
public void run()
jtp.setSelectedIndex(cachedTables.size()-1);
jtp.validate();
addTab.start();
The problem is that occasionally (20% of the times) I receive this exception:
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTabbedPaneUI.rotateInsets(BasicTabbedPaneUI.java:1159)
at javax.swing.plaf.basic.BasicTabbedPaneUI.getTabAreaInsets(BasicTabbedPaneUI.java:951)
at javax.swing.plaf.basic.BasicTabbedPaneUI.calculateTabAreaHeight(BasicTabbedPaneUI.java:924)
at javax.swing.plaf.basic.BasicTabbedPaneUI.paintContentBorder(BasicTabbedPaneUI.java:637)
at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(BasicTabbedPaneUI.java:358)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:39)
at javax.swing.JComponent.paintComponent(JComponent.java:395)
at javax.swing.JComponent.paint(JComponent.java:687)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3878)
at javax.swing.JComponent._paintImmediately(JComponent.java:3821)
at javax.swing.JComponent.paintImmediately(JComponent.java:3672)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:124)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Does none know, how I can solve the problem?
Thanks,
Diego.Fix the NullPointerException. The stack trace tells you the line that caused the problem.
-
Exception occurred during event dispatching:java.lang.NoSuchMethodError
Hello,
We have upgraded to the latest Oracle Application Server version 10.1.2.3.0 and the webutil version is 1.0.6.
But we face the following error while accessing the web link. Following message captured from Java Console.
Please suggest if you have any solutions/idea about this error. Thanks !
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
Maximum size: 50 MB
Compression level: 0----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Downloading http://si02938.in.irt.com:7778/forms/java/frmall_jinit.jar to JAR cacheDownloading http://si02938.in.irt.com:7778/forms/java/frmwebutil.jar to JAR cacheDownloading http://si02938.in.irt.com:7778/forms/java/jacob.jar to JAR cacheDownloading http://si02938.in.irt.com:7778/forms/java/FileInformation.jar to JAR cacheDownloading cacheproxyHost=nullproxyPort=0connectMode=HTTP, native.
Forms Applet version is : 10.1.2.3
Exception occurred during event dispatching:java.lang.NoSuchMethodError at oracle.forms.webutil.common.VBeanCommon.init(VBeanCommon.java:281) at oracle.forms.handler.UICommon.instantiate(Unknown Source) at oracle.forms.handler.UICommon.onCreate(Unknown Source) at oracle.forms.handler.JavaContainer.onCreate(Unknown Source) at oracle.forms.engine.Runform.onCreateHandler(Unknown Source) at oracle.forms.engine.Runform.processMessage(Unknown Source) at oracle.forms.engine.Runform.processSet(Unknown Source) at oracle.forms.engine.Runform.onMessageReal(Unknown Source) at oracle.forms.engine.Runform.onMessage(Unknown Source) at oracle.forms.engine.Runform.processEventEnd(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Edited by: user12233243 on Nov 16, 2009 10:28 PM
Edited by: user12233243 on Nov 16, 2009 10:29 PMhi
read the following configuration i hope it will help u.
How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
Solution
Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
here are steps to get a small test form running, using WebUtil 1.06.
Note: [OraHome] is used as an alias for your real oDS ORACLE_HOME.
Feel free to copy this note to a text editor, and do a global find/replace on
[OraHome] with your actual value (no trailing slash). Then it is easy to
copy/paste actual commands to be executed from the note copy.
1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
2) Copy or move jacob.jar and jacob.dll
[JacobStage] is the folder where you extracted Jacob, and will end in ...\jacob_18
cd [JacobStage]
copy jacob.jar [OraHome]\forms\java\.
copy jacob.dll [OraHome]\forms\webutil\.
The Jacob staging area is no longer needed, and may be deleted.
3) Sign frmwebutil.jar and jacob.jar
Open a DOS command prompt.
Add [OraHome]\jdk\bin to the PATH:
set PATH=[OraHome]\jdk\bin;%PATH%
Sign the files, and check the output for success:
[OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\frmwebutil.jar
[OraHome]\forms\webutil\sign_webutil [OraHome]\forms\java\jacob.jar
4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
you may skip this step. Otherwise,
Create a schema to hold the WebUtil stored code, and privileges needed to
connect and create a stored package. Schema name "WEBUTIL" is recommended
for no reason other than consistency over the user base.
Open [OraHome]\forms\create_webutil_db.sql in a text editor, and delete or comment
out the EXIT statement, to be able to see whether the objects were created witout
errors.
Start SQL*Plus as SYSTEM, and issue:
CREATE USER webutil IDENTIFIED BY [password]
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp;
GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
CONNECT webutil/[password]@[connectstring]
@[OraHome]\forms\create_webutil_db.sql
-- Inspect SQL*Plus output for errors, and then
CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
Reconnect as SYSTEM, and issue:
grant execute on webutil_db to public;
5) Modify [OraHome]\forms\server\default.env, and append [OraHome]\jdk\jre\lib\rt.jar
to the CLASSPATH entry.
6) Start the OC4J instance
7) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
It is important to generate the PLX, to avoid the FRM-40039 discussed in
Note 303682.1
If the PLX is not generated, the Webutil.pll library would have to be attached with
full path information to all forms wishing to use WebUtil. This is NOT recommended.
8) Create a new FMB.
Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
There is no need to Subclass the WebutilConfig object.
Attach the Webutil.pll Library, and remove the path.
Add an ON-LOGON trigger with the code
NULL;
to avoid having to connect to an RDBMS (optional).
Create a new button on a new canvas, with the code
show_webutil_information (TRUE);
in a WHEN-BUTTON-PRESSED trigger.
Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
the "Application Server URL" is empty.
Then append "?config=webutil" at the end, so you end up with a URL of the form
http://server:port/forms/frmservlet?config=webutil
10) Run your form.
If its Correct/Helpful please mark it thanks.
Sarah
Maybe you are looking for
-
SQL*Loader and pipe on unix
On unix is it possible to pipe the data to be loaded in to SQL*Loader instead of reading it from file? I have a program that generates data that is to be loaded, and it is a bit waste of time to first save it to file, just to read it back in.
-
IPad reboots itself and thinks it needs to be restored as an iPhone
Help! My iPad keeps rebooting itself every few minutes (if I am trying to use it). It tells me that the iPhone can't make or receive calls(?)and that I need to restore from iTunes at www.apple.com/support. Obviously the iPad can't make or receive cal
-
I have Adobe Acrobat version 11.0.0 installed with Adobe CC. I cannot download PDFs from the internet (in this case from PubMed National Library of Medicine). If I try to do this I get a popup message saying that "ADOBE ACROBAT NPAPI PLUG-IN, VERS
-
What do you suggest? Given that not all chargers work for the 3G (only the firewire seem to work), do I need a car charger with a firewire connector? This one seems okay and is made by Griffin: http://www.amazon.com/Griffin-Technology-PowerPod-Firewi
-
Hi gurus, Can anyone tell me the functional tables used in developing a report to get the Customer/Customer group wise sales and quantity. Thanks Sandeep.