-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Star Printer throwing Null pointer exception on connecting #19
Comments
@zaibniazinnowi Could you please share your implementation code for the part that initialises the printer and for the part where this exception occurs? |
Hi @bandit-ibayashi
|
@zaibniazinnowi Thank you for sharing your information. |
|
@zaibniazinnowi We are checking our library with your information, but we haven't identified the root cause yet. |
@Tatsuki-Yamamoto2731 |
@zaibniazinnowi Thank you very much. |
@Tatsuki-Yamamoto2731 P.S: We need to resolve this issue at highest priority as it keeps popping again and again. |
@Tatsuki-Yamamoto2731 Coroutine 1: PrinterA.init() Coroutine 1: Open failed. below is the code to initialize printer in co-routines Moreover, doing this [#9100 Data Timeout] (#28 (comment)) would help to fix the above issue? |
@zaibniazinnowi I think this issue #19 should be discussed about the Null pointer exception problem. Is the Null pointer exception problem resolved? |
@Tatsuki-Yamamoto2731 #28 is resolved by updating printer configuration. I have added another comment related to Portal is not logging and here is the detail comment |
@zaibniazinnowi |
@Tatsuki-Yamamoto2731 |
@zaibniazinnowi Sorry for the late response. According to you, SDK is throwing following exception while initializing Printer object. |
Description
On initializing Printers with following inforamtion
Interfactype MacAddress 001162332406 and name :MCP31 (STR-001)
Interfactype MacAddress 001162332404 and name :MCP31 (STR-001)
SDK is throwing following exception while initializing Printer object
Attempt to invoke interface method 'boolean com.starmicronics.stario10.rawport.c.a(com.starmicronics.stario10.InterfaceType, java.lang.String)
This exception is thrown for multiple printers all information is added above.
Your device where the bug occurs
Your printer
com.starmicronics:stario10:1.4.0
LAN (Mac Address)
Additional context
This issue can be recovered only when we clear the app storage or reinstalling the app, discover printer and then its start printing.
The text was updated successfully, but these errors were encountered: