MAX Icon error during installation
Incident Properties
Question
Hi,
We're seeing an issue at a customer site with this error being returned during installation:
ERROR: -- install -- ERR_APP_INSTALL_ERROR :: Regist Home Icon failed ...MAZ Home Icon :: ERR_NOT_RECOGNIZED :: Regist Home Icon failed ... MAX Home Icon ::
We don't know what would cause this error.
Thanks,
Nick.
Xlet issues with native apps and associated methods
Incident Properties
Question
Support
Our xlet for authentication is just about ready but whilst every component and method can work I have issues across the entire xlet and could really benefit from a short Skype call with someone who can advise me of what could be causing the problems I am encountering. and If I need to amend the approach to any of the methods/functions in any way.
The problems are detailed below:
Issue 1 - Hard Keys only work when our xlet is active
Issue 2 - Timer only works whilst our xlet is active
Both of which are required to logout the current user but how does this occur when the user may be using the native copy, scan or other applications? I appreciate our xlet falls into paused state but surely there needs to be a background process that can handle and respond to both timer and hardkey events.
Issue 3 - Calling a native application after a user has authenticated works sometimes and fails sometimes. I cannot understand this behavior as authentication processing is the same every time and so is the call to the native app (only tested on copy)
Issue 4 - Job event listeners seem to work if copy is launched directly from our xlet but not if the user authenticates and selects the native copy app via the HOME screen. They can do this once authenticated as the panel is unlocked.
Issue 5 - After authentication and launching the native copy application directly, I invoked a single page copy. The copy was produced, the copyjob event was raised inside the xlet but as soon as the event had fired the SET KEY CARD (Copier) was screen displayed. I am unsure why this happened as the user was authenticated and had full access granted via permissions for all the native applications. I hadn't set and haven't found how to set limitations on how many copies a user can make.
Issue 6 - Unlocking and locking the panel correctly and at the correct time during the xlet lifecycle.
Whilst I have absolutely no problem writing the Java code, I have never seen a Ricoh Java authentication application running and therefore am a little bit lost as to what needs to be defined etc and exactly what and how a user selects functions/apps, uses them and logs out successfully. I have trawelled through documentation and snippets of code but these don't really provide me with information surrounding the when, where and how certain methods should be defined and called etc.
Currently a user can only log out from the hard key when our xlet is active. The timer only logs the user out (if idle for 2 mins) when our xlet is active etc.
In short I have got everything working but not all functions together in the flow of the application and I really need to try and get a version out this week if possible.
Please could you take the time to read through all of the above issues stated and let me know a suitable time to discuss over skype (I am UK time) as I am certain these issues can be overcome fairly easily with the right information or pointers in the right direction and are probably scope related issues.
I look forward to hearing from you.
Best regards
Nick
Screen switching
Incident Properties
Question
Support
I also have found a slight problem with screen switching.
I have called the native copy application from successful authentication and it works but it is very intermittent. In fact it fails more times than it works and I receive an unknown source.
Below is a snippet from the cygwin output:
[stderr] at jp.co.ricoh.dsdk.panel.Button.processActionEvent(Unknown Source)
[stderr] at jp.co.ricoh.dsdk.panel.Button.processEvent(Unknown Source)
[stderr] at jp.co.ricoh.dsdk.panel.Button.fire(Unknown Source)
[stderr] at jp.co.ricoh.dsdk.panel.Component$MultiEventHandlerImpl.exec(Unknown Source)
[stderr] at jp.co.ricoh.dsdk.core.manager.EventRunner$Dispatcher.processEvent(Unknown Source)
[stderr] at jp.co.ricoh.dsdk.core.manager.EventRunner$Dispatcher.run(Unknown Source)
[stderr] Caused by: jp.co.ricoh.dsdk.system.GetOwnerShipResultException: It failed in the display switch response.
[stderr] at jp.co.ricoh.dsdk.system.OperationPanelGetter.yieldOperationPanelTo(Unknown Source)
[stderr] at jp.co.ricoh.dsdk.system.OperationPanelGetter.yieldOperationPanelTo(Unknown Source)
Please can you shed some light on what may be causing this to work and fail intermittently.
My method to get the shortcut
private Shortcut getShortcut()
{
List copyShortcutList = XletUtils.getShortcuts(Activator.mainContext, AppType.COPY);
Shortcut shortcut = null;
Iterator it = copyShortcutList.iterator();
while (it.hasNext()) {
shortcut = (Shortcut) it.next();
break;
}
return shortcut;
}
Method call:
XletUtils.switchDisplay(Activator.mainContext, getShortcut());
It is surrounded by try / catch and I break on the first iteration as I was only expecting one native copy app.
A speedy response on this would be greatly appreciated.
Many thanks and best regards
Nick
Hard Key event not being received
Incident Properties
Question
Hi Charles
I think I am almost there now but I do have aslight problem however.
I cannot seem to get the hardkey events working. I have slightly updated snippet of the original example.
Where should this be declare within the xlet? And should there be a public or private class scope declaration of both the
OperationPanel devicePanel
KeyAdapter keyListener
I am sure this must be a scope issue but I am unsure where these need to be declared.
If you could look into this fairly quickly and give me a reply it would be greatly appreciated as I would like to try and get this complete over the weekend.
Taken from the following:
OperationPanel devicePanel = OperationPanel.getInstance();
KeyAdapter keyListener = new KeyAdapter(){
// KeyPressed() method should return within 5 sec.
public void keyPressed(KeyEvent ke) {
switch(ke.getKeyCode()) {
case KeyEvent.KEY_LOGIN_OUT : // Event when Login/Logout button is pressed.
if(econtext.isLogin()) {
// Call ExternalLoginContext#logout().
}
break;
}
}
};
This was taken from section 12 of the ExternalLoginModule API for cost recovery solution manual
Many thanks and best regards
Nick
How to make reverse query in 5200
Incident Properties
Question
Hi Charles,
I've a MFP 5200 and i need that it's worked with a web service, but when i installed the application on my emulator it don't worked. I guess that this occurs because lack a class: 'java.beans.introspectionexception'.
Detail, my java compiler is a 1.4.
The log error:
[SDK_P_XLETM]statechange exception === [stderr] java.lang.NoClassDefFoundError: java.beans.IntrospectionException
[stderr] at org.apache.axis.utils.BeanUtils.getPropertyDescriptors(BeanUtils.java:73)
[stderr] at org.apache.axis.utils.BeanUtils.getPd(BeanUtils.java:63)
[stderr] at org.apache.axis.description.TypeDesc.makePropertyDescriptors(TypeDesc.java:460)
[stderr] at org.apache.axis.description.TypeDesc.getPropertyDescriptors(TypeDesc.java:439)
[stderr] at org.apache.axis.encoding.ser.BeanSerializerFactory.init(BeanSerializerFactory.java:56)..........
Regards,
Alan Pasini
Error installing rxsp client
Incident Properties
Question
I am trying to install the RXSP Servlet but everytime I install it an error is thrown "STATE_REBOOT_ERROR ERR_OFFLINE_TRANSFER_FAILED OFFLINE_FAILURE" and since the reboot didn't happen when the application attempts to change the SP settings an IO error is thrown. java.io.IOException: rxspServlet not found. Once the MFP has been restarted the changing of the SP settings work properly. Is there any additional information on the error ERR_OFFLINE_TRANSFER_FAILED OFFLINE_FAILURE?
Error with images
Incident Properties
Question
Hi Charles,
I have a problem with the MPF C4502, I installed the applications and it's started, but it don't show the images.
Detail, in emulator the same image is showed.
see my log:
[stderr] jp.co.ricoh.dsdk.panel.ImageResourceAccessException: Error data size to reduct image.
[stderr] at jp.co.ricoh.dsdk.panel.ImageItemResource.create(ImageItemResource.java:311)
[stderr] at jp.co.ricoh.dsdk.panel.image.ImageResource.create(ImageResource.java:205)
[stderr] at jp.co.ricoh.dsdk.panel.ImageItem.getImageHandles(ImageItem.java:722)
[stderr] at jp.co.ricoh.dsdk.panel.ImageItem.updateData(ImageItem.java:518)
[stderr] at jp.co.ricoh.dsdk.panel.Window.repaint(Window.java:928)
[stderr] at jp.co.ricoh.dsdk.panel.Window.repaint(Window.java:935)
[stderr] at speed.uri.UriErechim$JpegListener.scanJobNoMoreEvents(UriErechim.java:2508)
[stderr] at jp.co.ricoh.dsdk.core.function.ScanJobImpl.fire(ScanJobImpl.java:1059)
[stderr] at jp.co.ricoh.dsdk.core.function.ScanJobImpl.access$200(ScanJobImpl.java:132)
[stderr] at jp.co.ricoh.dsdk.core.function.ScanJobImpl$JobEventHandler.exec(ScanJobImpl.java:2184)
[stderr] at jp.co.ricoh.dsdk.core.manager.EventRunner$Dispatcher.processEvent(EventManager.java:668)
[stderr] at jp.co.ricoh.dsdk.core.manager.EventRunner$Dispatcher.run(EventManager.java:601)
Regards,
Alan Pasini
SDK1-3
Incident Properties
Question
When should I be using SDK1, SDK2, or SDK3 for the SP code function priority?
After authentication
Incident Properties
Question
Support
I need to understand how to open the panel from the xlet once authentication has succeeded. When I say panel I refer to the panel with the icons which is displayed when the device boots if no sdkj apps are installed and take priority. The native Copy, Scan, fax , etc
Currently our authentication xlet authenticates the user against our ROI web service and then based on the returned object,grants permissions and limits on the device but that is where I am a little stuck as to what actually needs to occur next. Currently the xlet just remains on the final authentication screen. The device has all the listeners applied for copy, scan, print, fax etc. but I do not know how to grant access to them
I have applied the panel locking and unlocking and started the timer within the xlet and the xlet needs to be alive but how do I handle the screen and provide the native apps whilst the xlet stays active and running in the background just listening?
Best regards
Nick