I'm new to the L2J community but I've managed to get a high five server up and running.
My only problem is that the community board doesn't seem to be working, neither through pressing ALT+B or accessing it from the system menu.
The entire window doesn't show up.
The only feedback it gives me is this error:
Client: [Character: Afterburn[268482041] - Account: afterburn - IP: 127.0.0.1] - Failed running: [C] 5E RequestShowBoard ; null
java.lang.NullPointerException
at handlers.communityboard.HomeBoard.parseCommunityBoardCommand(HomeBoard.java:62)
at com.l2jserver.gameserver.handler.CommunityBoardHandler.handleParseCommand(CommunityBoardHandler.java:123)
at com.l2jserver.gameserver.network.clientpackets.RequestShowBoard.runImpl(RequestShowBoard.java:44)
at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:69)
at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1133)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
So naturally I looked at line 62 in HomeBoard.java which is this line of code:
html = html.replaceAll("%fav_count%", String.valueOf(getFavoriteCount(activeChar)));
I was hoping to get some help because I've been googling for about 2 days now without any results.
Thanks in advance.
Edit:
So since it's a null pointer exception I tried looking at the next file in the stack trace (CommunityBoardHandler.java) but I couldn't find it anywhere, so I'm guessing that I'm missing some files.
https://jsoft.top/
here is an example, cms uses html pages.
Front-end you use your own, if you have a pure static template (html/css/js) I can adapt it.
If you are interested, I can give access to the admin panel to study the functionality
Question
Afterburn
Hello,
I'm new to the L2J community but I've managed to get a high five server up and running.
My only problem is that the community board doesn't seem to be working, neither through pressing ALT+B or accessing it from the system menu.
The entire window doesn't show up.
The only feedback it gives me is this error:
So naturally I looked at line 62 in HomeBoard.java which is this line of code:
I was hoping to get some help because I've been googling for about 2 days now without any results.
Thanks in advance.
Edit:
So since it's a null pointer exception I tried looking at the next file in the stack trace (CommunityBoardHandler.java) but I couldn't find it anywhere, so I'm guessing that I'm missing some files.
Anyone know where to get em?
Edited by Afterburn6 answers to this question
Recommended Posts