-
Bug
-
Resolution: Not an Issue
-
P2
-
None
-
1.0
-
x86
-
generic
From: "Raziuddin, Mohammed (Mohammed)" <###@###.###>
Original-From: "Raziuddin, Mohammed (Mohammed)" <###@###.###>
To: "'###@###.###'" <###@###.###>
Subject: [javasound] Exception in native during capture
Date: Mon, 25 Jan 1999 19:33:43 -0800
MIME-Version: 1.0
Hi,
I'm getting the following exception in a native method in JS when I release
the channel during a capture. I took the capture code out of the
Capture.java example. I spent a lot of time but could not figure out why
this is happening.
Any help would be greatly appreciated ...
Thanks,
Razi.
// My code output
Stopping audio in the audio manager
// After I call stop and release on the capture channel ...
CallToJavaStreamDestroy: 109835236: Failed to get method ID
Exception occurred during event dispatching:
java.lang.NoSuchMethodError: callbackCaptureStreamDestroy
at com.sun.media.sound.JSAudioInSystemDevice.nRelease(Native Method)
at
com.sun.media.sound.JSAudioSystemDevice.release(JSAudioSystemDevice.j
ava:210)
at
com.sun.media.sound.JSControlDevice.release(JSControlDevice.java:140)
at
com.sun.media.sound.JSControlDevice.releaseChannel(JSControlDevice.ja
va:278)
at com.sun.media.sound.JSChannel.release(JSChannel.java:208)
at
fwk.platforms.sce.win32.Win32AudioManager.stopAudio(Win32AudioManager
.java:238)
at
fwk.platforms.sce.win32.Win32AudioRecorder.dtmfKeyAction(Win32AudioRe
corder.java:225)
at
fwk.platforms.sce.win32.Win32DTMFReceiver.fireWin32ReceiverEvent(Win3
2DTMFReceiver.java:422)
at
fwk.platforms.sce.win32.Win32DTMFReceiver.addDtmfKey(Win32DTMFReceive
r.java:174)
at
fwk.platforms.sce.win32.Win32DTMFReceiver.buttonPressed(Win32DTMFRece
iver.java:366)
at
fwk.platforms.sce.win32.Win32DialogEventSupport.fireWin32DialogEvent(
Compiled Code)
at
fwk.platforms.sce.win32.Win32PhoneDialog$SymAction.actionPerformed(Wi
n32PhoneDialog.java:356)
at com.sun.java.swing.AbstractButton.fireActionPerformed(Compiled
Code)
at
com.sun.java.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:895)
at
com.sun.java.swing.DefaultButtonModel.fireActionPerformed(Compiled Co
de)
at
com.sun.java.swing.DefaultButtonModel.setPressed(DefaultButtonModel.j
ava:230)
at
com.sun.java.swing.plaf.basic.BasicButtonListener.mouseReleased(Basic
ButtonListener.java:156)
at java.awt.Component.processMouseEvent(Component.java:3126)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:1732)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1645)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java:714)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
-----
Date: Tue, 26 Jan 1999 01:07:18 -0800 (PST)
From: Kara Kytle <Kara.Kytle@Eng>
Subject: Re: [javasound] Exception in native during capture
To: ###@###.###
Cc: ###@###.###
MIME-Version: 1.0
Content-MD5: X7eyX0jEt2tj11DP/JHgDw==
It looks like something is going wrong in the JNI layer where we
call back up to Java from the native code.
Does the Capture example application run for you, or does it generate
the same exception? Also, can you provide some information on your
environment, including your:
-- operating system and version
-- JDK / JRE version
-- system processor speed
-- system RAM
Thanks,
kara
-----
From: "Raziuddin, Mohammed (Mohammed)" <###@###.###>
Original-From: "Raziuddin, Mohammed (Mohammed)" <###@###.###>
To: "'Kara Kytle'" <Kara.Kytle@Eng>
Subject: RE: [javasound] Exception in native during capture
Date: Tue, 26 Jan 1999 10:05:54 -0800
MIME-Version: 1.0
Hi Kara,
The capture example runs just fine. I ran it with the same JDK/JRE. But when
I moved it over to
the application that I'm developing, it started throwing this exception.
Here are details on my system:
> -- operating system and version: Nt 4.0
> -- JDK / JRE version: jdk 1.2
> -- system processor speed: 300MHz
-- system RAM: 64 Megs
Thanks,
Razi.
Original-From: "Raziuddin, Mohammed (Mohammed)" <###@###.###>
To: "'###@###.###'" <###@###.###>
Subject: [javasound] Exception in native during capture
Date: Mon, 25 Jan 1999 19:33:43 -0800
MIME-Version: 1.0
Hi,
I'm getting the following exception in a native method in JS when I release
the channel during a capture. I took the capture code out of the
Capture.java example. I spent a lot of time but could not figure out why
this is happening.
Any help would be greatly appreciated ...
Thanks,
Razi.
// My code output
Stopping audio in the audio manager
// After I call stop and release on the capture channel ...
CallToJavaStreamDestroy: 109835236: Failed to get method ID
Exception occurred during event dispatching:
java.lang.NoSuchMethodError: callbackCaptureStreamDestroy
at com.sun.media.sound.JSAudioInSystemDevice.nRelease(Native Method)
at
com.sun.media.sound.JSAudioSystemDevice.release(JSAudioSystemDevice.j
ava:210)
at
com.sun.media.sound.JSControlDevice.release(JSControlDevice.java:140)
at
com.sun.media.sound.JSControlDevice.releaseChannel(JSControlDevice.ja
va:278)
at com.sun.media.sound.JSChannel.release(JSChannel.java:208)
at
fwk.platforms.sce.win32.Win32AudioManager.stopAudio(Win32AudioManager
.java:238)
at
fwk.platforms.sce.win32.Win32AudioRecorder.dtmfKeyAction(Win32AudioRe
corder.java:225)
at
fwk.platforms.sce.win32.Win32DTMFReceiver.fireWin32ReceiverEvent(Win3
2DTMFReceiver.java:422)
at
fwk.platforms.sce.win32.Win32DTMFReceiver.addDtmfKey(Win32DTMFReceive
r.java:174)
at
fwk.platforms.sce.win32.Win32DTMFReceiver.buttonPressed(Win32DTMFRece
iver.java:366)
at
fwk.platforms.sce.win32.Win32DialogEventSupport.fireWin32DialogEvent(
Compiled Code)
at
fwk.platforms.sce.win32.Win32PhoneDialog$SymAction.actionPerformed(Wi
n32PhoneDialog.java:356)
at com.sun.java.swing.AbstractButton.fireActionPerformed(Compiled
Code)
at
com.sun.java.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:895)
at
com.sun.java.swing.DefaultButtonModel.fireActionPerformed(Compiled Co
de)
at
com.sun.java.swing.DefaultButtonModel.setPressed(DefaultButtonModel.j
ava:230)
at
com.sun.java.swing.plaf.basic.BasicButtonListener.mouseReleased(Basic
ButtonListener.java:156)
at java.awt.Component.processMouseEvent(Component.java:3126)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:1732)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1645)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java:714)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
-----
Date: Tue, 26 Jan 1999 01:07:18 -0800 (PST)
From: Kara Kytle <Kara.Kytle@Eng>
Subject: Re: [javasound] Exception in native during capture
To: ###@###.###
Cc: ###@###.###
MIME-Version: 1.0
Content-MD5: X7eyX0jEt2tj11DP/JHgDw==
It looks like something is going wrong in the JNI layer where we
call back up to Java from the native code.
Does the Capture example application run for you, or does it generate
the same exception? Also, can you provide some information on your
environment, including your:
-- operating system and version
-- JDK / JRE version
-- system processor speed
-- system RAM
Thanks,
kara
-----
From: "Raziuddin, Mohammed (Mohammed)" <###@###.###>
Original-From: "Raziuddin, Mohammed (Mohammed)" <###@###.###>
To: "'Kara Kytle'" <Kara.Kytle@Eng>
Subject: RE: [javasound] Exception in native during capture
Date: Tue, 26 Jan 1999 10:05:54 -0800
MIME-Version: 1.0
Hi Kara,
The capture example runs just fine. I ran it with the same JDK/JRE. But when
I moved it over to
the application that I'm developing, it started throwing this exception.
Here are details on my system:
> -- operating system and version: Nt 4.0
> -- JDK / JRE version: jdk 1.2
> -- system processor speed: 300MHz
-- system RAM: 64 Megs
Thanks,
Razi.