Hi, Can you search "java.lang.NullPointerException" and paste the full log of the exception ?
-Wei On Thu, Feb 13, 2025 at 9:37 AM Md Mosharaf Hossain < mosharaf.hoss...@bol-online.com> wrote: > Hi @Wei ZHOU <ustcweiz...@gmail.com> > The following report might help which I got as an error while accessing > the host. Please review the log and guide me to resolve. > > > 2025-02-13 14:33:37,395 DEBUG [c.c.a.q.QueryManagerImpl] > (qtp364604394-2433:ctx-93c55557 ctx-0bef80ad ctx-5ce8a856) (logid:89bc4212) > >>>Searching for hosts>>> > 2025-02-13 14:33:37,412 DEBUG [c.c.a.q.QueryManagerImpl] > (qtp364604394-2433:ctx-93c55557 ctx-0bef80ad ctx-5ce8a856) (logid:89bc4212) > >>>Generating Response>>> > 2025-02-13 14:33:37,871 ERROR [c.c.a.ApiServer] > (qtp364604394-2433:ctx-93c55557 ctx-0bef80ad ctx-5ce8a856) (logid:89bc4212) > unhandled exception executing api command: [Ljava > .lang.String;@631ae634 > > > Regards > Mosharaf Hossain > Manager, Product Development > Bangladesh Online (BOL) > > Level 8, SAM Tower, Plot 4, Road 22, Gulshan 1, Dhaka 1212, Bangladesh > Tel: +880 9609 000 999, +880 2 58815559, Ext: 14191, Fax: +880 2 2222 95757 > Cell: +880 1787 680828, Web: www.bol-online.com > > > > On Thu, Feb 13, 2025 at 11:42 AM Md Mosharaf Hossain < > mosharaf.hoss...@bol-online.com> wrote: > >> Hi Wei >> Are you wanting to search the keyword "Exception" in the log. There are >> several entry of "exception" in the log file. >> What shall I need to do to proceed further? >> >> *Some exception log: * >> 2025-02-13 10:24:38,283 DEBUG [c.c.u.d.GenericDaoBase] >> (qtp364604394-2335:ctx-daa415e4 ctx-1e82f184) (logid:9d8686b6) >> ClassCastException when casting value to String. Setting the value of the >> object directly. >> 2025-02-13 10:24:38,283 DEBUG [c.c.u.d.GenericDaoBase] >> (qtp364604394-2335:ctx-daa415e4 ctx-1e82f184) (logid:9d8686b6) >> ClassCastException when casting value to String. Setting the value of the >> object directly. >> java.lang.NullPointerException >> java.lang.NullPointerException >> 2025-02-13 10:34:23,422 DEBUG [c.c.u.d.GenericDaoBase] >> (qtp364604394-2321:ctx-f41289d9 ctx-fc56cd3f) (logid:d6dfb17c) >> ClassCastException when casting value to String. Setting the value of the >> object directly. >> 2025-02-13 10:34:23,422 DEBUG [c.c.u.d.GenericDaoBase] >> (qtp364604394-2321:ctx-f41289d9 ctx-fc56cd3f) (logid:d6dfb17c) >> ClassCastException when casting value to String. Setting the value of the >> object directly. >> 2025-02-13 10:34:23,422 DEBUG [c.c.u.d.GenericDaoBase] >> (qtp364604394-2321:ctx-f41289d9 ctx-fc56cd3f) (logid:d6dfb17c) >> ClassCastException when castin >> >> Regards >> Mosharaf Hossain >> Manager, Product Development >> Bangladesh Online (BOL) >> >> Level 8, SAM Tower, Plot 4, Road 22, Gulshan 1, Dhaka 1212, Bangladesh >> Tel: +880 9609 000 999, +880 2 58815559, Ext: 14191, Fax: +880 2 2222 >> 95757 >> Cell: +880 1787 680828, Web: www.bol-online.com >> >> >> >> On Wed, Feb 12, 2025 at 4:08 PM Wei ZHOU <ustcweiz...@gmail.com> wrote: >> >>> Hi, >>> >>> Your log does not contain any log for listing hosts. >>> Can you check "Exception" in the log ? >>> >>> >>> >>> On Wed, Feb 12, 2025 at 10:01 AM Md Mosharaf Hossain < >>> mosharaf.hoss...@bol-online.com> wrote: >>> >>>> Hi Wei >>>> >>>> The requested log is attached for your review. Please check it and let >>>> me know if you require any further information. >>>> >>>> cloudstack-management-server_10 Feb 2025.log >>>> <https://drive.google.com/open?id=1weLLgB9ib_T4ddjTvmBr8zkb8cyIKpJg> >>>> >>>> >>>> Regards >>>> Mosharaf Hossain >>>> Manager, Product Development >>>> Bangladesh Online (BOL) >>>> >>>> >>>> >>>> >>>> On Mon, Feb 10, 2025 at 2:20 PM Md Mosharaf Hossain < >>>> mosharaf.hoss...@bol-online.com> wrote: >>>> >>>>> Hi >>>>> I have attached logs from the management server, generated while >>>>> attempting to access the host list. Please review them. >>>>> >>>>> >>>>> >>>>> Regards >>>>> Mosharaf Hossain >>>>> Manager, Product Development >>>>> Bangladesh Online (BOL) >>>>> >>>>> Level 8, SAM Tower, Plot 4, Road 22, Gulshan 1, Dhaka 1212, Bangladesh >>>>> Tel: +880 9609 000 999, +880 2 58815559, Ext: 14191, Fax: +880 2 2222 >>>>> 95757 >>>>> Cell: +880 1787 680828, Web: www.bol-online.com >>>>> >>>>> >>>>> >>>>> On Mon, Feb 10, 2025 at 1:50 PM Wei ZHOU <ustcweiz...@gmail.com> >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> The management server log is located >>>>>> at /var/log/cloudstack/management/management-server.log >>>>>> >>>>>> >>>>>> -Wei >>>>>> >>>>>> >>>>>> On Mon, Feb 10, 2025 at 8:47 AM Md Mosharaf Hossain < >>>>>> mosharaf.hoss...@bol-online.com> wrote: >>>>>> >>>>>> > What type of log you need? >>>>>> > >>>>>> > >>>>>> > Regards >>>>>> > Mosharaf Hossain >>>>>> > Manager, Product Development >>>>>> > Bangladesh Online (BOL) >>>>>> > >>>>>> > Level 8, SAM Tower, Plot 4, Road 22, Gulshan 1, Dhaka 1212, >>>>>> Bangladesh >>>>>> > Tel: +880 9609 000 999, +880 2 58815559, Ext: 14191, Fax: +880 2 >>>>>> 2222 95757 >>>>>> > Cell: +880 1787 680828, Web: www.bol-online.com >>>>>> > >>>>>> > >>>>>> > >>>>>> > On Mon, Feb 10, 2025 at 1:27 PM Wei ZHOU <ustcweiz...@gmail.com> >>>>>> wrote: >>>>>> > >>>>>> > > Hi, >>>>>> > > >>>>>> > > Can you share some logs ? >>>>>> > > >>>>>> > > >>>>>> > > -Wei >>>>>> > > >>>>>> > > On Sun, Feb 9, 2025 at 12:06 PM Md Mosharaf Hossain < >>>>>> > > mosharaf.hoss...@bol-online.com> wrote: >>>>>> > > >>>>>> > > > Dear Users: >>>>>> > > > >>>>>> > > > I hope this message finds you well. I am currently using >>>>>> CloudStack >>>>>> > > > version 4.19.1.1 and have four clusters set up in my >>>>>> environment. >>>>>> > > Recently, >>>>>> > > > I have encountered an issue while trying to list hosts in >>>>>> *Cluster 1*. >>>>>> > > > >>>>>> > > > When attempting to list the hosts, I receive a *500 Internal >>>>>> Server >>>>>> > > Error*. >>>>>> > > > This issue is specific to Cluster 1, as the other clusters are >>>>>> > > functioning >>>>>> > > > as expected. I have tried troubleshooting the issue by checking >>>>>> the >>>>>> > logs >>>>>> > > > and ensuring that the hosts in Cluster 1 are properly >>>>>> connected, but >>>>>> > the >>>>>> > > > problem persists. >>>>>> > > > >>>>>> > > > Here are some additional details that might help in diagnosing >>>>>> the >>>>>> > issue: >>>>>> > > > >>>>>> > > > - >>>>>> > > > >>>>>> > > > *CloudStack Version*: 4.19.1.1 >>>>>> > > > - >>>>>> > > > >>>>>> > > > *Number of Clusters*: 4 >>>>>> > > > - >>>>>> > > > >>>>>> > > > *Affected Cluster*: Cluster 1 >>>>>> > > > - >>>>>> > > > >>>>>> > > > *Error Message*: 500 Internal Server Error >>>>>> > > > >>>>>> > > > Could you please provide guidance on how to resolve this issue? >>>>>> Any >>>>>> > > > suggestions or steps to further investigate the problem would be >>>>>> > greatly >>>>>> > > > appreciated. >>>>>> > > > >>>>>> > > > Thank you in advance for your support. I look forward to your >>>>>> response. >>>>>> > > > >>>>>> > > > >>>>>> > > > CloudStack login -> Infrastructure -> Host: SHowing the below >>>>>> error >>>>>> > > > [image: image.png] >>>>>> > > > >>>>>> > > > >>>>>> > > > >>>>>> > > > >>>>>> > > > Regards >>>>>> > > > Mosharaf Hossain >>>>>> > > > Manager, Product Development >>>>>> > > > Bangladesh Online (BOL) >>>>>> > > > >>>>>> > > > >>>>>> > > >>>>>> > >>>>>> >>>>>