question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Folders are not supported

See original GitHub issue

In Jenkins it’s quite common to see CloudBees Folders Plugin being used to structure projects. If there is at least one folder present - Jenkins Control Plugin causing exception:

` null java.lang.NullPointerException at org.codinjutsu.tools.jenkins.model.Build.getStateIcon(Build.java:87) at org.codinjutsu.tools.jenkins.model.Job.getStateIcon(Job.java:75) at org.codinjutsu.tools.jenkins.view.JenkinsTreeRenderer.customizeCellRenderer(JenkinsTreeRenderer.java:64) at com.intellij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent(ColoredTreeCellRenderer.java:116) at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2807) at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1360) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1496) at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1288) at javax.swing.tree.VariableHeightLayoutCache.rebuild(VariableHeightLayoutCache.java:743) at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged(VariableHeightLayoutCache.java:644) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:3917) at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:580) at javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:365) at org.codinjutsu.tools.jenkins.view.BrowserPanel$4.run(BrowserPanel.java:203) at org.codinjutsu.tools.jenkins.util.GuiUtil.runInSwingThread(GuiUtil.java:50) at org.codinjutsu.tools.jenkins.view.BrowserPanel.setSortedByStatus(BrowserPanel.java:200) at org.codinjutsu.tools.jenkins.view.BrowserPanel.fillJobTree(BrowserPanel.java:497) at org.codinjutsu.tools.jenkins.view.BrowserPanel.access$900(BrowserPanel.java:65) at org.codinjutsu.tools.jenkins.view.BrowserPanel$LoadSelectedViewJob$1.run(BrowserPanel.java:581) at org.codinjutsu.tools.jenkins.util.GuiUtil.runInSwingThread(GuiUtil.java:50) at org.codinjutsu.tools.jenkins.view.BrowserPanel$LoadSelectedViewJob.onSuccess(BrowserPanel.java:578) at com.intellij.openapi.progress.impl.ProgressManagerImpl$1$2.run(ProgressManagerImpl.java:153) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:345) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:329) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

`

It can be related to #115

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
Harrysoncommented, Mar 23, 2017

This feature would be nice!

2reactions
javaking2013commented, Jul 12, 2017

I too would like to see folder support. You can get around this by setting the URL to the specific folder instead of the base Jenkins server. The only drawback would be that you can’t navigate to other folders. In my case that doesn’t matter.

Read more comments on GitHub >

github_iconTop Results From Across the Web

You cannot access shared files and folders or browse ...
Step 2: Make sure that File and Printer Sharing is not blocked by Windows Firewall · Click Start, click Run, type firewall. ·...
Read more >
Fix: Folder Upload is Not Supported by Your Browser
If your browser does not support folder upload, try updating it or uploading the folder with another browser or cloud storage app.
Read more >
error message- uploading folders to iCloud drive is not ...
error message- uploading folders to iCloud drive is not supported, though i am just uploading files and those are pictureerror message- ...
Read more >
Troubleshoot shared drives for your users - Google Help
Issues accessing files and folders in shared drives ... If a user can't create shared drives, their license might not support shared drives...
Read more >
Solved! - files not supported | Tom's Guide Forum
It means that they are not files that you can open. Either you don't have an app that opens said files, you are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found