Skip to content
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

插件加载失败 "javax.swing.JTable.getModel()" is null #70

Closed
crazy-zxx opened this issue Dec 1, 2023 · 5 comments
Closed

插件加载失败 "javax.swing.JTable.getModel()" is null #70

crazy-zxx opened this issue Dec 1, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@crazy-zxx
Copy link

Burpsuite版本: v2023.11.1.1

加载插件报错:
java.lang.NullPointerException: Cannot invoke "javax.swing.table.TableModel.addTableModelListener(javax.swing.event.TableModelListener)" because the return value of "javax.swing.JTable.getModel()" is null
at burp.theme.BurpTableUI.installListeners(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicTableUI.installUI(BasicTableUI.java:1441)
at com.formdev.flatlaf.ui.FlatTableUI.installUI(FlatTableUI.java:129)
at burp.theme.BurpTableUI.installUI(Unknown Source)
at java.desktop/javax.swing.JComponent.setUI(JComponent.java:730)
at java.desktop/javax.swing.JTable.setUI(JTable.java:3655)
at java.desktop/javax.swing.JTable.updateUI(JTable.java:3704)
at java.desktop/javax.swing.JTable.(JTable.java:707)
at java.desktop/javax.swing.JTable.(JTable.java:645)
at config.ConfigTable.(ConfigTable.java:37)
at burp.BurpExtender.registerExtenderCallbacks(BurpExtender.java:72)
at burp.Zcp.Zi(Unknown Source)
at burp.Zu1y.ZY(Unknown Source)
at burp.Zu11.lambda$initialiseOnNewThread$0(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:842)

@D2550
Copy link

D2550 commented Dec 7, 2023

11.2报错

java.lang.NullPointerException: Cannot invoke "javax.swing.table.TableModel.addTableModelListener(javax.swing.event.TableModelListener)" because the return value of "javax.swing.JTable.getModel()" is null
	at burp.theme.BurpTableUI.installListeners(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicTableUI.installUI(BasicTableUI.java:1429)
	at com.formdev.flatlaf.ui.FlatTableUI.installUI(FlatTableUI.java:129)
	at burp.theme.BurpTableUI.installUI(Unknown Source)
	at java.desktop/javax.swing.JComponent.setUI(JComponent.java:740)
	at java.desktop/javax.swing.JTable.setUI(JTable.java:3655)
	at java.desktop/javax.swing.JTable.updateUI(JTable.java:3704)
	at java.desktop/javax.swing.JTable.<init>(JTable.java:707)
	at java.desktop/javax.swing.JTable.<init>(JTable.java:645)
	at config.ConfigTable.<init>(ConfigTable.java:37)
	at burp.BurpExtender.registerExtenderCallbacks(BurpExtender.java:72)
	at burp.Zgyt.ZZ(Unknown Source)
	at burp.Zh2i.Zs(Unknown Source)
	at burp.Zh2m.lambda$initialiseOnNewThread$0(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1589)

@0xVIC
Copy link

0xVIC commented Dec 20, 2023

Same error:

java.lang.NullPointerException: Cannot invoke "javax.swing.table.TableModel.addTableModelListener(javax.swing.event.TableModelListener)" because the return value of "javax.swing.JTable.getModel()" is null
at burp.theme.BurpTableUI.installListeners(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicTableUI.installUI(BasicTableUI.java:1432)
at com.formdev.flatlaf.ui.FlatTableUI.installUI(FlatTableUI.java:129)
at burp.theme.BurpTableUI.installUI(Unknown Source)
at java.desktop/javax.swing.JComponent.setUI(JComponent.java:740)
at java.desktop/javax.swing.JTable.setUI(JTable.java:3655)
at java.desktop/javax.swing.JTable.updateUI(JTable.java:3704)
at java.desktop/javax.swing.JTable.(JTable.java:707)
at java.desktop/javax.swing.JTable.(JTable.java:645)
at config.ConfigTable.(ConfigTable.java:37)
at burp.BurpExtender.registerExtenderCallbacks(BurpExtender.java:72)
at burp.Zdh1.Zx(Unknown Source)
at burp.Zpvs.ZO(Unknown Source)
at burp.Zpvq.lambda$initialiseOnNewThread$0(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1623)

bit4woo added a commit that referenced this issue Dec 20, 2023
@bit4woo
Copy link
Owner

bit4woo commented Dec 20, 2023

已修复,可在此处下载对应jar包 https://github.com/bit4woo/knife/actions/runs/7273465081

@bit4woo bit4woo closed this as completed Dec 20, 2023
@qi7ip
Copy link

qi7ip commented Apr 8, 2024

Same error:

java.lang.NullPointerException: Cannot invoke "javax.swing.table.TableModel.addTableModelListener(javax.swing.event.TableModelListener)" because the return value of "javax.swing.JTable.getModel()" is null
at burp.theme.BurpTableUI.installListeners(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicTableUI.installUI(BasicTableUI.java:1432)
at com.formdev.flatlaf.ui.FlatTableUI.installUI(FlatTableUI.java:129)
at burp.theme.BurpTableUI.installUI(Unknown Source)
at java.desktop/javax.swing.JComponent.setUI(JComponent.java:740)
at java.desktop/javax.swing.JTable.setUI(JTable.java:3655)
at java.desktop/javax.swing.JTable.updateUI(JTable.java:3704)
at java.desktop/javax.swing.JTable.(JTable.java:707)
at java.desktop/javax.swing.JTable.(JTable.java:645)
at config.ConfigTable.(ConfigTable.java:37)
at burp.BurpExtender.registerExtenderCallbacks(BurpExtender.java:72)
at burp.Zdh1.Zx(Unknown Source)
at burp.Zpvs.ZO(Unknown Source)
at burp.Zpvq.lambda$initialiseOnNewThread$0(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1623)

https://github.com/bit4woo/knife/actions/runs/7273465081这个好像过期了

@bit4woo bit4woo changed the title 插件加载异常NullPointerException 插件加载失败 "javax.swing.JTable.getModel()" is null Apr 24, 2024
@bit4woo bit4woo added the bug Something isn't working label Apr 24, 2024
@bit4woo
Copy link
Owner

bit4woo commented Apr 24, 2024

这个问题已修复,下载最新构建的jar包方法如下:

访问Action页面
https://github.com/bit4woo/knife/actions
找到最新成功的构建
image
点击访问最新构建,找到jar包进行下载
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants