Good morning everyone

Not sure if reports like this should be included here or in the developer
mailing list, or if there is a way to check if issues such as this have
already been reported / fixed.

Running:  manufacturing/control/ShowProductionRun



   -
      - Main <https://192.168.1.201:8443/manufacturing/control/main>
      - JobShop
      <https://192.168.1.201:8443/manufacturing/control/FindProductionRun>
      - Routings
      <https://192.168.1.201:8443/manufacturing/control/FindRouting>
      - Routing Tasks
      <https://192.168.1.201:8443/manufacturing/control/FindRoutingTask>
      - Calendars
      <https://192.168.1.201:8443/manufacturing/control/FindCalendar>
      - Cost Calculations
      <https://192.168.1.201:8443/manufacturing/control/EditCostCalcs>
      - Bill Of Materials
      <https://192.168.1.201:8443/manufacturing/control/FindBom>
      - Manufacturing Rules
      
<https://192.168.1.201:8443/manufacturing/control/EditProductManufacturingRules>
      - MRP
      <https://192.168.1.201:8443/manufacturing/control/FindInventoryEventPlan>
      - Shipment Plans
      <https://192.168.1.201:8443/manufacturing/control/WorkWithShipmentPlans>
      - Reports
      <https://192.168.1.201:8443/manufacturing/control/ManufacturingReports>



   -
      - New Production Run
      <https://192.168.1.201:8443/manufacturing/control/CreateProductionRun>
      - New Routing
      <https://192.168.1.201:8443/manufacturing/control/EditRouting>
      - New Routing Task
      <https://192.168.1.201:8443/manufacturing/control/EditRoutingTask>



   -
      - Production Run Declaration
      
<https://192.168.1.201:8443/manufacturing/control/ProductionRunDeclaration?productionRunId=10013>
      - Actual Materials
      
<https://192.168.1.201:8443/manufacturing/control/ProductionRunActualComponents?productionRunId=10013>
      - Parties
      
<https://192.168.1.201:8443/manufacturing/control/productionRunParties?productionRunId=10013>
      - Assocs
      
<https://192.168.1.201:8443/manufacturing/control/ProductionRunAssocs?productionRunId=10013>
      - Content
      
<https://192.168.1.201:8443/manufacturing/control/ProductionRunContent?productionRunId=10013>
      - Actual Costs
      
<https://192.168.1.201:8443/manufacturing/control/ProductionRunCosts?productionRunId=10013>


[ID 10013]
Create
<https://192.168.1.201:8443/manufacturing/control/CreateProductionRun>

   - Production Run ID 10013



   -
      - Cancel
      - Quick Close
      - Link to Production Run
      
<https://192.168.1.201:8443/manufacturing/control/LinkProductionRun?productionRunId=10013>
      - Print (PDF)
      
<https://192.168.1.201:8443/manufacturing/control/PrintProductionRun?productionRunId=10013>
      -

      
<https://192.168.1.201:8443/manufacturing/control/PrintProductionRun?productionRunId=10013>



I get an error:

java.lang.RuntimeException: Error rendering included form named
[DependentWorkEfforts] at location
[component://manufacturing/widget/manufacturing/ProductionRunForms.xml]:
java.lang.NullPointerException: Cannot invoke
"org.w3c.dom.Element.getAttribute(String)" because "formElement" is
nulljava.lang.NullPointerException: Cannot invoke
"org.w3c.dom.Element.getAttribute(String)" because "formElement" is null


Investigation shows that in : JobshopScreens.xml.  the reference is to an
include form rather than an include grid (in trunk in
ProductionRunForms.xml the form has now been replaced with a grid - was a
form in 18.12.08 )


changing

<include-form name="DependentWorkEfforts"
to

<include-grid name="DependentWorkEfforts"

(referenced on lines 240, 352)

resolves the issue

thanks and kind regards

Ernest

Reply via email to